[zeromq-dev] compiling zeromq with uuid dependency
Thiago Cangussu
cangussu at gmail.com
Fri Apr 20 05:18:03 CEST 2012
Francisc,
Set LDFLAGS=-Lyour-lib-dir and CPPFLAGS=-Iyour-include-dir before running
configure. I use the libuuid from e2fsprogs[1], but should work with the
one you got.
[1] - http://www.zeromq.org/build:android
Regards,
Thiago
On Thu, Apr 19, 2012 at 3:05 AM, Francisc Simon
<francisc.simon at evalgo.com>wrote:
> Hi,
>
> I've tried yesterday to compile zeromq 2.2 on my ubuntu server.
> The result was that i alway got the error : configure: error: cannot
> link with -luuid, install uuid-dev.
> And I don't want to use apt-get install libuuid-dev, because in our case
> the installation process is part of a independent deployment model
> I hope the package i've downloaded is the right one :-)
>
> uuid-1.6.2.tar.gz from
>
> http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz
>
> My uuid folder content is:
>
> ├── bin
> │ ├── uuid
> │ └── uuid-config
> ├── include
> │ └── uuid.h
> ├── lib
> │ ├── libuuid.a
> │ ├── libuuid.la
> │ ├── libuuid.so -> libuuid.so.16.0.22
> │ ├── libuuid.so.16 -> libuuid.so.16.0.22
> │ ├── libuuid.so.16.0.22
> │ └── pkgconfig
> │ └── uuid.pc
> └── share
> └── man
> ├── man1
> │ ├── uuid.1
> │ └── uuid-config.1
> └── man3
> └── uuid.3
>
> After that I tried to compile zeromq:
> ./configure --prefix=/location/zeromq --with-uuid=/location/uuid
>
> I've also tried to set the LD_LIBRARY_PATH to /location/uuid/lib but it
> does not change anything I get the same error.
>
> By the way from my point of view it would be nice to have a --with-uuid
> section in the ./configure --help listing :-)
>
> Thx
> Frank :-)
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120420/89d534d9/attachment.htm>
More information about the zeromq-dev
mailing list