zeromq / zeromq4-1

ZeroMQ 4.1.x stable release branch - bug fixes only
GNU General Public License v3.0
125 stars 137 forks source link

--with-libsodium=no does nothing as of aefc5d1 #66

Open alexforster opened 8 years ago

alexforster commented 8 years ago

I am no longer able to compile libsodium using --with-libsodium=no on the master branch.

root@debian:~/deps/zmq# ./configure --with-libsodium=no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
...
...
checking whether time.h and sys/time.h may both be included... yes
checking for uint32_t... yes
checking for working volatile... yes
./configure: line 19268: syntax error near unexpected token `sodium,'
./configure: line 19268: `    PKG_CHECK_MODULES(sodium, libsodium, have_sodium_library="yes")'
jeremypagley commented 8 years ago

@AlexForster I am having this Issue how did you end up fixing this?

dharmajaya commented 8 years ago

Hi @AlexForster am using ubuntu 14.10 and centos 7. I am trying to setup the zeromq on both systems. i had downloaded from git hub zeromq and extract to local. if i ran the command ./configure finally i get the error as ./configure: line 19863: syntax error near unexpected token `sodium,'

I had setup with libsodium in /usr/local/src/libsodium-1.7.0 . But again i am getting the same error. Can you please help to solve the problem.

I want to bind with java and i need to test with publisher / subscriber zeromq test. if you know any docs step by step please help to solve that .

Thanks and Regards, Dharmaraja.k

CommanderBubble commented 8 years ago

shouldn't the switch be --without-libsodium? i just tested that it works on mingw, but i can't test ubuntu.

hintjens commented 8 years ago

Confirmed still broken in zeromq4-1 configure.ac.

jzee commented 8 years ago

worked for me on mingw and ubuntu 14.04 using --without-libsodium, thanks @CommanderBubble