tkn-tub / ns3-gym

ns3-gym - The Playground for Reinforcement Learning in Networking Research
GNU General Public License v2.0
540 stars 199 forks source link

Unable to Build (./waf build ) #38

Open Pranav-India opened 3 years ago

Pranav-India commented 3 years ago

Hii @pgawlowicz I am using the Ubuntu 18.04 ,python 3 venv . I have completed the step 1 and 2 of the installation.

when I enter the command below I am getting the following results "./waf configure"

Checking for compilation flag -Wl,--soname=foo support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wl,--soname=foo', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_2d2e3b7e2aaf23c37c2f65bb5c94895a/testbuild/test.cpp.1.o'] ok Checking for compilation flag -std=c++11 support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_2d2e3b7e2aaf23c37c2f65bb5c94895a/testbuild/test.cpp.1.o'] ok Checking for program 'python' : /home/pranav/tf_1/bin/python 10:12:43 runner ['/home/pranav/tf_1/bin/python', '-c', 'import imp;print(imp.get_tag())'] 10:12:43 runner ['/home/pranav/tf_1/bin/python', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] 10:12:43 runner ['/home/pranav/tf_1/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr/local') or ''))"] 10:12:43 runner ['/home/pranav/tf_1/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0, prefix='/usr/local') or ''))"] Checking for python version >= 2.3 : 3.6.9 10:12:43 runner ['/home/pranav/tf_1/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_config_var('prefix') or ''))\nprint(repr(get_config_var('SO') or ''))\nprint(repr(get_config_var('LDFLAGS') or ''))\nprint(repr(get_config_var('LIBDIR') or ''))\nprint(repr(get_config_var('LIBPL') or ''))\nprint(repr(get_config_var('INCLUDEPY') or ''))\nprint(repr(get_config_var('Py_ENABLE_SHARED') or ''))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET') or ''))\nprint(repr(get_config_var('LDSHARED') or ''))\nprint(repr(get_config_var('CFLAGS') or ''))\nprint(repr(get_config_var('LDVERSION') or ''))"] python-config : /usr/bin/python3.6-config Asking python-config for pyembed '--cflags --libs --ldflags' flags : 10:12:43 runner ['/usr/bin/python3.6-config', '--cflags', '--libs', '--ldflags'] yes Testing pyembed configuration : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-g', '-fdebug-prefix-map=/build/python3.6-e9shER/python3.6-3.6.9=.', '-fstack-protector', '-g', '-fwrapv', '-O3', '-I/usr/include/python3.6m', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python3.6/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3.6/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_664d4af7ee48b7615e673fe6e142fd3e/testbuild/test.cpp.1.o'] 10:12:43 runner ['/usr/bin/g++', '-Xlinker', '-export-dynamic', '-Wl,-O1', '-Wl,-Bsymbolic-functions', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_664d4af7ee48b7615e673fe6e142fd3e/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu', '-L/usr/lib', '-lpython3.6m', '-lpthread', '-ldl', '-lutil', '-lm', '-lpython3.6m', '-lpthread', '-ldl', '-lutil', '-lm'] yes Asking python-config for pyext '--cflags --libs --ldflags' flags : 10:12:43 runner ['/usr/bin/python3.6-config', '--cflags', '--libs', '--ldflags'] yes Testing pyext configuration : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-fPIC', '-g', '-fdebug-prefix-map=/build/python3.6-e9shER/python3.6-3.6.9=.', '-fstack-protector', '-g', '-fwrapv', '-O3', '-I/usr/include/python3.6m', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python3.6/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3.6/site-packages"', '-DHAVE_PYEMBED=1', '-DNDEBUG', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_05d4a195eadd9c1930fcf232f478e88d/testbuild/test.cpp.1.o'] 10:12:43 runner ['/usr/bin/g++', '-shared', '-Xlinker', '-export-dynamic', '-Wl,-O1', '-Wl,-Bsymbolic-functions', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_05d4a195eadd9c1930fcf232f478e88d/testbuild/testprog.cpython-36m-x86_64-linux-gnu.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu', '-L/usr/lib', '-lpython3.6m', '-lpthread', '-ldl', '-lutil', '-lm', '-lpython3.6m', '-lpthread', '-ldl', '-lutil', '-lm'] yes Checking for compilation flag -fvisibility=hidden support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-fvisibility=hidden', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python3.6/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3.6/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_2d2e3b7e2aaf23c37c2f65bb5c94895a/testbuild/test.cpp.1.o'] ok Checking for compilation flag -Wno-array-bounds support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-array-bounds', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python3.6/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3.6/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_2d2e3b7e2aaf23c37c2f65bb5c94895a/testbuild/test.cpp.1.o'] ok Checking for pybindgen location : not found Checking for python module 'pybindgen' : 10:12:43 runner ['/home/pranav/tf_1/bin/python', '-c', "\nimport pybindgen as current_module\nversion = getattr(current_module, 'version', None)\nif version is not None:\n\tprint(str(version))\nelse:\n\tprint('unknown version')\n"] not found pybindgen missing => no python bindings Checking boost includes : 1_65_1 path : /usr/include Checking boost libs : ok path : /usr/lib/x86_64-linux-gnu shared libs : ['boost_system', 'boost_signals', 'boost_filesystem'] static libs : [] Checking for boost linkage : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:43 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-I/usr/include', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python3.6/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3.6/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_49ed79c1b1ce43c64afd028f399eb89a/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_49ed79c1b1ce43c64afd028f399eb89a/testbuild/testprog', '-Wl,-Bstatic', '-L/usr/lib/x86_64-linux-gnu', '-Wl,-Bdynamic', '-L/usr/lib/x86_64-linux-gnu', '-lboost_system', '-lboost_signals', '-lboost_filesystem'] ok Checking for click location : not found Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for 'gtk+-3.0' : 10:12:44 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'gtk+-3.0'] yes Checking for 'libxml-2.0' : 10:12:44 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'libxml-2.0'] yes checking for uint128_t : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_38df2785b42b8c92055f37c9fd370eb8/testbuild/test.cpp.1.o'] not found checking for uint128_t : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_8d5a03a6a9f7bc11746aaf461f984756/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_8d5a03a6a9f7bc11746aaf461f984756/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking high precision implementation : 128-bit integer (default) Checking for header stdint.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_1a09cfc9fb45f914d2e304bf133ccb1d/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_1a09cfc9fb45f914d2e304bf133ccb1d/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header inttypes.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_ca7dee785331fddfa339d046fe382963/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_ca7dee785331fddfa339d046fe382963/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header sys/inttypes.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_4bc4c71d7ce7674d3dffabbc31459be4/testbuild/test.cpp.1.o'] not found Checking for header sys/types.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_0cf257edca2f78886c39a7e4ba0393fc/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_0cf257edca2f78886c39a7e4ba0393fc/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header sys/stat.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_ae11500baf6d9e3fa1211e25e7f294a6/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_ae11500baf6d9e3fa1211e25e7f294a6/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header dirent.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_8465d2110fa93e2611a8e57b723c6e6d/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_8465d2110fa93e2611a8e57b723c6e6d/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header stdlib.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_368f0e7e9a2a6ca651dbf9dbe14ddaa9/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_368f0e7e9a2a6ca651dbf9dbe14ddaa9/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header signal.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_81c374c25b0bd71b96f72a2eb280a9aa/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_81c374c25b0bd71b96f72a2eb280a9aa/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header pthread.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-pthread', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_48845281135807b8b82361ece0817d11/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', '-pthread', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_48845281135807b8b82361ece0817d11/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header stdint.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_1a09cfc9fb45f914d2e304bf133ccb1d/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_1a09cfc9fb45f914d2e304bf133ccb1d/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header inttypes.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_ca7dee785331fddfa339d046fe382963/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_ca7dee785331fddfa339d046fe382963/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header sys/inttypes.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_4bc4c71d7ce7674d3dffabbc31459be4/testbuild/test.cpp.1.o'] not found Checking for library rt : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-pthread', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOGENABLE', '-DHAVEUINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_e96e3fa387a9ef31b206f8f5b7829ec9/testbuild/test.cpp.1.o'] 10:12:44 runner ['/usr/bin/g++', '-pthread', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_e96e3fa387a9ef31b206f8f5b7829ec9/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt'] yes Checking for header sys/ioctl.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:44 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_66e7d865aa490befd8e20853fe9e7725/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_66e7d865aa490befd8e20853fe9e7725/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header net/if.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_a25d5372b011302189a0dd6f6335481f/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_a25d5372b011302189a0dd6f6335481f/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header net/ethernet.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_fc76bd279eb6cf75d3546d7daed38827/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_fc76bd279eb6cf75d3546d7daed38827/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header linux/if_tun.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_3dba81d6c88a83b820fc8e418fe16503/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_3dba81d6c88a83b820fc8e418fe16503/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for header netpacket/packet.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_IF_TUN_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_a3b6c137e13244520e808e84efc1f3ef/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_a3b6c137e13244520e808e84efc1f3ef/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes Checking for NSC location : not found Checking for OpenFlow location : not found Checking for library zmq : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_PACKET_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_126c90c03e30a19a2a733e834b6fa12f/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_126c90c03e30a19a2a733e834b6fa12f/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lzmq'] yes Checking for library protobuf : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_6629fe86b8034aed1e91a4eb2b0d78f4/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_6629fe86b8034aed1e91a4eb2b0d78f4/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lprotobuf'] yes Checking for program 'protoc' : /usr/bin/protoc Checking for protoc version : 3.6.1 Build ns3gym Protobuf C++ messages : Done Build ns3gym Protobuf Python messages : Done Checking for 'sqlite3' : 10:12:45 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'sqlite3'] yes Checking for header linux/if_tun.h : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '-DHAVE_PROTOBUF=1', '-DHAVE_SQLITE3=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_3dba81d6c88a83b820fc8e418fe16503/testbuild/test.cpp.1.o'] 10:12:45 runner ['/usr/bin/g++', '-lzmq', '-lprotobuf', 'test.cpp.1.o', '-o/home/pranav/ns3-gym/build/.conf_check_3dba81d6c88a83b820fc8e418fe16503/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lzmq', '-lprotobuf'] yes Checking for program 'sudo' : /usr/bin/sudo Checking for program 'valgrind' : not found Checking for 'gsl' : 10:12:45 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'gsl'] not found python-config : not found Checking for compilation flag -fstrict-aliasing support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '-DHAVE_PROTOBUF=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_2d2e3b7e2aaf23c37c2f65bb5c94895a/testbuild/test.cpp.1.o'] ok Checking for compilation flag -fstrict-aliasing support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/gcc', '-fstrict-aliasing', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '-DHAVE_PROTOBUF=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.c', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_c8c7e0913edff928fbeb53a38a395fb0/testbuild/test.c.1.o'] ok Checking for compilation flag -Wstrict-aliasing support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '-DHAVE_PROTOBUF=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.cpp', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_2d2e3b7e2aaf23c37c2f65bb5c94895a/testbuild/test.cpp.1.o'] ok Checking for compilation flag -Wstrict-aliasing support : Erroneous order constraint 'after'='link' on task class 'SuidBuild_task' Erroneous order constraint 'after'='link' on task class 'print_introspected_doxygen_task' Erroneous order constraint 'after'='link' on task class 'run_python_unit_tests_task' 10:12:45 runner ['/usr/bin/gcc', '-Wstrict-aliasing', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '-DHAVE_PROTOBUF=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.c', '-c', '-o/home/pranav/ns3-gym/build/.conf_check_c8c7e0913edff928fbeb53a38a395fb0/testbuild/test.c.1.o'] ok Checking for program 'doxygen' : not found ---- Summary of optional NS-3 features: Build profile : debug Build directory : BRITE Integration : not enabled (BRITE not enabled (see option --with-brite)) DES Metrics event collection : not enabled (defaults to disabled) Emulation FdNetDevice : enabled Examples : not enabled (defaults to disabled) File descriptor NetDevice : enabled GNU Scientific Library (GSL) : not enabled (GSL not found) Gcrypt library : not enabled (libgcrypt not found: you can use libgcrypt-config to find its location.) GtkConfigStore : enabled MPI Support : not enabled (option --enable-mpi not selected) NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick)) NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow)) Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc)) PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab)) PyViz visualizer : not enabled (Python Bindings are needed but not enabled) Python Bindings : not enabled (PyBindGen missing) Real Time Simulator : enabled SQlite stats data output : enabled Tap Bridge : enabled Tap FdNetDevice : enabled Tests : not enabled (defaults to disabled) Threading Primitives : enabled Use sudo to set suid bit : not enabled (option --enable-sudo not selected) XmlIo : enabled

also when I run " ./waf build " after above output I get

This error with Build failed Waf: Leaving directory `/home/pranav/ns3-gym/build'

Build failed -> task in 'ns3-opengym' failed with exit status 1: {task 140520639633000: cxx opengym_interface.cc -> opengym_interface.cc.1.o} ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_ZMQ=1', '-DHAVE_PROTOBUF=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../src/opengym/model/opengym_interface.cc', '-c', '-o/home/pranav/ns3-gym/build/src/opengym/model/opengym_interface.cc.1.o']

carlee0 commented 2 years ago

I don't remember if I had the same error but I did encounter build issues on Ubuntu 18.04. The reason seems to be that Ubuntu 18.04 misses a header file for zmq. Adding the header file to /usr/local/include helped.

wget https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp -P /usr/local/include