zeromq / zmqpp

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

Configure Script Without libsodium #138

Closed JonBoyleCoding closed 8 years ago

JonBoyleCoding commented 8 years ago

On your front page you specify to do the following to compile zmqpp

./autogen.sh ./configure --with-libsodium && make

However, I don't use ZMQ4 so therefore I believe I don't need to install libsodium, however when I call ./configure without the --with-libsodium:

./configure ... ... checking for sodium... no configure: error: Package requirements (libsodium) were not met:

No package 'libsodium' found

Is libsodium now a mandatory requirement for zmqpp, or is this an error from the autogen?

xaqq commented 8 years ago

Actually the following

./autogen.sh 
./configure --with-libsodium && make

is to compile libzmq, not zmqpp.

zmqpp should work fine with a libzmq that doesn't have libsodium support.

JonBoyleCoding commented 8 years ago

I feel embarrassed now... got zmqpp properly compiled now. Thanks for the quick response!

JonBoyleCoding commented 8 years ago

To clarify, I followed the installation instructions there with the git clone (which was libzmq) rather than the actual repository. Although, I'm sure you could guess that :P