easy_install pycurl failing in virtualenv
easy_install pycurl failing in virtualenv
==============================================
Trying to get the stripe.com python api binding installed in a virtualenv.
I'm running ubuntu 11.10
I get the following error during pycurl's install:
easy_install stripe
Searching for stripe
Best match: stripe 1.5.30
Processing stripe-1.5.30-py2.7.egg
stripe 1.5.30 is already the active version in easy-install.pth
Using /home/fox/virtpyramid/lib/python2.7/site-packages/stripe-1.5.30-py2.7.egg
Processing dependencies for stripe
Searching for pycurl
Reading http://pypi.python.org/simple/pycurl/
pypi.python.org/simple/pycurl/
Reading http://pycurl.sourceforge.net/
pycurl.sourceforge.net/
Reading http://pycurl.sourceforge.net/download/
pycurl.sourceforge.net/download/
Best match: pycurl 7.19.0
Downloading http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
Processing pycurl-7.19.0.tar.gz
Running pycurl-7.19.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-N9yjGO/pycurl-7.19.0/egg-dist-tmp-UM5Vg5
Using curl-config (libcurl 7.21.6)
src/pycurl.c: In function ‘multi_socket_callback’:
src/pycurl.c:2351:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
src/pycurl.c:2355:11: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
src/pycurl.c: In function ‘do_multi_info_read’:
src/pycurl.c:2843:15: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
In function ‘util_curl_unsetopt’,
inlined from ‘do_curl_unsetopt’ at src/pycurl.c:1551:5:
src/pycurl.c:1476:9: warning: call to ‘_curl_easy_setopt_err_CURLSH’ declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default]
/usr/bin/ld: cannot find -lrtmp
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1