uuid *used* to be in the e2fsprogs for most Linux variants back in the day, but I thought that was a while back and that's not the case now, there' a bit about it here:

http://en.wikipedia.org/wiki/Uuid

On my Ubuntu 11.10 box I've just checked the packages and uuid-dev is the one that has the header
/usr/include/uuid/uuid.h

The uuid package contains the executable binary uuid and associated man page
The uuid-runtime package has uuidgen and uuidd
The libuuid package  contains the libuuid.so

There are a couple of others packages for perl an ossp, but those aren't relevant


If Roberto is suggesting that he has uuid-dev installed then I'm a bit baffled. Roberto do you have a header
/usr/include/uuid/uuid.h

Looking at the CMakeLists.txt it looks like it checks for the presence of the library as well as the header - have you got libuuid installed too?

I'd be surprised if Ubuntu 12.0 was massively different to 11.10 in this, if you still get no joy it's worth doing a search for uuid in Synaptic Package Manager and seeing what it comes up with.

Frase



On 05/02/14 18:25, Ken Giusti wrote:
Actually, I seem to remember ubunutu providing uuid in the e2fsprogs package.

Struck me as odd at the time...

----- Original Message -----
From: "Justin Ross" <[email protected]>
To: [email protected]
Sent: Wednesday, February 5, 2014 12:08:48 PM
Subject: Re: error when building proton

Watch out.  On Fedora at least, there are two uuid packages,
uuid[-devel] and and libuuid[-devel].  Perhaps the same confusing
situation exists on Ubuntu.

Justin

On Wed, Feb 5, 2014 at 12:02 PM, Roberto Pagliari <[email protected]> wrote:
Hi Alan,
I have uuid-dev installed but it still cannot find it. Is there a flag on
the CMakeLists file? I can't see it when running ccmake.


Thank you,
Roberto



On Wed, Feb 5, 2014 at 11:07 AM, Alan Conway <[email protected]> wrote:

On Tue, 2014-02-04 at 17:50 -0500, Roberto Pagliari wrote:
I'm getting this error when using ccmake to build proton (on Ubuntu 12)


  CMake Error at proton-c/CMakeLists.txt:126 (message):
    No Uuid API found


does anyone know how to fix it? I can't find this flag in ccmake gui and
uuid is available on my system.


You may need uuid-devel or whatever is the equivalent package on your
distribution. E.g. on fedora 20 the libuuid package contains the uuid
library, but libuuid-devel contains the .h files that are also needed to
build proton.



Reply via email to