zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

Installing zmqpp - make check - /usr/bin/ld: cannot find -lboost_unit_test_framework #209

Closed bgarcial closed 6 years ago

bgarcial commented 6 years ago

I am trying install the C++ binding zmq In this README I am in the Install ZMQPP section and I type the make check command and I get the following output:

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔ 
→ **make check**                                                                                   [818f9c3]
g++  -shared -rdynamic  -Wl,-soname -Wl,libzmqpp.so.4 -o ./build/max-g++/libzmqpp.so.4 build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/zmqpp.o  -lzmq
ar crf ./build/max-g++/libzmqpp.a build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/zmqpp.o
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_inet.o src/tests/test_inet.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_z85.o src/tests/test_z85.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_context.o src/tests/test_context.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_message.o src/tests/test_message.cpp
src/tests/test_message.cpp: In member function ‘void message::add_const_part::test_method()’:
src/tests/test_message.cpp:529:32: warning: ‘void zmqpp::message::add_const(Type*, size_t) [with Type = void; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
  msg->add_const(data, data_size);
                                ^
In file included from src/tests/test_message.cpp:24:0:
./src/zmqpp/message.hpp:167:7: note: declared here
  void add_const(Type *part, size_t const data_size)
       ^~~~~~~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_auth.o src/tests/test_auth.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_actor.o src/tests/test_actor.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_load.o src/tests/test_load.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_proxy.o src/tests/test_proxy.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_loop.o src/tests/test_loop.cpp
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp: In member function ‘void loop::multiple_socket::test_method()’:
src/tests/test_loop.cpp:122:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp:156:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp: In member function ‘void loop::remove_socket_in_handler::test_method()’:
src/tests/test_loop.cpp:182:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp:212:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_socket_options.o src/tests/test_socket_options.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_socket.o src/tests/test_socket.cpp
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::multipart_pair::test_method()’:
src/tests/test_socket.cpp:167:58: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(alpha.send("hello", zmqpp::socket::send_more));
                                                          ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:168:58: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(alpha.send("world", zmqpp::socket::send_more));
                                                          ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_via_option::test_method()’:
src/tests/test_socket.cpp:199:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:201:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_helpers::test_method()’:
src/tests/test_socket.cpp:227:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:229:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:231:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:233:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch3", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:258:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:260:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:262:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_helpers_multitopic_method::test_method()’:
src/tests/test_socket.cpp:288:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:290:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:292:63: warning: ‘**bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]**
  BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:294:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  BOOST_CHECK(publisher.send("watch3", zmqpp::socket::send_more));
                                                               ^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:16"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_reactor.o src/tests/test_reactor.cpp
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp: In member function ‘void reactor::multiple_socket::test_method()’:
src/tests/test_reactor.cpp:84:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
**src/tests/test_reactor.cpp:112:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));**
                                                           ^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp: In member function ‘void reactor::remove_socket_in_handler::test_method()’:
src/tests/test_reactor.cpp:137:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
**In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp:163:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
                                                           ^**
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
  bool send(std::string const& string, int const flags);
       ^~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:17"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_sanity.o src/tests/test_sanity.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:17"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_message_stream.o src/tests/test_message_stream.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2018-02-02 16:17"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_poller.o src/tests/test_poller.cpp
g++  -o ./build/max-g++/zmqpp-tests  ./build/max-g++/obj/tests/test_inet.o  ./build/max-g++/obj/tests/test_z85.o  ./build/max-g++/obj/tests/test_context.o  ./build/max-g++/obj/tests/test_message.o  ./build/max-g++/obj/tests/test_auth.o  ./build/max-g++/obj/tests/test_actor.o  ./build/max-g++/obj/tests/test_load.o  ./build/max-g++/obj/tests/test_proxy.o  ./build/max-g++/obj/tests/test_loop.o  ./build/max-g++/obj/tests/test_socket_options.o  ./build/max-g++/obj/tests/test_socket.o  ./build/max-g++/obj/tests/test_reactor.o  ./build/max-**g++/obj/tests/test_sanity.o  ./build/max-g++/obj/tests/test_message_stream.o  ./build/max-g++/obj/tests/test_poller.o -L./build/max-g++ -lzmqpp -lboost_unit_test_framework -lpthread -lzmq
/usr/bin/ld: cannot find -lboost_unit_test_framework
collect2: error: ld returned 1 exit status
Makefile:195: recipe for target 'zmqpp-tests' failed**
make: *** [zmqpp-tests] Error 1

How to can I add or install or setup the -lboost_unit_test_framework library ? .just in case that I am in right in my appreciation problem ...

bgarcial commented 6 years ago

I tried this steps to install Boost Library http://www.boost.org/doc/libs/1_66_0/more/getting_started/unix-variants.html but does not works for me.

Then, with my apt-get package manager I install libboost-test-dev and I can solve this situation in the make check compilation step

λ bgarcial [~] → sudo apt-get install libboost-test-dev   
[sudo] password for bgarcial: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libboost-test1.62-dev libboost-test1.62.0
The following NEW packages will be installed:
  libboost-test-dev libboost-test1.62-dev libboost-test1.62.0
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 509 kB of archives.
After this operation, 5.407 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

I perform the make check step and the output it's works!

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔ 
→ make check                                               [818f9c3]
g++  -shared -rdynamic  -Wl,-soname -Wl,libzmqpp.so.4 -o ./build/max-g++/libzmqpp.so.4 build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/zmqpp.o  -lzmq
ar crf ./build/max-g++/libzmqpp.a build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/zmqpp.o
g++  -o ./build/max-g++/zmqpp-tests  ./build/max-g++/obj/tests/test_inet.o  ./build/max-g++/obj/tests/test_z85.o  ./build/max-g++/obj/tests/test_context.o  ./build/max-g++/obj/tests/test_message.o  ./build/max-g++/obj/tests/test_auth.o  ./build/max-g++/obj/tests/test_actor.o  ./build/max-g++/obj/tests/test_load.o  ./build/max-g++/obj/tests/test_proxy.o  ./build/max-g++/obj/tests/test_loop.o  ./build/max-g++/obj/tests/test_socket_options.o  ./build/max-g++/obj/tests/test_socket.o  ./build/max-g++/obj/tests/test_reactor.o  ./build/max-g++/obj/tests/test_sanity.o  ./build/max-g++/obj/tests/test_message_stream.o  ./build/max-g++/obj/tests/test_poller.o -L./build/max-g++ -lzmqpp -lboost_unit_test_framework -lpthread -lzmq
running all test targets (test-actor test-auth test-context test-inet test-load test-loop test-message test-message_stream test-poll test-proxy test-reactor test-sanity test-socket test-socket_options test-z85)
LD_LIBRARY_PATH=./build/max-g++: ./build/max-g++/zmqpp-tests
Running 116 test cases...
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=global
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: configure PLAIN - username:admin password:password
auth: API command=PLAIN
auth: configured PLAIN - user:admin
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: ZAP request mechanism=PLAIN ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (PLAIN) username=admin password=password
auth: ZAP reply status_code=200 status_text=OK user_id=admin
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: configure CURVE - client public key:CURVE_ALLOW_ANY
auth: API command=CURVE
auth: configured CURVE - allow ALL clients
Client Public Key :
Client Secret Key :
Server Public Key :
Server Secret Key :
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE allow any client)
auth: ZAP reply status_code=200 status_text=OK user_id=AYq1emkd)0S?iy&1Y$yjkkYM6?3&n^f^#4Ms8&gE
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
Client Public Key :
Client Secret Key :
Server Public Key :
Server Secret Key :
auth: configure CURVE - client public key:pkXhL(e0fKgUu)=sscv2)%yo2>2$r&F(Xe{O9G-q
auth: API command=CURVE
auth: configured CURVE - allow client with public key:pkXhL(e0fKgUu)=sscv2)%yo2>2$r&F(Xe{O9G-q
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=pkXhL(e0fKgUu)=sscv2)%yo2>2$r&F(Xe{O9G-q
auth: ZAP reply status_code=200 status_text=OK user_id=pkXhL(e0fKgUu)=sscv2)%yo2>2$r&F(Xe{O9G-q
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
Client Public Key :
Client Secret Key :
Server Public Key :
Server Secret Key :
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: configure CURVE - client public key:7@Dc7+pNcni)Z]RU-LgdhyZY.!&C6SxFiYpAw^C5
auth: API command=CURVE
auth: configured CURVE - allow client with public key:7@Dc7+pNcni)Z]RU-LgdhyZY.!&C6SxFiYpAw^C5
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=7@Dc7+pNcni)Z]RU-LgdhyZY.!&C6SxFiYpAw^C5
auth: ZAP reply status_code=200 status_text=OK user_id=7@Dc7+pNcni)Z]RU-LgdhyZY.!&C6SxFiYpAw^C5
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server

*** No errors detected

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔ 

In the sudo make install step

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔ 
→ sudo make install                                                                                                           [818f9c3]
sed 's/^Version.*/Version: 4.2.0/g' ./src/libzmqpp.pc > ./build/max-g++/libzmqpp.pc
mkdir -p /usr/local/include/zmqpp
mkdir -p /usr/local/lib
mkdir -p /usr/local/lib/pkgconfig
install -m 644 ./src/zmqpp/zap_request.hpp ./src/zmqpp/curve.hpp ./src/zmqpp/socket.hpp ./src/zmqpp/proxy.hpp ./src/zmqpp/context.hpp ./src/zmqpp/byte_ordering.hpp ./src/zmqpp/compatibility.hpp ./src/zmqpp/proxy_steerable.hpp ./src/zmqpp/socket_types.hpp ./src/zmqpp/frame.hpp ./src/zmqpp/reactor.hpp ./src/zmqpp/loop.hpp ./src/zmqpp/inet.hpp ./src/zmqpp/socket_mechanisms.hpp ./src/zmqpp/auth.hpp ./src/zmqpp/poller.hpp ./src/zmqpp/z85.hpp ./src/zmqpp/message.hpp ./src/zmqpp/actor.hpp ./src/zmqpp/signal.hpp ./src/zmqpp/zmqpp.hpp ./src/zmqpp/context_options.hpp ./src/zmqpp/socket_options.hpp ./src/zmqpp/exception.hpp /usr/local/include/zmqpp
install -m 755 ./build/max-g++/libzmqpp.so.4 /usr/local/lib/libzmqpp.so.4.2.0
install -m 755 ./build/max-g++/libzmqpp.a /usr/local/lib/libzmqpp.a
install -m 755 ./build/max-g++/libzmqpp.pc /usr/local/lib/pkgconfig/libzmqpp.pc
ln -sf libzmqpp.so.4.2.0 /usr/local/lib/libzmqpp.so.4
ln -sf libzmqpp.so.4.2.0 /usr/local/lib/libzmqpp.so
if [ -f ./build/max-g++/zmqpp ]; then install -m 755 ./build/max-g++/zmqpp /usr/local/bin; fi
use make installcheck to test the install

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔ 

And the installation test

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔ 
→ make installcheck                                                                                                           [818f9c3]
g++  -shared -rdynamic  -Wl,-soname -Wl,libzmqpp.so.4 -o ./build/max-g++/libzmqpp.so.4 build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/zmqpp.o  -lzmq
ar crf ./build/max-g++/libzmqpp.a build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/zmqpp.o
g++  -o ./build/max-g++/zmqpp-tests  ./build/max-g++/obj/tests/test_inet.o  ./build/max-g++/obj/tests/test_z85.o  ./build/max-g++/obj/tests/test_context.o  ./build/max-g++/obj/tests/test_message.o  ./build/max-g++/obj/tests/test_auth.o  ./build/max-g++/obj/tests/test_actor.o  ./build/max-g++/obj/tests/test_load.o  ./build/max-g++/obj/tests/test_proxy.o  ./build/max-g++/obj/tests/test_loop.o  ./build/max-g++/obj/tests/test_socket_options.o  ./build/max-g++/obj/tests/test_socket.o  ./build/max-g++/obj/tests/test_reactor.o  ./build/max-g++/obj/tests/test_sanity.o  ./build/max-g++/obj/tests/test_message_stream.o  ./build/max-g++/obj/tests/test_poller.o -L./build/max-g++ -lzmqpp -lboost_unit_test_framework -lpthread -lzmq
./build/max-g++/zmqpp-tests
Running 116 test cases...
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=global
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: configure PLAIN - username:admin password:password
auth: API command=PLAIN
auth: configured PLAIN - user:admin
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: ZAP request mechanism=PLAIN ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (PLAIN) username=admin password=password
auth: ZAP reply status_code=200 status_text=OK user_id=admin
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: configure CURVE - client public key:CURVE_ALLOW_ANY
auth: API command=CURVE
auth: configured CURVE - allow ALL clients
Client Public Key :
Client Secret Key :
Server Public Key :vv/d6^QE([[*)8s]Xgz0ls8o37YdLrxQIzUYK%]^
Server Secret Key :
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE allow any client)
auth: ZAP reply status_code=200 status_text=OK user_id=aX&=UChu$GyA:e.4Lxz/L5u6wE2<oCYbtiB@-XIh
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
Client Public Key :.
Client Secret Key :
Server Public Key :
Server Secret Key :
auth: configure CURVE - client public key:.
auth: API command=CURVE
auth: configured CURVE - allow client with public key:.
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=.
auth: ZAP reply status_code=200 status_text=OK user_id=.
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
Client Public Key :
Client Secret Key :
Server Public Key :do^&ZsC0Y!ETk0:r2I1-6LW4!d-rDRs?&=5@6c#K
Server Secret Key :
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: configure CURVE - client public key:
auth: API command=CURVE
auth: configured CURVE - allow client with public key:i-+ZK<#b/@AqyC#k(lAhXb^A}pZql.<JH%N}&Geb
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=i-+ZK<#b/@AqyC#k(lAhXb^A}pZql.<JH%N}&Geb
auth: ZAP reply status_code=200 status_text=OK user_id=i-+ZK<#b/@AqyC#k(lAhXb^A}pZql.<JH%N}&Geb
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server

*** No errors detected

λ bgarcial [workspace/zeromq-installers/zmqpp] at  develop ✔