A similar question was asked on python-list a little while back:
    http://mail.python.org/pipermail/python-list/2001-March/032545.html
And answered here:
    http://mail.python.org/pipermail/python-list/2001-March/032558.html

I hope that helps.
Cheers,
Trent


On Sun, Mar 25, 2007 at 11:43:03PM -0500, [EMAIL PROTECTED] wrote:
> I am trying to compile Python source on a RedHat 7.0 linux box but when
> I do the make I get the following:
> 
> make[1]: Leaving directory
> `/develop/ActivePython-2.0.0-203/src/Core/Objects'
> cd Python ; make OPT="-g -O2 -Wall -Wstrict-prototypes" VERSION="2.0" \
>   prefix="/usr/local" exec_prefix="/usr/local" all
> make[1]: Entering directory
> `/develop/ActivePython-2.0.0-203/src/Core/Python'
> gcc -c -g -O2 -Wall -Wstrict-prototypes -I./../Include -I..
> -DHAVE_CONFIG_H -DPLATFORM='"linux2"' \
>        ./getplatform.c
> In file included from ../Include/Python.h:54,
>                  from ./getplatform.c:2:
> ../Include/pyport.h:390:2: #error "LONG_BIT definition appears wrong for
> platform (bad gcc config?)."
> make[1]: *** [getplatform.o] Error 1
> make[1]: Leaving directory
> `/develop/ActivePython-2.0.0-203/src/Core/Python'
> make: *** [Python] Error 2
> 
> RedHat 7.0 does come with gcc 2.96 , also inside the
> ../Include/pyport.h:390 a LONG_BIT is 8 should it be 16 for a 64-bit OS
> ? Has anyone came across the same problem ??

Content-Description: Card for


-- 
Trent Mick
[EMAIL PROTECTED]
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to