Fwd: Re: Problems with lxml on Python 3.3 - STATIC_DEPS and gcc don't appear to help

This should have gone to the lxml list too :-) -------- Original Message -------- Subject: Re: [lxml] Problems with lxml on Python 3.3 - STATIC_DEPS and gcc don't appear to help Date: Thu, 14 Feb 2013 15:19:30 +0000 From: Chris Withers <chris@simplistix.co.uk> To: jens quade <jq@qdevelop.de> CC: Stefan Behnel <stefan_ml@behnel.de> On 14/02/2013 15:06, jens quade wrote:
On 14.02.2013, at 12:52, jens quade<jq@qdevelop.de> wrote:
Hi Chris,
unfortunately, I have Mac OS X 10.8 already, but I did the following to see if there is any obvious problem:
I found a Mac with Mac OS X 10.7.5, installed a fresh XCode (and in XCode the command line tools) and followed the same path:
- install python3.3 from source - install distribute from source - easy_install lxml
creates a working lxml. So I guess your XCode installation is broken, and you may want to reinstall XCode.
So, many problems for me. I suspect old XCode was one of them. I installed the latest from App Store (the one I had came from a migration assistant move from a previous Snow Leopard machine). Then much cursing and swearing when I realised that all that had done is put an installer in Applications (why do Apple hate their developers so much?!). Ran that. Next problem, path: buzzkill:~ chris$ echo $PATH /Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/EPD64.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:. So, looks like lxml installer finds the wrong libxml libraries, probably the ones that came with EPD. Finally managed to get a working lxml install with: PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin hovercraft/bin/easy_install lxml *sigh* Thanks for the help everyone, the pointers got me there in the end! Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
participants (1)
-
Chris Withers