Skip to content

Instantly share code, notes, and snippets.

@rstacruz
Created March 9, 2010 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rstacruz/326747 to your computer and use it in GitHub Desktop.
Save rstacruz/326747 to your computer and use it in GitHub Desktop.
# Also tried:
# sudo easy_install pycurl
# export ARCHFLAGS="-arch x86_64" && sudo easy_install pycurl
# etc...
$ sudo easy_install pycurl==7.16.2.1
Searching for pycurl==7.16.2.1
Reading http://pypi.python.org/simple/pycurl/
Reading http://pycurl.sourceforge.net/
Reading http://pycurl.sourceforge.net/download/
Best match: pycurl 7.16.2.1
Downloading http://pycurl.sourceforge.net/download/pycurl-7.16.2.1.tar.gz
Processing pycurl-7.16.2.1.tar.gz
Running pycurl-7.16.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Wzp_jq/pycurl-7.16.2.1/egg-dist-tmp-kgM69v
Using curl-config (libcurl 7.19.7)
In file included from /opt/local/include/curl/curl.h:44,
from src/pycurl.c:43:
/opt/local/include/curl/curlrules.h:144: error: size of array '__curl_rule_01__' is negative
/opt/local/include/curl/curlrules.h:154: error: size of array '__curl_rule_02__' is negative
In file included from /opt/local/include/curl/curl.h:44,
from src/pycurl.c:43:
/opt/local/include/curl/curlrules.h:144: error: size of array '__curl_rule_01__' is negative
/opt/local/include/curl/curlrules.h:154: error: size of array '__curl_rule_02__' is negative
lipo: can't open input file: /var/tmp//ccycW16L.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment