When building any of the 2.8.3.x releases on my 64-bit Opteron 246
running RHEL5, I encounter the following error during the compile of
the
sage-2.8.3.x module.
------
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Install file: "ZZ_pylong.h" as
"/scratch/sage-2.8.3/local/include/ZZ_pylong.h"
Install file: "ccobject.h" as "/scratch/sage-2.8.3/local/include/
ccobject.h"
Install file: "interrupt.h" as
"/scratch/sage-2.8.3/local/include/interrupt.h"
Install file: "mpn_pylong.h" as
"/scratch/sage-2.8.3/local/include/mpn_pylong.h"
Install file: "mpz_pylong.h" as
"/scratch/sage-2.8.3/local/include/mpz_pylong.h"
Install file: "ntl_wrap.h" as "/scratch/sage-2.8.3/local/include/
ntl_wrap.h"
Install file: "stdsage.h" as "/scratch/sage-2.8.3/local/include/
stdsage.h"
gcc -o interrupt.os -c -fPIC -I/scratch/sage-2.8.3/local/include
-I/scratch/sage-2.8.3/local/include/python2.5
-I/scratch/sage-2.8.3/local/include/NTL interrupt.c
In file included from
/scratch/sage-2.8.3/local/include/python2.5/Python.h:57,
                 from stdsage.h:35,
                 from interrupt.c:12:
/scratch/sage-2.8.3/local/include/python2.5/pyport.h:734:2: error:
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
scons: *** [interrupt.os] Error 1
------
The thing is, I'm pretty sure my glibc is current. gcc -v returns:
-----
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
-----
Alos, SAGE 2.8.2 compiles fine. And 2.8.3 runs fine from the Debian
binary.

Is this a misconfiguration on this machine, or something more serious?

Kiran


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to