Ask Your Question

Error installing package mpir-2.4.0.p6

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

kksinfinity gravatar image

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

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 -0600 )edit

3 answers

Sort by ยป oldest newest most voted

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

tmonteil gravatar image

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

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

edit flag offensive delete link more

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

Jesustc gravatar image

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


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

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

Kamiccolo gravatar image

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

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 03:10:51 -0600

Seen: 450 times

Last updated: Apr 17 '13