[lxml-dev] lxml Mac installation idea

Michael Guntsche mike at it-loops.com
Mon Nov 17 17:36:31 CET 2008


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)




More information about the lxml-dev mailing list