[lxml-dev] Fwd: lxml Mac installation idea

Michael Guntsche mike at it-loops.com
Mon Nov 17 17:20:27 CET 2008


CC'ing the list.

Begin forwarded message:

> From: Michael Guntsche <mike at it-loops.com>
> Date: November 17, 2008 17:08:48 GMT+01:00
> To: Paul Everitt <paul at agendaless.com>
> Subject: Re: [lxml-dev] lxml Mac installation idea
>
>
> On Nov 17, 2008, at 16:13, Paul Everitt wrote:
>
>>
>> I got:
>>
>> $ python setup.py build --static-deps
>> [.........snip.......]
>> gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
>> O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch  
>> -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized - 
>> Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings - 
>> Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested- 
>> externs -Winline -Wredundant-decls -arch ppc -arch i386 -isysroot / 
>> Developer/SDKs/MacOSX10.4u.sdk -o xmllint xmllint.o  ./.libs/ 
>> libxml2.a -lpthread -lz /usr/lib/libiconv.dylib -lm
>> ld: library not found for -lcrt1.10.5.o
>> collect2: ld returned 1 exit status
>> ld: library not found for -lcrt1.10.5.o
>> collect2: ld returned 1 exit status
>> lipo: can't open input file: /var/folders/i4/i4lSVTRWHsaTXG7UXMfGbE+ 
>> ++TI/-Tmp-//ccDzwBUG.out (No such file or directory)
>> make[2]: *** [xmllint] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> Traceback (most recent call last):
>>  File "setup.py", line 107, in ?
>>    STATIC_CFLAGS, STATIC_BINARIES),
>>  File "/Users/paul/sandboxes/lxml/trunk/setupinfo.py", line 46, in  
>> ext_modules
>>    libxslt_version=OPTION_LIBXSLT_VERSION)
>>  File "/Users/paul/sandboxes/lxml/trunk/buildlibxml.py", line 190,  
>> in build_libxml2xslt
>>    call_subprocess(
>>  File "/Users/paul/sandboxes/lxml/trunk/buildlibxml.py", line 151,  
>> in call_subprocess
>>    raise Exception('Command "%s" returned code %s' % (cmd_desc,  
>> returncode))
>> Exception: Command "make" returned code 2
>>
>
> Hmm, is this with the latest version from trunk?



More information about the lxml-dev mailing list