[zeromq-dev] Building czmq without first installing zeromq

AJ Lewis aj.lewis at quantum.com
Fri Jun 22 18:28:20 CEST 2012


On Fri, Jun 22, 2012 at 05:04:04PM +0200, Pieter Hintjens wrote:
> On Fri, Jun 22, 2012 at 2:22 AM, Cedric Krumbein <C.Krumbein at f5.com> wrote:
> 
> > Am I to assume from that, that building czmq without first
> > installing zeromq isn't supported?
> 
> Correct, since CZMQ needs to know the version of 0MQ it's building
> against.


Easiest way to do it is build zeromq, then do a 'DESTDIR=/tmp/zmq make
install', then go to czmq and point at ${DESTDIR}/usr/local (Wherever
the lib and include dirs ended up) using the --with-libzmq flag to
czmq's configure.

so something like:

cd zeromq && ./configure && make && DESTDIR=/tmp/zmq make install
cd czmq && ./configure --with-libzmq=/tmp/zmq/usr/local && \
   make && DESTDIR=/tmp/czmq make install

Regards,
-- 
AJ Lewis
Software Engineer
Quantum Corporation

Work:    651 688-4346
email:   aj.lewis at quantum.com

----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.



More information about the zeromq-dev mailing list