qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Ottinger <j...@enigmastation.com>
Subject Re: What libraries/versions for proton?
Date Thu, 02 Aug 2012 20:48:42 GMT
It's Fedora 17, with a fairly clean install at that. Uuid and uuid-develop,
 plus libuuid,  if memory serves, so as far as I can tell it should be
pretty normal.

On Thursday, August 2, 2012, Andrew Stitcher <astitcher@redhat.com> wrote:
> On Thu, 2012-08-02 at 15:55 -0400, Joseph Ottinger wrote:
>> I was building proton-c and the build fails in messenger.c, trying to
>> include <uuid/uuid.h>.
>>
>> There's a uuid library for C, but it defines different types than
>> proton is expecting. Can anyone tell me which uuid library is
>> expected? It's looking for a *system* library for uuid.
>
> You don't say which platform you are trying to build on. I'm guessing
> it's not Linux.
>
> The uuid functionality is irritatingly different between platforms. The
> current proton code compiles on Linux using libuuid libuuid-devel on
> Fedora and I think libuuid-dev on Debian based distros.
>
> On Solaris there is also uuid/uuid.h but it defines a subtly different
> API (wrt to const).
>
> On BSDs there is uuid/uuid.h with an entirely different API, which is
> more akin to the original DCE interface - I'm guessing this is what
> you're encountering (MacOS?)
>
> On Windows the header file is entirele different rpcdce.h I think with a
> very different API also based on the original DCE interface.
>
> You may need to write a very small shim layer to get it to work: As
> there are only a couple of functions used this shouldn't be very hard.
>
> Hope this helps.
>
> Andrew
>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
>
>

-- 
Joseph B. Ottinger
http://enigmastation.com
Ça en vaut la peine.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message