curl-and-python
RE: curl-and-python Digest, Vol 57, Issue 4
Date: Fri, 15 Apr 2011 15:02:01 -0300
> From: curl-and-python-request_at_cool.haxx.se
> Subject: curl-and-python Digest, Vol 57, Issue 4
> To: curl-and-python_at_cool.haxx.se
> Date: Fri, 15 Apr 2011 12:00:03 +0200
>
> Send curl-and-python mailing list submissions to
> curl-and-python_at_cool.haxx.se
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
> or, via email, send a message with subject or body 'help' to
> curl-and-python-request_at_cool.haxx.se
>
> You can reach the person managing the list at
> curl-and-python-owner_at_cool.haxx.se
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of curl-and-python digest..."
>
>
> Today's Topics:
>
> 1. Issues installing pycURL on Mac OS X 10.4.11 (Kai umezawa)
> 2. Re: Issues installing pycURL on Mac OS X 10.4.11 (Michael Wood)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 14 Apr 2011 17:50:09 -0300
> From: Kai umezawa <k_umezawa11_at_hotmail.com>
> To: <curl-and-python_at_cool.haxx.se>
> Subject: Issues installing pycURL on Mac OS X 10.4.11
> Message-ID: <BAY162-w1588C37F5C341F039FDEC98BAD0_at_phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> 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
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://cool.haxx.se/pipermail/curl-and-python/attachments/20110414/c6ca3ddb/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 15 Apr 2011 08:19:38 +0200
> From: Michael Wood <esiotrot_at_gmail.com>
> To: curl with python <curl-and-python_at_cool.haxx.se>
> Cc: Kai umezawa <k_umezawa11_at_hotmail.com>
> Subject: Re: Issues installing pycURL on Mac OS X 10.4.11
> Message-ID: <BANLkTim3AU3oBAQGrHGHv8VJ99AEVW47PQ_at_mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 14 April 2011 22:50, Kai umezawa <k_umezawa11_at_hotmail.com> wrote:
> > 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.
>
> The problem seems to be the multiple instances of "-isysroot
> /Developer/SDKs/MacOSX10.4u.sdk" in:
>
> 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
>
> I've never tried building pycurl on OS X, so not sure what the process
> is. Maybe you could just try running that command manually (in the
> right place) except remove the duplicated "-isysroot ..." parts.
>
> --
> Michael Wood <esiotrot_at_gmail.com>
>
>
> ------------------------------
>
> _______________________________________________
> curl-and-python mailing list
> curl-and-python_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
>
>
> End of curl-and-python Digest, Vol 57, Issue 4
> **********************************************
That worked!
Thanks so much :)
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2011-04-15