我在Intel Mac OS X 10.5上运行Python2.6
我试图安装pycurl 7.16.2.1(如这里推荐的http://curl.haxx.se/mail/curlpython-2009-03/0009.html),但由于某些原因,安装程序看到了我的libcurl 7.16.3,但它仍然坚持我安装7.16.2或更高版本(7.16.3不满足这个要求吗?)在
以下是错误输出:Running pycurl-7.16.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3emZIB/pycurl-7.16.2.1/egg-dist-tmp-K10rbP
Using curl-config (libcurl 7.16.3)
src/pycurl.c:54:4:src/pycurl.c:54:4: error: #error "Need libcurl version 7.16.2 or greater to compile pycurl."
error: #error "Need libcurl version 7.16.2 or greater to compile pycurl."
为了确定curl config——版本生成libcurl 7.16.3
有什么建议吗?我应该升级libcurl,还是坚持使用出厂默认lib?在
==在响应后添加了更多详细信息==
我拥有的python是出厂默认值(我不是自己从中获得的)python.org网站)在
^{pr2}$
这是我的卷曲版本。因为我用的是英特尔Macbook,而不是PPC。在curl 7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz
我将使用pycurl与现有python解释器一起使用
我有端口:sudo port -u install py26-pycurl
Error: Port py26-pycurl not found