Cannot build Python 2.4.2 for Cygwin

Micheal.LeVine at gmail.com Micheal.LeVine at gmail.com
Wed Dec 28 14:02:55 EST 2005


I have not succeeded to build Python 2.4.2 from the source distn for
Cygwin on XP (cygwin1.dll version 1005.7.0.0, Cygwin POSIX Emulation
DLL).

I have applied the "bandaid solution" in README,

./configure --with-threads=no

and edited the resulting Modules/Setup file for SSL.

The make process always terminates with the following error message:

Creating library file: libpython2.4.dll.a
Python/pystate.o(.text+0x344): In function `PyThreadState_New':
/cygdrive/c/WINDOWS/Temp/Python-2.4.2/Python/pystate.c:191: undefined
reference to `__PyGILState_NoteThreadState'
Modules/posixmodule.o(.text+0x131b): In function `posix_fdatasync':
/cygdrive/c/WINDOWS/Temp/Python-2.4.2/Modules/posixmodule.c:541:
undefined reference to `_fdatasync'
collect2: ld returned 1 exit status
make: *** [libpython2.4.dll.a] Error 1

Does anyone have an idea what is wrong?

Micheal




More information about the Python-list mailing list