Am Freitag, 13. Juli 2012 09:37:25 UTC+2 schrieb Jeroen Demeyer:
> On 2012-07-12 22:56, Jeremy Fehr wrote:
> 
> > Trying to build sage 5.1 on Debian Wheezy i686, Intel Core Duo T2400 (32
> 
> > bit). Relevant log files are attached.
> 
> I have no idea how this happened:
> 
> configure: error: ABI=32 is not among the following valid choices: standard
> 
> 
> 
> Could you try configuring and building *upstream* MPIR (either version
> 
> 2.4.0 from Sage or the latest 2.5.1):
> 
> http://mpir.org/

I have Ubuntu 12.04, an Intel Core Duo T2050 and I had this problem, too. The 
upstream versions built without problems, however.

The problem is that the Core Duo isn't detected/supported.
FYI: it is a little known fact, but there was a CPU named Core Duo /before/ the 
Core2 Duo, it even has its own Wikipedia page and it is still in use today.


$ ABI=32 ../../repos/mpir-2.5.1/configure --enable-gmpcompat --enable-shared \ 
                                          --enable-cxx --enable-static         
this is what spkg-install does for preconfiguration and fails with the same 
error.

$ ../../repos/mpir-2.5.1/configure --...
this results in $ABI='standard' (decided and output variables in config.log)
and builds without complaints (patched and 2.4, too), because 
$abilist='standard' by default. This indicates that $host_cpu='core' isn't 
detected in the configure script.
make check tests all pass btw.

A simple patch is to remove ABI from the export list in spkg-install:206 but I
don't know if this works for other systems. I have successfully built the 
current sage-5.3beta0 with that.

-- 
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to