Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: cygwin AT cygwin DOT com From: John Whitley Subject: Problem with python extension install Date: Fri, 15 Jul 2005 11:22:07 -0700 X-BlargAV-Status: No viruses detected, BlargAV v1.1 on localhost.pops.p.blarg.net 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/