[lxml-dev] lxml Mac installation idea

Michael Guntsche mike at it-loops.com
Mon Nov 17 18:25:38 CET 2008


On Nov 17, 2008, at 18:18, Paul Everitt wrote:

>
> Unfortunately no change.
>
> --Paul
>
> On Nov 17, 2008, at 11:36 AM, Michael Guntsche wrote:
>
>>
>> Hello Paul,
>>
>> Please try with the attached patch applied....
>> I get the same problems if I build libxml on the command-line, do not
>> understand why it is working when I am compiling with python and
>> subprocess.
>> Tell me if the attached patch works for you.
>>
>> Kind regards,
>> Michael
>>
>>
>> Index: buildlibxml.py
>> ===================================================================
>> --- buildlibxml.py	(revision 59948)
>> +++ buildlibxml.py	(working copy)
>> @@ -188,7 +188,7 @@
>>                       ]
>>      call_subprocess(configure_cmd, cwd=libxml2_dir, **call_setup)
>>      call_subprocess(
>> -        ['make'], cwd=libxml2_dir)
>> +        ['make'], cwd=libxml2_dir, **call_setup)
>>      call_subprocess(
>>          ['make', 'install'], cwd=libxml2_dir)
>>
>> @@ -202,7 +202,7 @@
>>
>>      call_subprocess(libxslt_configure_cmd, cwd=libxslt_dir,
>> **call_setup)
>>      call_subprocess(
>> -        ['make'], cwd=libxslt_dir)
>> +        ['make'], cwd=libxslt_dir, **call_setup)
>>      call_subprocess(
>>          ['make', 'install'], cwd=libxslt_dir)
>>

Paul, please completely clean up everything from the previous build  
(best just make a clean checkout) and try again.
If this still does not work set MACOSX_DEPLOYMENT_TARGET=10.3 before  
starting the compilation.

	$ export MACOSX_DEPLOYMENT_TARGET=10.3

/Mike


More information about the lxml-dev mailing list