Is there a way to build python without 'posixmodule' ?
I'm working on building python 2.4.2 with the mingw compiler (on cygwin). It runs into problems with Modules/posixmodule.c, because the mingw compiler does *not* provide complex process management functionality. I can exclude posixmodule.c from the python build process, but gcc still fails when it tries to link together the python executable: (Error message follows) = gcc -mno-cygwin -Wl,--out-implib=libpython2.4.dll.a -o python.exe \ Modules/python.o \ libpython2.4.a-lm libpython2.4.a(pystate.o)(.text+0x1e0): In function `PyThreadState_New': C:/cygwin/home/Administrator/sgross/sage/installer/python/i386-mingw-gcc/Python-2.4.2/Python/pystate.c:191: undefined reference to `_PyGILState_NoteThreadState' === It would seem that the python executable is looking for the process management functionality that *would* have been supplied by posixmodule.o. Is there a way around this? Can I build the python executable without building posixmodule.o? Thanks, --Steve ([EMAIL PROTECTED]) -- http://mail.python.org/mailman/listinfo/python-list
Is there a way to build python without 'posixmodule' ?
I'm working on building python 2.4.2 with the mingw compiler (on cygwin). It runs into problems with Modules/posixmodule.c, because the mingw compiler does *not* provide complex process management functionality. I can exclude posixmodule.c from the python build process, but gcc still fails when it tries to link together the python executable: (Error message follows) = gcc -mno-cygwin -Wl,--out-implib=libpython2.4.dll.a -o python.exe \ Modules/python.o \ libpython2.4.a-lm libpython2.4.a(pystate.o)(.text+0x1e0): In function `PyThreadState_New': C:/cygwin/home/Administrator/sgross/sage/installer/python/i386-mingw-gcc/Python-2.4.2/Python/pystate.c:191: undefined reference to `_PyGILState_NoteThreadState' === It would seem that the python executable is looking for the process management functionality that *would* have been supplied by posixmodule.o. Is there a way around this? Can I build the python executable without building posixmodule.o? Thanks, --Steve ([EMAIL PROTECTED]) -- http://mail.python.org/mailman/listinfo/python-list
Re: Is there a way to build python without 'posixmodule' ?
In article [EMAIL PROTECTED], mrstephengross [EMAIL PROTECTED] wrote: libpython2.4.a(pystate.o)(.text+0x1e0): In function `PyThreadState_New': C:/cygwin/home/Administrator/sgross/sage/installer/python/i386-mingw-gcc/Pytho n-2.4.2/Python/pystate.c:191: undefined reference to `_PyGILState_NoteThreadState' === It would seem that the python executable is looking for the process management functionality that *would* have been supplied by posixmodule.o. Why would it seem that? Look for a recent thread here about porting Python to LynxOS. Donn Cave, [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list
Re: Is there a way to build python without 'posixmodule' ?
mrstephengross wrote: I'm working on building python 2.4.2 with the mingw compiler (on cygwin). Try following the instructions on the pyMinGW site: http://jove.prohosting.com/iwave/ipython/pyMinGW.html Ross Ridge -- http://mail.python.org/mailman/listinfo/python-list