Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jiridanek/0fcd09f27d379ae984b84f174986093d to your computer and use it in GitHub Desktop.
Save jiridanek/0fcd09f27d379ae984b84f174986093d to your computer and use it in GitHub Desktop.
[root@0dfa1da7227a /]# pip install --user zmq --no-binary :all:
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip install --user` instead.
Collecting zmq
Using cached https://files.pythonhosted.org/packages/6e/78/833b2808793c1619835edb1a4e17a023d5d625f4f97ff25ffff986d1f472/zmq-0.0.0.tar.gz
Collecting pyzmq (from zmq)
Using cached https://files.pythonhosted.org/packages/16/4c/762c2c3063c4d45baf4a49acea7a4f561f7b78a45cd04b58d63f4c5f6b8d/pyzmq-19.0.0.tar.gz
Installing collected packages: pyzmq, zmq
Running setup.py install for pyzmq ... error
ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-fpbocqvh/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-g1kr5iho/install-record.txt --single-version-externally-managed --compile --user --prefix=:
ERROR: running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/zmq
copying zmq/__init__.py -> build/lib.linux-x86_64-3.7/zmq
copying zmq/_future.py -> build/lib.linux-x86_64-3.7/zmq
copying zmq/decorators.py -> build/lib.linux-x86_64-3.7/zmq
copying zmq/error.py -> build/lib.linux-x86_64-3.7/zmq
creating build/lib.linux-x86_64-3.7/zmq/log
copying zmq/log/__init__.py -> build/lib.linux-x86_64-3.7/zmq/log
copying zmq/log/handlers.py -> build/lib.linux-x86_64-3.7/zmq/log
copying zmq/log/__main__.py -> build/lib.linux-x86_64-3.7/zmq/log
creating build/lib.linux-x86_64-3.7/zmq/backend
copying zmq/backend/__init__.py -> build/lib.linux-x86_64-3.7/zmq/backend
copying zmq/backend/select.py -> build/lib.linux-x86_64-3.7/zmq/backend
creating build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/__init__.py -> build/lib.linux-x86_64-3.7/zmq/backend/cython
creating build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/__init__.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/constants.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/utils.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/_poll.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/context.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/devices.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/socket.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/_cffi.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/message.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/error.py -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
creating build/lib.linux-x86_64-3.7/zmq/asyncio
copying zmq/asyncio/__init__.py -> build/lib.linux-x86_64-3.7/zmq/asyncio
creating build/lib.linux-x86_64-3.7/zmq/ssh
copying zmq/ssh/__init__.py -> build/lib.linux-x86_64-3.7/zmq/ssh
copying zmq/ssh/tunnel.py -> build/lib.linux-x86_64-3.7/zmq/ssh
copying zmq/ssh/forward.py -> build/lib.linux-x86_64-3.7/zmq/ssh
creating build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_reqrep.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_cffi_backend.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/__init__.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_poll.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_decorators.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_pair.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_pubsub.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_proxy_steerable.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_win32_shim.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_zmqstream.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_draft.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_includes.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_ssh.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_device.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_socket.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_message.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_z85.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_auth.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_imports.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_multipart.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_monqueue.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_version.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_future.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_cython.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_log.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_security.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_retry_eintr.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_context.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_error.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_monitor.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_ioloop.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_etc.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/test_constants.py -> build/lib.linux-x86_64-3.7/zmq/tests
copying zmq/tests/conftest.py -> build/lib.linux-x86_64-3.7/zmq/tests
creating build/lib.linux-x86_64-3.7/zmq/tests/asyncio
copying zmq/tests/asyncio/__init__.py -> build/lib.linux-x86_64-3.7/zmq/tests/asyncio
copying zmq/tests/asyncio/test_asyncio.py -> build/lib.linux-x86_64-3.7/zmq/tests/asyncio
copying zmq/tests/asyncio/_test_asyncio.py -> build/lib.linux-x86_64-3.7/zmq/tests/asyncio
creating build/lib.linux-x86_64-3.7/zmq/eventloop
copying zmq/eventloop/__init__.py -> build/lib.linux-x86_64-3.7/zmq/eventloop
copying zmq/eventloop/ioloop.py -> build/lib.linux-x86_64-3.7/zmq/eventloop
copying zmq/eventloop/_deprecated.py -> build/lib.linux-x86_64-3.7/zmq/eventloop
copying zmq/eventloop/zmqstream.py -> build/lib.linux-x86_64-3.7/zmq/eventloop
copying zmq/eventloop/future.py -> build/lib.linux-x86_64-3.7/zmq/eventloop
creating build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/stack_context.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/__init__.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/ioloop.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/log.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/util.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/concurrent.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado
creating build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/common.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.linux-x86_64-3.7/zmq/eventloop/minitornado/platform
creating build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/devices/__init__.py -> build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/devices/monitoredqueue.py -> build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/devices/proxysteerabledevice.py -> build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/devices/basedevice.py -> build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/devices/proxydevice.py -> build/lib.linux-x86_64-3.7/zmq/devices
creating build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/__init__.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/interop.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/z85.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/win32.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/strtypes.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/monitor.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/garbage.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/constant_names.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/jsonapi.py -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/sixcerpt.py -> build/lib.linux-x86_64-3.7/zmq/utils
creating build/lib.linux-x86_64-3.7/zmq/green
copying zmq/green/poll.py -> build/lib.linux-x86_64-3.7/zmq/green
copying zmq/green/__init__.py -> build/lib.linux-x86_64-3.7/zmq/green
copying zmq/green/core.py -> build/lib.linux-x86_64-3.7/zmq/green
copying zmq/green/device.py -> build/lib.linux-x86_64-3.7/zmq/green
creating build/lib.linux-x86_64-3.7/zmq/green/eventloop
copying zmq/green/eventloop/__init__.py -> build/lib.linux-x86_64-3.7/zmq/green/eventloop
copying zmq/green/eventloop/ioloop.py -> build/lib.linux-x86_64-3.7/zmq/green/eventloop
copying zmq/green/eventloop/zmqstream.py -> build/lib.linux-x86_64-3.7/zmq/green/eventloop
creating build/lib.linux-x86_64-3.7/zmq/auth
copying zmq/auth/__init__.py -> build/lib.linux-x86_64-3.7/zmq/auth
copying zmq/auth/ioloop.py -> build/lib.linux-x86_64-3.7/zmq/auth
copying zmq/auth/base.py -> build/lib.linux-x86_64-3.7/zmq/auth
copying zmq/auth/certs.py -> build/lib.linux-x86_64-3.7/zmq/auth
copying zmq/auth/thread.py -> build/lib.linux-x86_64-3.7/zmq/auth
creating build/lib.linux-x86_64-3.7/zmq/auth/asyncio
copying zmq/auth/asyncio/__init__.py -> build/lib.linux-x86_64-3.7/zmq/auth/asyncio
creating build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/poll.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/__init__.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/constants.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/tracker.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/context.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/socket.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/attrsettr.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/frame.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/stopwatch.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/sugar/version.py -> build/lib.linux-x86_64-3.7/zmq/sugar
copying zmq/__init__.pxd -> build/lib.linux-x86_64-3.7/zmq
copying zmq/backend/cython/context.pxd -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/__init__.pxd -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/checkrc.pxd -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/libzmq.pxd -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/message.pxd -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/socket.pxd -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/constant_enums.pxi -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cython/constants.pxi -> build/lib.linux-x86_64-3.7/zmq/backend/cython
copying zmq/backend/cffi/_cdefs.h -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/backend/cffi/_verify.c -> build/lib.linux-x86_64-3.7/zmq/backend/cffi
copying zmq/devices/monitoredqueue.pxd -> build/lib.linux-x86_64-3.7/zmq/devices
copying zmq/utils/buffers.pxd -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/pyversion_compat.h -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/zmq_compat.h -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/zmq_constants.h -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/getpid_compat.h -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/mutex.h -> build/lib.linux-x86_64-3.7/zmq/utils
copying zmq/utils/ipcmaxlen.h -> build/lib.linux-x86_64-3.7/zmq/utils
running build_ext
running configure
Did not find libzmq via pkg-config.
{'libraries': ['zmq'], 'include_dirs': [], 'library_dirs': [], 'runtime_library_dirs': [], 'extra_link_args': []}
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -c build/temp.linux-x86_64-3.7/scratch/check_sys_un.c -o build/temp.linux-x86_64-3.7/scratch/check_sys_un.o
gcc -pthread build/temp.linux-x86_64-3.7/scratch/check_sys_un.o -o build/temp.linux-x86_64-3.7/scratch/check_sys_un
************************************************
Configure: Autodetecting ZMQ settings...
Custom ZMQ dir:
Checking for timer_create
** Errors about missing timer_create are a normal part of this process **
creating build/temp.linux-x86_64-3.7/scratch/tmp
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -c /tmp/timer_create24sx29l5.c -o build/temp.linux-x86_64-3.7/scratch/tmp/timer_create24sx29l5.o
/tmp/timer_create24sx29l5.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | main (int argc, char **argv) {
| ^~~~
/tmp/timer_create24sx29l5.c: In function ‘main’:
/tmp/timer_create24sx29l5.c:2:5: warning: implicit declaration of function ‘timer_create’ [-Wimplicit-function-declaration]
2 | timer_create();
| ^~~~~~~~~~~~
gcc -pthread build/temp.linux-x86_64-3.7/scratch/tmp/timer_create24sx29l5.o -o build/temp.linux-x86_64-3.7/scratch/a.out
/usr/bin/ld: build/temp.linux-x86_64-3.7/scratch/tmp/timer_create24sx29l5.o: in function `main':
/tmp/timer_create24sx29l5.c:2: undefined reference to `timer_create'
collect2: error: ld returned 1 exit status
** The above error about timer_create is normal and not a problem! **
no timer_create, linking librt
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Izmq/utils -c build/temp.linux-x86_64-3.7/scratch/vers.c -o build/temp.linux-x86_64-3.7/scratch/vers.o
build/temp.linux-x86_64-3.7/scratch/vers.c:4:10: fatal error: zmq.h: No such file or directory
4 | #include "zmq.h"
| ^~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
Failed with default libzmq, trying again with /usr/local
{'libraries': ['zmq'], 'include_dirs': ['/usr/local/include'], 'library_dirs': ['/usr/local/lib'], 'runtime_library_dirs': ['/usr/local/lib'], 'extra_link_args': []}
************************************************
Configure: Autodetecting ZMQ settings...
Custom ZMQ dir: /usr/local
Checking for timer_create
** Errors about missing timer_create are a normal part of this process **
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -c /tmp/timer_createbwkydp7r.c -o build/temp.linux-x86_64-3.7/scratch/tmp/timer_createbwkydp7r.o
Assembler messages:
Fatal error: can't create build/temp.linux-x86_64-3.7/scratch/tmp/timer_createbwkydp7r.o: No such file or directory
/tmp/timer_createbwkydp7r.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | main (int argc, char **argv) {
| ^~~~
/tmp/timer_createbwkydp7r.c: In function ‘main’:
/tmp/timer_createbwkydp7r.c:2:5: warning: implicit declaration of function ‘timer_create’ [-Wimplicit-function-declaration]
2 | timer_create();
| ^~~~~~~~~~~~
/tmp/timer_createbwkydp7r.c: At top level:
/tmp/timer_createbwkydp7r.c:3:1: fatal error: error writing to -: Broken pipe
3 | }
| ^
compilation terminated.
** The above error about timer_create is normal and not a problem! **
no timer_create, linking librt
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/local/include -Izmq/utils -c build/temp.linux-x86_64-3.7/scratch/vers.c -o build/temp.linux-x86_64-3.7/scratch/vers.o
build/temp.linux-x86_64-3.7/scratch/vers.c:4:10: fatal error: zmq.h: No such file or directory
4 | #include "zmq.h"
| ^~~~~~~
compilation terminated.
error: command '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:
b'/bin/sh: ./configure: No such file or directory\n'
staging platform.hpp from: /tmp/pip-install-fpbocqvh/pyzmq/buildutils/include_linux
************************************************
checking for timer_create
creating build/temp.linux-x86_64-3.7/tmp
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -c /tmp/timer_createqlk4bw23.c -o build/temp.linux-x86_64-3.7/tmp/timer_createqlk4bw23.o
/tmp/timer_createqlk4bw23.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | main (int argc, char **argv) {
| ^~~~
/tmp/timer_createqlk4bw23.c: In function ‘main’:
/tmp/timer_createqlk4bw23.c:2:5: warning: implicit declaration of function ‘timer_create’ [-Wimplicit-function-declaration]
2 | timer_create();
| ^~~~~~~~~~~~
gcc -pthread build/temp.linux-x86_64-3.7/tmp/timer_createqlk4bw23.o -o build/temp.linux-x86_64-3.7/a.out
/usr/bin/ld: build/temp.linux-x86_64-3.7/tmp/timer_createqlk4bw23.o: in function `main':
/tmp/timer_createqlk4bw23.c:2: undefined reference to `timer_create'
collect2: error: ld returned 1 exit status
no timer_create, linking librt
************************************************
building 'zmq.libzmq' extension
creating build/temp.linux-x86_64-3.7/buildutils
creating build/temp.linux-x86_64-3.7/bundled
creating build/temp.linux-x86_64-3.7/bundled/zeromq
creating build/temp.linux-x86_64-3.7/bundled/zeromq/src
g++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/include/python3.7m -c buildutils/initlibzmq.cpp -o build/temp.linux-x86_64-3.7/buildutils/initlibzmq.o
unable to execute 'g++': No such file or directory
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Command "/usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-fpbocqvh/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-g1kr5iho/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-fpbocqvh/pyzmq/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment