On Thu, Feb 10, 2011 at 9:23 AM, Pieter Hintjens <[email protected]> wrote:
> To continue the ZFL updates, the library now builds on Windows (MS
> Visual Studio 2008, at least).
>

Trying to build ZFL on FreeBSD 7.2 against current (few minutes ago)
git version of libzmq.

First problem: the configure script does not look in /usr/local/lib
(default install directory for libzmq) when testing for zmq_init
existence.

Once past that (hand hacked the configure script to look in
-L/usr/local/lib), the src/Makefile hard-codes -DLINUX in the
CPPFLAGS, causing build error when looking for mcheck.h.

Once past that (hand-hacked to change to -DFreeBSD), I get this:

zfl_config_json.c:29:17: error: zmq.h: No such file or directory

Once past that (hand hack src/Makefile to add -I/usr/local/include to
INCLUDES), I get this:

/usr/bin/ld: cannot find -lzmq

The fix for which is to edit src/Makefile and add -L/usr/local/lib to LIBS.

Finally repeat all three hacks above in the examples/Makefile as well.


Actually one more... the src/selftest script needs -I and -L flags to
find libzmq files as well... and of course mtrace doesn't exist here,
but at least the zfl_selftest will run and say "all ok" if you run it
by hand. The script cannot find it becuase "." is not in my path.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to