RedHat 7.0 LONG_BIT compilation error
Helge Avlesen
avle at rogn.ii.uib.no
Sat Feb 10 04:49:28 EST 2001
Try update glibc as well, I think the problem was in the header
files, not the compiler.
Helge
"Mark Hatasaka" <hatasaka at libertysw.com> writes:
| I'm trying to compile Python 2.0 on RedHat 7.0 i386, but keep getting the following LONG_BIT error.
|
| gcc -g -O2 -Wall -Wstrict-prototypes -I./../Include -I.. -DHAVE_CONFIG_H -c -o listnode.o listnode.c
| gcc -g -O2 -Wall -Wstrict-prototypes -I./../Include -I.. -DHAVE_CONFIG_H -c -o node.o node.c
| In file included from ../Include/Python.h:54,
| from node.c:3:
| ../Include/pyport.h:390:2: #error "LONG_BIT definition appears wrong for platform (bad gcc config?)."
| make[1]: *** [node.o] Error 1
| make[1]: Leaving directory `/usr/Python-2.0/Parser'
| make: *** [Parser] Error 2
| [root at Piglet Python-2.0]#
|
| I've applied the latest RedHat gcc updates (gcc-2.96-69)
|
| I've run the following commands
|
| marke clean
|
| rm config.cache
|
| ./configure
|
| make
|
|
|
| Any suggestions would be greatly appreciated.
|
| Mark
|
|
|
--
Helge Avlesen,
Para//ab, University of Bergen
WWW: http://www.ii.uib.no/~avle
Phone: +47 55 58 40 35, Fax: +47 55 58 41 99, Office: HIB 317H1
More information about the Python-list
mailing list