[lxml-dev] lxml Mac installation idea

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


On Nov 17, 2008, at 17:36, Michael Guntsche wrote:
<snip>
>
>      call_subprocess(
> -        ['make'], cwd=libxml2_dir)
> +        ['make'], cwd=libxml2_dir, **call_setup)
>      call_subprocess(
>          ['make', 'install'], cwd=libxml2_dir)
>

Hello Stefan,

We need to set MACOSX_DEPLOYMENT_TARGET during "make" as well,  
otherwise we get linking errors. I am still trying to figure out why  
the errors do not happen on my system here. In the first patch I just  
added **call_setup to the call_subprocess invocation but this way the  
CFLAGS and LDFLAGS get passed as well once again.
Do you have a better idea, should we just pass  
MACOSX_DEPLOYMENT_TARGEt alone?

Kind regards,
Michael


More information about the lxml-dev mailing list