delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/29/11:12:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=5.0 required=5.0 tests=AWL,BAYES_50,BOTNET,J_CHICKENPOX_12
X-Spam-Check-By: sourceware.org
Date: Wed, 29 Jul 2009 11:11:32 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Python-devel on Windows XP build
Message-id: <20090729151132.GB2916@tishler.net>
Mail-followup-to: cygwin AT cygwin DOT com
References: <4A6FF2E2 DOT 4020908 AT gmail DOT com>
MIME-version: 1.0
In-reply-to: <4A6FF2E2.4020908@gmail.com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019