curl-and-python

Issues installing pycURL on Mac OS X 10.4.11

From: Kai umezawa <k_umezawa11_at_hotmail.com>
Date: Thu, 14 Apr 2011 17:50:09 -0300

Hi All,

I'm trying to install pycURL 7.18.2 on Mac OS X 10.4 for use with the Tornado Server. I have libcURL 7.21.4 installed.

I've tried Googling around for this type of error, but as I am admittedly quite new to python I am a little lost.

Below is the output:

Using curl-config (libcurl 7.21.4)
running install
running build
running build_py
running build_ext
building 'pycurl' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pycurl.c -o build/temp.macosx-10.3-fat-2.7/src/pycurl.o
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g build/temp.macosx-10.3-fat-2.7/src/pycurl.o -L/usr/local/lib -lcurl -lssl -lcrypto -lldap -lz -lssl -lcrypto -lldap -lz -o build/lib.macosx-10.3-fat-2.7/pycurl.so /usr/local/lib/libcurl.a
/usr/bin/ld: -syslibroot: multiply specified/usr/bin/ld: -syslibroot: multiply specified

collect2: collect2: ld returned 1 exit status
ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccd6wbGS.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1

Any help would be greatly appreciated.

Many Thanks,

Kai

                                               

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2011-04-14