Cannot install pysam

bsd4me

Well-Known Member
Kann da vielleicht jemand helfen (unter FreeBSD 10.3)

# pip install pysam
...
local/include/python2.7 -c htslib/hfile_libcurl.c -o build/temp.freebsd-10.3-RELEASE-p4-amd64-2.7/htslib/hfile_libcurl.o -Wno-unused -Wno-strict-prototypes -Wno-sign-compare -Wno-error=declaration-after-statement
htslib/hfile_libcurl.c:40:10: fatal error: 'curl/curl.h' file not found
#include <curl/curl.h>
^
1 error generated.
error: command 'cc' failed with exit status 1

----------------------------------------
Command "/usr/local/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jhBQEV/pysam/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-se_eS4-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-jhBQEV/pysam/


Danke :) Norbert
 
hab ich:

> pkg info | grep curl
curl-7.48.0_1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
py27-pycurl-7.21.5 Python interface to libcurl

vieleicht liegt es daran, dass curl.h in /usr/local/include/curl liegt... oder??
 
so, jetzt hab ich es :)

# pip install --global-option=build_ext --global-option="-I/usr/local/include" pysam
 
Zurück
Oben