[lxml-dev] Fwd: Re: installing lxml on MacOS
[Forwarding to the list] -------- Original Message -------- Subject: Re: [lxml-dev] installing lxml on MacOS Date: Tue, 18 May 2010 08:34:21 -0600 From: Lacy K. Fuller To: Stefan Behnel On May 17, 2010, at 11:17 PM, Stefan Behnel wrote:
Lacy K. Fuller, 18.05.2010 01:25:
So I'm trying to figure this out as well, running on MacOS 10.5.8 with Python 2.4 and trying to install lxml 2.2.6. I tried forcing libxml2 to 2.7.3
That shouldn't matter.
but I'm still getting the undefined symbols error:
Undefined symbols for architecture i386: "_gzdirect", referenced from: ___xmlParserInputBufferCreateFilename in libxml2.a(xmlIO.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture ppc: "_gzdirect", referenced from: ___xmlParserInputBufferCreateFilename in libxml2.a(xmlIO.o) ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/jV /jVkN8QoVGXSIHfVVe53L-k+++TQ/-Tmp-//ccJ1jdEf.out (No such file or directory) make[2]: *** [xmllint] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I'm not sure how to remove isysroot from CFLAGS and LDFLAGS as was mentioned in another post
See buildlibxml.py.
I'm trying to use a buildout to install currently.
So the above is from a buildout? Which are you using?
I got a recipe from a site online (http://pypi.python.org/pypi/z3c.recipe.staticlxml ) and modified it slightly. Strangely, just after I posted my question, I decided to try starting my buildout over in a different directory as a final attempt and it worked perfectly. I'm not sure what the difference was, but it's working fine now. Thanks for your help! Lacy
participants (1)
-
Stefan Behnel