Created
December 20, 2018 17:36
-
-
Save vivek-bala/571d637d9dc80a85e20fb4ca48b2af39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ve-test) -bash-4.2$ pip install pyzmq | |
Collecting pyzmq | |
Using cached https://files.pythonhosted.org/packages/b9/6a/bc9277b78f5c3236e36b8c16f4d2701a7fd4fa2eb697159d3e0a3a991573/pyzmq-17.1.2.tar.gz | |
Building wheels for collected packages: pyzmq | |
Running setup.py bdist_wheel for pyzmq ... error | |
Complete output from command /autofs/nccs-svm1_home1/vivekb/ves/ve-test/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-nMhGh8/pyzmq/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-XdYpDf --python-tag cp27: | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-ppc64le-2.7 | |
creating build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/decorators.py -> build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/__init__.py -> build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/_future.py -> build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/error.py -> build/lib.linux-ppc64le-2.7/zmq | |
creating build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/basedevice.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/proxydevice.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/monitoredqueue.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
creating build/lib.linux-ppc64le-2.7/zmq/log | |
copying zmq/log/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/log | |
copying zmq/log/handlers.py -> build/lib.linux-ppc64le-2.7/zmq/log | |
creating build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/zmqstream.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/future.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/_deprecated.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
creating build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/util.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/log.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/stack_context.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/concurrent.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
creating build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/common.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
creating build/lib.linux-ppc64le-2.7/zmq/ssh | |
copying zmq/ssh/forward.py -> build/lib.linux-ppc64le-2.7/zmq/ssh | |
copying zmq/ssh/tunnel.py -> build/lib.linux-ppc64le-2.7/zmq/ssh | |
copying zmq/ssh/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/ssh | |
creating build/lib.linux-ppc64le-2.7/zmq/backend | |
copying zmq/backend/select.py -> build/lib.linux-ppc64le-2.7/zmq/backend | |
copying zmq/backend/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/backend | |
creating build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
creating build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/devices.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/socket.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/_cffi.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/utils.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/context.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/message.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/constants.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/error.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/_poll.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
creating build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/garbage.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/z85.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/jsonapi.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/interop.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/constant_names.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/win32.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/sixcerpt.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/monitor.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/strtypes.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
creating build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_win32_shim.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_poll.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_monqueue.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_constants.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_pair.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_device.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_context.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_multipart.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_reqrep.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_error.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_z85.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_retry_eintr.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_ssh.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_log.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_draft.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_socket.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_imports.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_cffi_backend.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_message.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_zmqstream.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_future.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_includes.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_auth.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_pubsub.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_etc.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_decorators.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_security.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_monitor.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_version.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
creating build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/base.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/certs.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/thread.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
creating build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/socket.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/poll.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/tracker.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/frame.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/context.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/stopwatch.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/constants.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/attrsettr.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/version.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
creating build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/poll.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/core.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/device.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
creating build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/green/eventloop/zmqstream.py -> build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/green/eventloop/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/green/eventloop/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/devices/monitoredqueue.pxd -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/backend/cython/socket.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/context.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/checkrc.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/libzmq.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/message.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/constants.pxi -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/constant_enums.pxi -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cffi/_cdefs.h -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/_verify.c -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/utils/buffers.pxd -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/ipcmaxlen.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/mutex.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/zmq_compat.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/pyversion_compat.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/getpid_compat.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/zmq_constants.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
running build_ext | |
running configure | |
Did not find libzmq via pkg-config. | |
{'libraries': ['zmq'], 'extra_link_args': [], 'runtime_library_dirs': ['/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib'], 'library_dirs': ['/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib'], 'include_dirs': ['/autofs/nccs-svm1_home1/vivekb/ves/ve-test/include']} | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/autofs/nccs-svm1_home1/vivekb/ves/ve-test/include -c build/temp.linux-ppc64le-2.7/scratch/check_sys_un.c -o build/temp.linux-ppc64le-2.7/scratch/check_sys_un.o | |
/usr/bin/gcc -pthread build/temp.linux-ppc64le-2.7/scratch/check_sys_un.o -L/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib -Wl,-R/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib -o build/temp.linux-ppc64le-2.7/scratch/check_sys_un | |
************************************************ | |
Configure: Autodetecting ZMQ settings... | |
Custom ZMQ dir: | |
creating build/temp.linux-ppc64le-2.7/scratch/tmp | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/timer_createksbHSe.c -o build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createksbHSe.o | |
/tmp/timer_createksbHSe.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] | |
main (int argc, char **argv) { | |
^ | |
/tmp/timer_createksbHSe.c: In function 'main': | |
/tmp/timer_createksbHSe.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] | |
timer_create(); | |
^ | |
/tmp/timer_createksbHSe.c:3:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
/usr/bin/gcc -pthread build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createksbHSe.o -o build/temp.linux-ppc64le-2.7/scratch/a.out | |
build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createksbHSe.o: In function `main': | |
/tmp/timer_createksbHSe.c:2: undefined reference to `timer_create' | |
/usr/bin/ld: link errors found, deleting executable `build/temp.linux-ppc64le-2.7/scratch/a.out' | |
/usr/bin/sha1sum: build/temp.linux-ppc64le-2.7/scratch/a.out: No such file or directory | |
collect2: error: ld returned 1 exit status | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/autofs/nccs-svm1_home1/vivekb/ves/ve-test/include -Izmq/utils -Izmq/backend/cython -Izmq/devices -c build/temp.linux-ppc64le-2.7/scratch/vers.c -o build/temp.linux-ppc64le-2.7/scratch/vers.o | |
build/temp.linux-ppc64le-2.7/scratch/vers.c:4:17: fatal error: zmq.h: No such file or directory | |
#include "zmq.h" | |
^ | |
compilation terminated. | |
error: command '/usr/bin/gcc' failed with exit status 1 | |
Failed with default libzmq, trying again with /usr/local | |
{'libraries': ['zmq'], 'extra_link_args': [], 'runtime_library_dirs': ['/usr/local/lib'], 'library_dirs': ['/usr/local/lib'], 'include_dirs': ['/usr/local/include']} | |
************************************************ | |
Configure: Autodetecting ZMQ settings... | |
Custom ZMQ dir: /usr/local | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/timer_createBSrvwG.c -o build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createBSrvwG.o | |
/tmp/timer_createBSrvwG.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] | |
main (int argc, char **argv) { | |
^ | |
/tmp/timer_createBSrvwG.c: In function 'main': | |
/tmp/timer_createBSrvwG.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] | |
timer_create(); | |
^ | |
/tmp/timer_createBSrvwG.c:3:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
Assembler messages: | |
Fatal error: can't create build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createBSrvwG.o: No such file or directory | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -Izmq/utils -Izmq/backend/cython -Izmq/devices -c build/temp.linux-ppc64le-2.7/scratch/vers.c -o build/temp.linux-ppc64le-2.7/scratch/vers.o | |
build/temp.linux-ppc64le-2.7/scratch/vers.c:4:17: fatal error: zmq.h: No such file or directory | |
#include "zmq.h" | |
^ | |
compilation terminated. | |
error: command '/usr/bin/gcc' failed with exit status 1 | |
************************************************ | |
Warning: Couldn't find an acceptable libzmq on the system. | |
If you expected pyzmq to link against an installed libzmq, please check to make sure: | |
* You have a C compiler installed | |
* A development version of Python is installed (including headers) | |
* A development version of ZMQ >= 3.2 is installed (including headers) | |
* If ZMQ is not in a default location, supply the argument --zmq=<path> | |
* If you did recently install ZMQ to a default location, | |
try rebuilding the ld cache with `sudo ldconfig` | |
or specify zmq's location with `--zmq=/usr/local` | |
You can skip all this detection/waiting nonsense if you know | |
you want pyzmq to bundle libzmq as an extension by passing: | |
`--zmq=bundled` | |
I will now try to build libzmq as a Python extension | |
unless you interrupt me (^C) in the next 10 seconds... | |
1... | |
************************************************ | |
Using bundled libzmq | |
already have bundled/zeromq | |
attempting ./configure to generate platform.hpp | |
Warning: failed to configure libzmq: | |
/bin/sh: ./configure: No such file or directory | |
staging platform.hpp from: buildutils/include_linux | |
************************************************ | |
checking for timer_create | |
creating build/temp.linux-ppc64le-2.7/tmp | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/timer_create5jVAHZ.c -o build/temp.linux-ppc64le-2.7/tmp/timer_create5jVAHZ.o | |
/tmp/timer_create5jVAHZ.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] | |
main (int argc, char **argv) { | |
^ | |
/tmp/timer_create5jVAHZ.c: In function 'main': | |
/tmp/timer_create5jVAHZ.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] | |
timer_create(); | |
^ | |
/tmp/timer_create5jVAHZ.c:3:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
/usr/bin/gcc -pthread build/temp.linux-ppc64le-2.7/tmp/timer_create5jVAHZ.o -o build/temp.linux-ppc64le-2.7/a.out | |
build/temp.linux-ppc64le-2.7/tmp/timer_create5jVAHZ.o: In function `main': | |
/tmp/timer_create5jVAHZ.c:2: undefined reference to `timer_create' | |
/usr/bin/ld: link errors found, deleting executable `build/temp.linux-ppc64le-2.7/a.out' | |
/usr/bin/sha1sum: build/temp.linux-ppc64le-2.7/a.out: No such file or directory | |
collect2: error: ld returned 1 exit status | |
no timer_create, linking librt | |
************************************************ | |
building 'zmq.libzmq' extension | |
creating build/temp.linux-ppc64le-2.7/buildutils | |
creating build/temp.linux-ppc64le-2.7/bundled | |
creating build/temp.linux-ppc64le-2.7/bundled/zeromq | |
creating build/temp.linux-ppc64le-2.7/bundled/zeromq/src | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -Ibundled/zeromq/include -Ibundled -I/autofs/nccs-svm1_sw/summitdev/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/python-2.7.15-jhok7d6zokcxqb27ze7bv2pnn2b4qvbp/include/python2.7 -c buildutils/initlibzmq.c -o build/temp.linux-ppc64le-2.7/buildutils/initlibzmq.o | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -Ibundled/zeromq/include -Ibundled -I/autofs/nccs-svm1_sw/summitdev/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/python-2.7.15-jhok7d6zokcxqb27ze7bv2pnn2b4qvbp/include/python2.7 -c bundled/zeromq/src/server.cpp -o build/temp.linux-ppc64le-2.7/bundled/zeromq/src/server.o | |
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] | |
In file included from bundled/zeromq/src/options.hpp:38:0, | |
from bundled/zeromq/src/own.hpp:37, | |
from bundled/zeromq/src/socket_base.hpp:37, | |
from bundled/zeromq/src/server.hpp:35, | |
from bundled/zeromq/src/server.cpp:32: | |
bundled/zeromq/src/atomic_ptr.hpp: In member function 'int zmq::atomic_value_t::load() const': | |
bundled/zeromq/src/atomic_ptr.hpp:271:9: error: invalid initialization of reference of type 'zmq::mutex_t&' from expression of type 'const zmq::mutex_t' | |
); | |
^ | |
bundled/zeromq/src/atomic_ptr.hpp:116:14: error: in passing argument 4 of 'void* zmq::atomic_cas(void* volatile*, void*, void*, zmq::mutex_t&)' | |
inline void *atomic_cas (void *volatile *ptr_, | |
^ | |
error: command '/usr/bin/gcc' failed with exit status 1 | |
---------------------------------------- | |
Failed building wheel for pyzmq | |
Running setup.py clean for pyzmq | |
Failed to build pyzmq | |
Installing collected packages: pyzmq | |
Running setup.py install for pyzmq ... error | |
Complete output from command /autofs/nccs-svm1_home1/vivekb/ves/ve-test/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-nMhGh8/pyzmq/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-alatSG/install-record.txt --single-version-externally-managed --compile --install-headers /autofs/nccs-svm1_home1/vivekb/ves/ve-test/include/site/python2.7/pyzmq: | |
running install | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-ppc64le-2.7 | |
creating build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/decorators.py -> build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/__init__.py -> build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/_future.py -> build/lib.linux-ppc64le-2.7/zmq | |
copying zmq/error.py -> build/lib.linux-ppc64le-2.7/zmq | |
creating build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/basedevice.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/proxydevice.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/devices/monitoredqueue.py -> build/lib.linux-ppc64le-2.7/zmq/devices | |
creating build/lib.linux-ppc64le-2.7/zmq/log | |
copying zmq/log/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/log | |
copying zmq/log/handlers.py -> build/lib.linux-ppc64le-2.7/zmq/log | |
creating build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/zmqstream.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/future.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
copying zmq/eventloop/_deprecated.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop | |
creating build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/util.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/log.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/stack_context.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
copying zmq/eventloop/minitornado/concurrent.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado | |
creating build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/common.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.linux-ppc64le-2.7/zmq/eventloop/minitornado/platform | |
creating build/lib.linux-ppc64le-2.7/zmq/ssh | |
copying zmq/ssh/forward.py -> build/lib.linux-ppc64le-2.7/zmq/ssh | |
copying zmq/ssh/tunnel.py -> build/lib.linux-ppc64le-2.7/zmq/ssh | |
copying zmq/ssh/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/ssh | |
creating build/lib.linux-ppc64le-2.7/zmq/backend | |
copying zmq/backend/select.py -> build/lib.linux-ppc64le-2.7/zmq/backend | |
copying zmq/backend/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/backend | |
creating build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
creating build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/devices.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/socket.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/_cffi.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/utils.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/context.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/message.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/constants.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/error.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/_poll.py -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
creating build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/garbage.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/z85.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/jsonapi.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/interop.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/constant_names.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/win32.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/sixcerpt.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/monitor.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/strtypes.py -> build/lib.linux-ppc64le-2.7/zmq/utils | |
creating build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_win32_shim.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_poll.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_monqueue.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_constants.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_pair.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_device.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_context.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_multipart.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_reqrep.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_error.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_z85.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_retry_eintr.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_ssh.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_log.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_draft.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_socket.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_imports.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_cffi_backend.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_message.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_zmqstream.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_future.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_includes.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_auth.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_pubsub.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_etc.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_decorators.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_security.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_monitor.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_version.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
copying zmq/tests/test_ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/tests | |
creating build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/base.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/certs.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
copying zmq/auth/thread.py -> build/lib.linux-ppc64le-2.7/zmq/auth | |
creating build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/socket.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/poll.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/tracker.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/frame.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/context.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/stopwatch.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/constants.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/attrsettr.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
copying zmq/sugar/version.py -> build/lib.linux-ppc64le-2.7/zmq/sugar | |
creating build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/poll.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/core.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
copying zmq/green/device.py -> build/lib.linux-ppc64le-2.7/zmq/green | |
creating build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/green/eventloop/zmqstream.py -> build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/green/eventloop/ioloop.py -> build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/green/eventloop/__init__.py -> build/lib.linux-ppc64le-2.7/zmq/green/eventloop | |
copying zmq/devices/monitoredqueue.pxd -> build/lib.linux-ppc64le-2.7/zmq/devices | |
copying zmq/backend/cython/socket.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/context.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/checkrc.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/libzmq.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/message.pxd -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/constants.pxi -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cython/constant_enums.pxi -> build/lib.linux-ppc64le-2.7/zmq/backend/cython | |
copying zmq/backend/cffi/_cdefs.h -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/backend/cffi/_verify.c -> build/lib.linux-ppc64le-2.7/zmq/backend/cffi | |
copying zmq/utils/buffers.pxd -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/ipcmaxlen.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/mutex.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/zmq_compat.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/pyversion_compat.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/getpid_compat.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
copying zmq/utils/zmq_constants.h -> build/lib.linux-ppc64le-2.7/zmq/utils | |
running build_ext | |
running configure | |
Did not find libzmq via pkg-config. | |
{'libraries': ['zmq'], 'extra_link_args': [], 'runtime_library_dirs': ['/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib'], 'library_dirs': ['/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib'], 'include_dirs': ['/autofs/nccs-svm1_home1/vivekb/ves/ve-test/include']} | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/autofs/nccs-svm1_home1/vivekb/ves/ve-test/include -c build/temp.linux-ppc64le-2.7/scratch/check_sys_un.c -o build/temp.linux-ppc64le-2.7/scratch/check_sys_un.o | |
/usr/bin/gcc -pthread build/temp.linux-ppc64le-2.7/scratch/check_sys_un.o -L/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib -Wl,-R/autofs/nccs-svm1_home1/vivekb/ves/ve-test/lib -o build/temp.linux-ppc64le-2.7/scratch/check_sys_un | |
************************************************ | |
Configure: Autodetecting ZMQ settings... | |
Custom ZMQ dir: | |
creating build/temp.linux-ppc64le-2.7/scratch/tmp | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/timer_createvIoZwG.c -o build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createvIoZwG.o | |
/tmp/timer_createvIoZwG.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] | |
main (int argc, char **argv) { | |
^ | |
/tmp/timer_createvIoZwG.c: In function 'main': | |
/tmp/timer_createvIoZwG.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] | |
timer_create(); | |
^ | |
/tmp/timer_createvIoZwG.c:3:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
/usr/bin/gcc -pthread build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createvIoZwG.o -o build/temp.linux-ppc64le-2.7/scratch/a.out | |
build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createvIoZwG.o: In function `main': | |
/tmp/timer_createvIoZwG.c:2: undefined reference to `timer_create' | |
/usr/bin/ld: link errors found, deleting executable `build/temp.linux-ppc64le-2.7/scratch/a.out' | |
/usr/bin/sha1sum: build/temp.linux-ppc64le-2.7/scratch/a.out: No such file or directory | |
collect2: error: ld returned 1 exit status | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/autofs/nccs-svm1_home1/vivekb/ves/ve-test/include -Izmq/utils -Izmq/backend/cython -Izmq/devices -c build/temp.linux-ppc64le-2.7/scratch/vers.c -o build/temp.linux-ppc64le-2.7/scratch/vers.o | |
build/temp.linux-ppc64le-2.7/scratch/vers.c:4:17: fatal error: zmq.h: No such file or directory | |
#include "zmq.h" | |
^ | |
compilation terminated. | |
error: command '/usr/bin/gcc' failed with exit status 1 | |
Failed with default libzmq, trying again with /usr/local | |
{'libraries': ['zmq'], 'extra_link_args': [], 'runtime_library_dirs': ['/usr/local/lib'], 'library_dirs': ['/usr/local/lib'], 'include_dirs': ['/usr/local/include']} | |
************************************************ | |
Configure: Autodetecting ZMQ settings... | |
Custom ZMQ dir: /usr/local | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/timer_createJO0vnn.c -o build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createJO0vnn.o | |
/tmp/timer_createJO0vnn.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] | |
main (int argc, char **argv) { | |
^ | |
/tmp/timer_createJO0vnn.c: In function 'main': | |
/tmp/timer_createJO0vnn.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] | |
timer_create(); | |
^ | |
/tmp/timer_createJO0vnn.c:3:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
Assembler messages: | |
Fatal error: can't create build/temp.linux-ppc64le-2.7/scratch/tmp/timer_createJO0vnn.o: No such file or directory | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -Izmq/utils -Izmq/backend/cython -Izmq/devices -c build/temp.linux-ppc64le-2.7/scratch/vers.c -o build/temp.linux-ppc64le-2.7/scratch/vers.o | |
build/temp.linux-ppc64le-2.7/scratch/vers.c:4:17: fatal error: zmq.h: No such file or directory | |
#include "zmq.h" | |
^ | |
compilation terminated. | |
error: command '/usr/bin/gcc' failed with exit status 1 | |
************************************************ | |
Warning: Couldn't find an acceptable libzmq on the system. | |
If you expected pyzmq to link against an installed libzmq, please check to make sure: | |
* You have a C compiler installed | |
* A development version of Python is installed (including headers) | |
* A development version of ZMQ >= 3.2 is installed (including headers) | |
* If ZMQ is not in a default location, supply the argument --zmq=<path> | |
* If you did recently install ZMQ to a default location, | |
try rebuilding the ld cache with `sudo ldconfig` | |
or specify zmq's location with `--zmq=/usr/local` | |
You can skip all this detection/waiting nonsense if you know | |
you want pyzmq to bundle libzmq as an extension by passing: | |
`--zmq=bundled` | |
I will now try to build libzmq as a Python extension | |
unless you interrupt me (^C) in the next 10 seconds... | |
1... | |
************************************************ | |
Using bundled libzmq | |
already have bundled/zeromq | |
already have platform.hpp | |
************************************************ | |
checking for timer_create | |
creating build/temp.linux-ppc64le-2.7/tmp | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/timer_createcLZk38.c -o build/temp.linux-ppc64le-2.7/tmp/timer_createcLZk38.o | |
/tmp/timer_createcLZk38.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] | |
main (int argc, char **argv) { | |
^ | |
/tmp/timer_createcLZk38.c: In function 'main': | |
/tmp/timer_createcLZk38.c:2:5: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] | |
timer_create(); | |
^ | |
/tmp/timer_createcLZk38.c:3:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
/usr/bin/gcc -pthread build/temp.linux-ppc64le-2.7/tmp/timer_createcLZk38.o -o build/temp.linux-ppc64le-2.7/a.out | |
build/temp.linux-ppc64le-2.7/tmp/timer_createcLZk38.o: In function `main': | |
/tmp/timer_createcLZk38.c:2: undefined reference to `timer_create' | |
/usr/bin/ld: link errors found, deleting executable `build/temp.linux-ppc64le-2.7/a.out' | |
/usr/bin/sha1sum: build/temp.linux-ppc64le-2.7/a.out: No such file or directory | |
collect2: error: ld returned 1 exit status | |
no timer_create, linking librt | |
************************************************ | |
building 'zmq.libzmq' extension | |
creating build/temp.linux-ppc64le-2.7/buildutils | |
creating build/temp.linux-ppc64le-2.7/bundled | |
creating build/temp.linux-ppc64le-2.7/bundled/zeromq | |
creating build/temp.linux-ppc64le-2.7/bundled/zeromq/src | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -Ibundled/zeromq/include -Ibundled -I/autofs/nccs-svm1_sw/summitdev/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/python-2.7.15-jhok7d6zokcxqb27ze7bv2pnn2b4qvbp/include/python2.7 -c buildutils/initlibzmq.c -o build/temp.linux-ppc64le-2.7/buildutils/initlibzmq.o | |
/usr/bin/gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -Ibundled/zeromq/include -Ibundled -I/autofs/nccs-svm1_sw/summitdev/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/python-2.7.15-jhok7d6zokcxqb27ze7bv2pnn2b4qvbp/include/python2.7 -c bundled/zeromq/src/server.cpp -o build/temp.linux-ppc64le-2.7/bundled/zeromq/src/server.o | |
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] | |
In file included from bundled/zeromq/src/options.hpp:38:0, | |
from bundled/zeromq/src/own.hpp:37, | |
from bundled/zeromq/src/socket_base.hpp:37, | |
from bundled/zeromq/src/server.hpp:35, | |
from bundled/zeromq/src/server.cpp:32: | |
bundled/zeromq/src/atomic_ptr.hpp: In member function 'int zmq::atomic_value_t::load() const': | |
bundled/zeromq/src/atomic_ptr.hpp:271:9: error: invalid initialization of reference of type 'zmq::mutex_t&' from expression of type 'const zmq::mutex_t' | |
); | |
^ | |
bundled/zeromq/src/atomic_ptr.hpp:116:14: error: in passing argument 4 of 'void* zmq::atomic_cas(void* volatile*, void*, void*, zmq::mutex_t&)' | |
inline void *atomic_cas (void *volatile *ptr_, | |
^ | |
error: command '/usr/bin/gcc' failed with exit status 1 | |
---------------------------------------- | |
Command "/autofs/nccs-svm1_home1/vivekb/ves/ve-test/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-nMhGh8/pyzmq/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-alatSG/install-record.txt --single-version-externally-managed --compile --install-headers /autofs/nccs-svm1_home1/vivekb/ves/ve-test/include/site/python2.7/pyzmq" failed with error code 1 in /tmp/pip-install-nMhGh8/pyzmq/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment