Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test simple monitor issue #246

Open
siddhinath081 opened this issue Dec 1, 2021 · 3 comments
Open

test simple monitor issue #246

siddhinath081 opened this issue Dec 1, 2021 · 3 comments

Comments

@siddhinath081
Copy link

src/tests/test_socket.cpp(600): error: in "socket/test_simple_monitor": check "tcp://0.0.0.0:0" == message.get(1) has failed [tcp://0.0.0.0:0 != tcp://127.0.0.1:44169]

I'm facing this issue.

@patrick-luck
Copy link

I am having this same issue as well on Ubuntu 20.04 LTS.

@patrick-luck
Copy link

patrick-luck commented Dec 6, 2021

I resolved this issue by doing the following commands found at the URL below. It seems that you must install czmq as well, if you are using zmqpp. The URL:
https://github.com/zeromq/czmq#building-on-linux-and-macos

sudo apt-get update

sudo apt-get install -y git build-essential libtool pkg-config autotools-dev autoconf automake cmake uuid-dev libpcre3-dev valgrind

// only execute this next line if interested in updating the man pages as well (adds to build time):
sudo apt-get install -y asciidoc

git clone git://github.com/zeromq/libzmq.git
cd libzmq
./autogen.sh
// do not specify "--with-libsodium" if you prefer to use internal tweetnacl security implementation (recommended for development)
./configure --with-libsodium
make check
sudo make install
sudo ldconfig
cd ..

git clone git://github.com/zeromq/czmq.git
cd czmq
./autogen.sh && ./configure && make check
sudo make install
sudo ldconfig
cd ..

More info can be found at the link.

@zarkin404
Copy link

zarkin404 commented Jan 18, 2023

Temporary workaround:

Comment line 600 and line 606 in src/tests/test_socket.cpp, and run the commands below:

rm build/max-g++/obj/tests/test_socket.*
make && make check

Everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants