Ask Your Question

Error installing package mpir-2.4.0.p6

asked 2012-08-23 10:10:51 +0200

kksinfinity gravatar image

updated 2023-01-10 00:01:08 +0200

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 16:35:06 +0200 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-03-05 15:34:48 +0200

tmonteil gravatar image

updated 2013-04-17 17:01:27 +0200

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 15:48:49 +0200 )edit

answered 2012-11-03 18:21:16 +0200

Jesustc gravatar image

updated 2012-11-04 09:40:55 +0200


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 15:48:19 +0200 )edit

answered 2013-02-11 00:00:33 +0200

Kamiccolo gravatar image

updated 2013-02-11 11:08:25 +0200

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

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 10:10:51 +0200

Seen: 968 times

Last updated: Apr 17 '13