python - VerificationError: CompileError: command 'cc' failed with exit status 1 -
i trying install: couchbase-python-cffi part of pypi package. keep on getting following error when trying install couchbase-python-cffi:
verificationerror: compileerror: command 'cc' failed exit status 1
this error occurs on travis build: https://travis-ci.org/ardydedase/pycouchbase/jobs/75819605#l541
here's content of travis file:
# config file automatic testing @ travis-ci.org language: python python: - "3.4" - "3.3" - "2.7" - "2.6" - "pypy" before_install: - sudo rm -rf /etc/apt/sources.list.d/* - wget -o- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add - - echo deb http://packages.couchbase.com/ubuntu precise precise/main | sudo tee /etc/apt/sources.list.d/couchbase.list - sudo apt-get update - sudo apt-cache search libcouchbase - sudo apt-get install libxml2-dev libxslt-dev python-dev libffi6 libffi-dev - sudo apt-get install build-essential libssl-dev install: - sudo apt-get -y install libcouchbase-dev libcouchbase2-core libcouchbase2-libevent libevent-dev - pip -q install gevent || echo "couldn't find gevent" - pip -q install twisted - pip -q install testresources - pip install -r requirements.txt # command run tests, e.g. python setup.py test script: - cd couchbase-python-cffi - python setup.py install - cd .. - python runtests.py
any appreciated has been bothering me quite while.
the couchbase_cffi module contains "cached" header of library (in couchbase_ffi/_lcb.h
). generated against older version of library. remove file force couchbase_cffi regenerate file again.
Comments
Post a Comment