delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/06/18/07:10:29

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3D0F147A.7080200@netscape.net>
Date: Tue, 18 Jun 2002 07:07:38 -0400
From: Nicholas Wourms <nwourms AT netscape DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Peter Ring <pri AT ddf DOT dk>
CC: cygwin-apps AT cygwin DOT com
Subject: Re: please update libXML
References: <LLEGJLFMJCCMMIIJBIKDOENGCMAA DOT pri AT ddf DOT dk>

 >Peter,
 >
 >The line should be -L/usr/lib -lpython2.2
                     ^^^^^^^^^^
Ooops....  That should be:
-L/usr/lib/python2.2/config/


Cheers,
Nicholas

Peter Ring wrote:

 >./configure --with-history   # or ./configure --with-history --with-python
 >make
 >...
 >make[3]: Entering directory `/usr/local/src/libxml2-2.4.22/python'
 >...
 >/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall   -o libxml2mod.la 
-rpath
 >/usr/local/lib/python2.2/site-packages -module -avoid-version 
-no-undefined
 >-L../.libs libxml.lo types.lo libxml2-py.lo ../libxml2.la -lpython2.2
 >gcc -shared  .libs/libxml.o .libs/types.o
 >libs/libxml2-py.o  -L/usr/local/lib -L/usr/local/src/libxml2-2.4.22/.libs
 >../.libs/libxml2.dll.a -lpython2.2  -o
 >.libs/cygxml2mod.dll -Wl,--image-base=0x10000000 
-Wl,--out-implib,.libs/libx
 >ml2mod.dll.a
 >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
 >cannot find -lpython2.2
 >
 >There are (per setup-installed python2.2)
 >
 >  /usr/bin/libpython2.2.dll
 >  /usr/lib/python2.2/config/libpython2.2.dll.a
 >
 >Perhaps you have rebuild python, or just added a libpython2.2.dll.la
 >somewhere?
 >
 >Kind regards
 >
 >Peter Ring
 >
 >
 >-----Original Message-----
 >From: Gerrit P. Haase [mailto:freeweb AT nyckelpiga DOT de]
 >Sent: 18. juni 2002 10:36
 >To: Peter Ring
 >Cc: cygwin-apps AT cygwin DOT com
 >Subject: Re: please update libXML
 >
 >
 >Peter schrieb:
 >
 >
 >>I'm happy again :) make check running successfully as I write this. 
Thanks
 >>for you help.
 >>
 >
 >[..libtool-talk..]
 >
 >
 >>Now if only I could also link with python ...
 >>
 >
 >Hmm, I added -lpython2.2 to the linkline for the module and I thought it
 >worked (at least for libxml2, I'm not sure about libxslt), this is also
 >in my patch included.
 >
 >
 >Gerrit
 >--
 >=^..^=
 >
 >
 >

-- 
Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop AT Netscape!
http://shopnow.netscape.com/



- Raw text -


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