473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Cannot build Python 2.4.2 for Cygwin

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

Dec 28 '05 #1
1 1805
Micheal,

On Wed, Dec 28, 2005 at 11:02:55AM -0800, Micheal LeVine wrote:
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).
The above is a very old version of Cygwin:

http://www.cygwin.com/ml/cygwin-anno.../msg00020.html
[snip]

Does anyone have an idea what is wrong?


Yes, upgrading to the latest Cygwin should fix your build problem.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Dec 28 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jari Aalto+usenet | last post by:
Hi, Where I can specify more linking search directories for a Python module that makes a gcc build? Setting the LD_LIBRARY_PATH on command line does not seem to propagate to the linker. Jari...
3
by: Nicolas Lehuen | last post by:
Hi, Is it me, or does anyone else get significantly better pystone results under Cygwin versus the standard Win32 build ? CYGWIN 1.5.6 + python 2.3.3-1 : $ time python...
6
by: Steve Holden | last post by:
Does anyone know the workaround for this error, encountered when trying to build PIL 1.1.4 from source under cygwin (Python 2.3.3)? running build_ext building '_imaging' extension gcc...
12
by: David Murmann | last post by:
hi all! i just built revision 41809 under winxp using a rather uncommon setup (at least i think so). since i have no visual studio here, i only used freely available tools: cygwin to get the...
1
by: mrstephengross | last post by:
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...
0
by: SwampFoetus | last post by:
Hi, I was wondering if anyone can shed any light on this problem. When I configured and built PHP4 on Cygwin with gd, jpeg, and zlib it makes fine but I get the following error when I try to...
1
by: bg_ie | last post by:
Hi, I have downloaded the source for PyXML-0.8.4, which has no binaries available for Python 2.5. Therefore I built it myself doing something like this - python2.5 setup.py build python2.5...
4
by: GHUM | last post by:
The compile works, BUT linking fails: 2.5\Release\psycopg\_psycopg.def -Lc:\python25\libs -Lc: \python25\PCBuild -Lc:/p ostgres/83RC2/lib -lpython25 -lpq -lws2_32 -ladvapi32 -o build...
4
by: Tilman Kispersky | last post by:
I am trying to install sqlite for use with python on cygwin. I have installed the sqlite packages from cygwin (that is libsqlite3-devel and libsqlite3_0). When attempting to easy_install pysqlite...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.