Ask Your Question

Error installing package mpir-2.4.0.p6

asked 2012-08-23 03:10:51 -0500

kksinfinity gravatar image

updated 2013-05-28 05:01:37 -0500

tmonteil gravatar image


Extracting package /usr/local/sage-5.2/spkg/standard/mpir-2.4.0.p6.spkg -rw-r--r-- 1 1237 1237 3844522 Jul 25 14:46 /usr/local/sage-5.2/spkg/standard/mpir-2.4.0.p6.spkg Finished extraction

Host system: Linux knoppixmath 2.6.37 #5 SMP PREEMPT Wed Feb 16 12:04:25 UTC 2011 i686 GNU/Linux

C compiler: gcc C compiler version: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-systError installing package mpir-2.4.0.p6em-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-8)

configure: error: ABI=32 is not among the following valid choices: standard Error configuring MPIR (with CFLAGS unset)

edit retag flag offensive close merge delete


I think we need more details here. Were you building from scratch? What system, what prereqs?

kcrisman gravatar imagekcrisman ( 2012-08-24 09:35:06 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2013-03-05 08:34:48 -0500

tmonteil gravatar image

updated 2013-04-17 10:01:27 -0500

This problem is adressed at and will be fixed in the next 5.9 release.

edit flag offensive delete link more


I'm getting this issue with the Sage 7.5.1 release.

Geremia gravatar imageGeremia ( 2017-03-04 08:48:49 -0500 )edit

answered 2013-02-10 17:00:33 -0500

Kamiccolo gravatar image

updated 2013-02-11 04:08:25 -0500

Got the same error compiling Sagemath for 32bit Debian Wheezy on NOT 64bit capable system.

Jesustc solution worked.

Addition: Actually, it was PAE Enabled Linux kernel on Thinkpad T60 with Intel T2400...

edit flag offensive delete link more

answered 2012-11-03 12:21:16 -0500

Jesustc gravatar image

updated 2012-11-04 02:40:55 -0500


Try doing:

$ export ABI=standard

before compiling. It worked for me, with a similar problem.

It seems to be an issue about running a 32 bits OS in a 64 bits machine.


edit flag offensive delete link more


Unfortunately that didn't work for me.

Geremia gravatar imageGeremia ( 2017-03-04 08:48:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-08-23 03:10:51 -0500

Seen: 460 times

Last updated: Apr 17 '13