[zeromq-dev] problems building on GNU+Linux

Marco Maggi marco.maggi-ipsu at poste.it
Fri Nov 5 20:28:33 CET 2010


"Martin Lucina" wrote:
>> I see  in "configure.in" that  the test looks  for "main"
>> while  the  test for  Cygwin  looks for  "uuid_generate":
>> looking for this function on Linux, too, should work.
>
> Good point.
>
> If  you change  configure.in to  look  for "uuid_generate"
> instead  of "main" and  re-run autogen.sh,  then configure
> again, does it use the correct libuuid?

No,  the test fails;  which is  correct, for  plain Autoconf
usage,  when a  library is  not recognised.   IMHO  the best
thing to  do is to have this  test fail if it  does not find
the  correct library  and document  the way  of  selecting a
different "lib"  directory (through the  LDFLAGS variable on
the command line of "configure").

> Alternatively, if you uninstall the OSSP libuuid (assuming
> you don't need it for something else), does configure pick
> up the correct libuuid?

Yes.

  Also, I noticed that there  is no test for the presence of
the header file.
-- 
Marco Maggi



More information about the zeromq-dev mailing list