[XML-SIG] [OT] Compiler problems

Lars Marius Garshol larsga@garshol.priv.no
12 Jan 2001 09:40:36 +0100


Whenever I try to compile anything at all using the Python 2.0 sources
I get this compilation error:

/usr/local/include/python2.0/pyport.h:390: #error "LONG_BIT definition appears wrong for platform (bad gcc config?)."


I'm using a stock RedHat 7.0 Linux system, except that I removed the
gcc 2.96 version that came with it (it caused problems compiling SP)
and replaced it with this:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/specs
gcc version 2.95.1 19990816/Linux (release)


Does anyone have any ideas as to what the problem is and how it is
best fixed?

--Lars M.