Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
When performing an install, such as with Fedora or Ubuntu packaging, the python installation bits use setuptools to build and install the bindings. However, since the code isn't necessarily installed at that point the install fails with:
running sdist
running check
warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)
warning: sdist: standard file not found: should have one of README, README.txt
writing manifest file 'MANIFEST'
creating python-qpid-proton-0.8-0
making hard links in python-qpid-proton-0.8-0...
hard linking cproton.py -> python-qpid-proton-0.8-0
hard linking cprotonPYTHON_wrap.c -> python-qpid-proton-0.8-0
hard linking proton.py -> python-qpid-proton-0.8-0
hard linking setup.py -> python-qpid-proton-0.8-0
creating dist
Creating tar archive
removing 'python-qpid-proton-0.8-0' (and everything under it)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying proton.py -> build/lib.linux-x86_64-2.7
copying cproton.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_cproton' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Itemp/usr/local/include -I/usr/include/python2.7 -c cprotonPYTHON_wrap.c -o build/temp.linux-x86_64-2.7/cprotonPYTHON_wrap.o
cprotonPYTHON_wrap.c:3019:24: fatal error: proton/url.h: No such file or directory
#include <proton/url.h>
^
compilation terminated.
ERROR:root:setup failed!