This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problem with python extension install
- From: John Whitley <whitley at bangpath dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 15 Jul 2005 11:22:07 -0700
- Subject: Problem with python extension install
Hi all,
I'm running into an odd problem attempting to install the
ZopeInterface package on Cygwin.
The relevant part of the build output is below. The failure "cannot
find -lpython2.4" appears to be merely because the link path (-L
option) isn't being set correctly; the link line is missing the "-L/
usr/lib/python2.4" option.
I'm posting here in case any Cygwin-using Python experts can pass
along pointers on triaging (or solving ;-) this problem.
Thanks!
John Whitley
P.S. Thanks to folks who responded to my recent rebaseall question.
Alas, Google didn't bring up any of the recent
discussion threads on that topic; my bad.
building 'zope.interface._zope_interface_coptimizations' extension
[...]
creating build/temp.cygwin-1.5.18-i686-2.4/Dependencies/
zope.interface-ZopeInterface-3.1.0b1/zope.interface
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
IDependencies/zope.interface-ZopeInterface-3.1.0b1/zope.interface -I/
usr/include/python2.4 -c Dependencies/zope.interface-
ZopeInterface-3.1.0b1/zope.interface/_zope_interface_coptimizations.c
-o build/temp.cygwin-1.5.18-i686-2.4/Dependencies/zope.interface-
ZopeInterface-3.1.0b1/zope.interface/_zope_interface_coptimizations.o
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.18-
i686-2.4/Dependencies/zope.interface-ZopeInterface-3.1.0b1/
zope.interface/_zope_interface_coptimizations.o -L. -lpython2.4 -o
build/lib.cygwin-1.5.18-i686-2.4/zope/interface/
_zope_interface_coptimizations.dll
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find -lpython2.4
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/