[lxml-dev] lxml Mac installation idea

Paul Everitt paul at agendaless.com
Mon Nov 17 16:13:06 CET 2008


On Nov 17, 2008, at 7:57 AM, Chris Withers wrote:

> Stefan Behnel wrote:
>> As I said, this would be very much appreciated. The first thing I  
>> would
>> ask you to do is check out the current trunk from SVN
>>
>> https://codespeak.net/lxml/build.html#subversion
>
> I'm currently about 6000 miles away from my Macs, but I believe  
> someone
> else offerred to pick this up? If not, gimme a poke later this week  
> and
> I'll have a go :-)

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

--Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20081117/00f99e9f/attachment.htm 


More information about the lxml-dev mailing list