[Interface-dev] Problem installing ZopeInterface on Cygwin

John Whitley whitley at acm.org
Fri Jul 15 14:35:30 EDT 2005


Hi all,

I'm running into an odd problem attempting to build the ZopeInterface  
package on Cygwin.  FWIW, I've gotten the same results below with  
versions 3.0.1 and 3.1.0b1.

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 tried diving in to determine whether this is an issue with Cygwin's  
distutils install or an issue specific to ZopeInterface, but no  
luck.  I'm still a bit too new to the arcana of distutils...

Any pointers (or solutions ;-) greatly appreciated!

-- John Whitley

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




More information about the Interface-dev mailing list