X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 	tests=AWL,BAYES_20,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A706A58.1080504@gmail.com>
Date: Wed, 29 Jul 2009 16:27:20 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Python-devel on Windows XP build
References: <4A6FF2E2.4020908@gmail.com> <20090729151132.GB2916@tishler.net>
In-Reply-To: <20090729151132.GB2916@tishler.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Jason Tishler wrote:
> Gwen,
> 
> On Wed, Jul 29, 2009 at 02:57:38AM -0400, Gwen Morse wrote:
>> I'm trying to compile Tinyfuge with python extensions on my Windows XP
>> box. I have the source which is reported by friends to compile
>> properly on linux systems.
>>
>> ./configure fails, checking the log I see this message:
>>
>> configure:8153: result: no
>> configure:8169: checking for strstr
>> configure:8226: gcc -o conftest.exe -g -O2 -DTFPYTHON  
>> -I/usr/include/python2.5   -Lpcre-2.08 conftest.c  -lssl -lcrypto 
>> -lpython2.5 >&5
>> conftest.c:68: warning: conflicting types for built-in function 'strstr'
>> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
>> cannot find -lpython2.5
> 
> The following will solve the above build problem:
> 
>     LDFLAGS=-L/usr/lib/python2.5/config configure
> 
> Jason
> 

  I believe you're meant to specify LDFLAGS after the 'configure' these days,
i.e. as an argument to configure, not a shell variable.

./configure LDFLAGS=-L/usr/lib/python2.5/config < other args ... >

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

