gap-packages / ZeroMQInterface

GAP Bindings to ZeroMQ
https://gap-packages.github.io/ZeroMQInterface
GNU General Public License v2.0
2 stars 5 forks source link

Allow using installed ZeroMQ #1

Closed fingolfin closed 8 years ago

fingolfin commented 8 years ago

On my system, I have ZeroMQ 3.2.3 already installed in the system (on Mac OS X, via Fink package "libzmq4"). I was able to compile the zeromq package against that, but I had to manualy edit Makefile.am

It would be nice if its configure script had a --with-zeromq=PREFIX, similar to other configure scripts out there. Linking against a zeromq you compiled yourself locally then is just one special case.

BTW, I would in general recommend against linking against anything in a ".libs" libtool subdirectory. A better solution usually is to run the configre of the extern software (so zeromq here) with an option like --prefix=$PWD/extern/dst, then later do make && make install, and finally run zeromq's configure as ./configure --with-zeromq=$PWD/extern/dst -- well, roughly like that, I am sure you get the idea ;-)