[Python-bugs-list] [Bug #117386] Compile fails on RH7

noreply@sourceforge.net noreply@sourceforge.net
Mon, 23 Oct 2000 06:30:29 -0700


Bug #117386, was updated on 2000-Oct-21 13:44
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Closed
Resolution: Invalid
Bug Group: Not a Bug
Priority: 5
Summary: Compile fails on RH7

Details: ./configure runs properly, no errors.

After running make with no options, it eventually errors out on the following:

gcc -g -O2 -Wall -Wstrict-prototypes -I./../Include -I.. -DHAVE_CONFIG_H   -c -o grammar1.o grammar1.c
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 `/home/eem12/Python-2.0/Parser'
make: *** [Parser] Error 2


Follow-Ups:

Date: 2000-Oct-21 13:47
By: nebulascape

Comment:

Nevermind, this seems to be a gcc problem...
-------------------------------------------------------

Date: 2000-Oct-23 06:30
By: jhylton

Comment:
This is not a bug; as the error message indicates it is a platform/compiler bug.  The gcc install on RH7 is broken, and you should complain to RedHat.  You can work around this problem on your local machine by manually defining LONG_BIT to be 32.


-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117386&group_id=5470