Problem with python extension install
John Whitley
whitley@bangpath.org
Fri Jul 15 18:22:00 GMT 2005
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/
More information about the Cygwin
mailing list