Mailing List Archive

Can't make python1.5.2 on rhLinux5.1
Howdy!

I am trying to install Python 1.5.2 on a Red Hat Linux 5.1 / 386
(actually pentium) system and have run into a problem I can't find
mention of in the README or the faq. I am a regular reader of this
group, but don't read every single message, so if I have missed this
one, my apologies.

The problem occurs during make:

cd Modules ; make OPT="-g -O2" VERSION="1.5" \
prefix="/usr/local" exec_prefix="/usr/local" all
make[1]: Entering directory `/root/Python-1.5.2/Modules'
gcc -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./regexmodule.c
<10 modules compiled OK>
gcc -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./timemodule.c
./timemodule.c: In function `time_strptime':
./timemodule.c:429: warning: assignment makes pointer from integer
without a cast
<5 modules compile OK>
gcc -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./socketmodule.c
./socketmodule.c: In function `initsocket':
./socketmodule.c:2212: `uint32_t' undeclared (first use this function)
./socketmodule.c:2212: (Each undeclared identifier is reported only once
./socketmodule.c:2212: for each function it appears in.)
./socketmodule.c:2212: parse error before `0xe0000000U'
./socketmodule.c:2217: parse error before `0xe0000001U'
./socketmodule.c:2222: parse error before `0xe00000ffU'
make[1]: *** [socketmodule.o] Error 1
make[1]: Leaving directory `/root/Python-1.5.2/Modules'
make: *** [Modules] Error 2

My Linux is mostly out of the box, though we have installed this and
that on it; Perl5.005, Gimp, etc.

The Python install is plain vanilla - I didn't hand edit anything and ran
./configure without any command line switches.

In terms of the issues I have found in the README:

1) % rpm -qa | grep ^linuxthread <nothing returned>
2) glibc I have installed is version 2.0.7
3) crypt module commented out as per default
4) I tried:
make clean
./configure
make
...with the same results

Any suggestions?

THANKS!

-David Steffen-