xorg build error: needs uuid

Chuck Robey chuckr at telenix.org
Sat Jul 5 12:38:12 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Bender wrote:
> Chuck Robey wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I got an error during configuration of libSM, it wanted a package "uuid".  I
>> foound (using google) a linux package named libuuid, but since I don't run
>> Linux, I'd never seen it on my FreeBSD-current system, not anywhere in the
>> sources, not even in the ports.  Is this soomewhere in the xorg sources?  I
>> searched for *uuid* but didn't find it.
>>
>> If it's a linux-only thing, is it reasonable to make xorg dependent upon it (or,
>> maybe I'm jumping to conclusions here).  I need to find some way to get past this.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.9 (FreeBSD)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> It is not a Linux only thing. Also, you can disable it, which is what I 
> am doing in MiniMyth (which is Linux based). Add '--without-libuuid' 
> when you configure libSM.

Oh, OK, I see now, but you're in sort of in error, it's not a Linux only thing,
however, they weren't aware that, in FreeBSD, it's part of libc ... and the
search for libuuid should be restricted to the Linux OS only.  Just to be
helpful, here's the man page in question:


UUID(3)                FreeBSD Library Functions Manual                UUID(3)

NAME
     uuid_compare, uuid_create, uuid_create_nil, uuid_equal, uuid_from_string,
     uuid_hash, uuid_is_nil, uuid_to_string -- DCE 1.1 compliant UUID func-
     tions

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <uuid.h>

     int32_t
     uuid_compare(const uuid_t *uuid1, const uuid_t *uuid2, uint32_t *status);

     void
     uuid_create(uuid_t *uuid, uint32_t *status);

     void
     uuid_create_nil(uuid_t *uuid, uint32_t *status);

     int32_t
     uuid_equal(const uuid_t *uuid1, const uuid_t *uuid2, uint32_t *status);

     void
     uuid_from_string(const char *str, uuid_t *uuid, uint32_t *status);

     uint16_t
     uuid_hash(const uuid_t *uuid, uint32_t *status);

     int32_t
     uuid_is_nil(const uuid_t *uuid, uint32_t *status);

     void
     uuid_to_string(const uuid_t *uuid, char **str, uint32_t *status);

DESCRIPTION
     The family of DCE 1.1 compliant UUID functions allow applications to
     operate on universally unique identifiers, or UUIDs.  The uuid_create()
     and uuid_create_nil() functions create UUIDs.  The uuid_compare(),
     uuid_equal() and uuid_is_nil() functions can be used to test UUIDs.  To
     convert from the binary representation to the string representation or
     vice versa, use uuid_to_string() or uuid_from_string() respectively.  A
     16-bit hash value can be obtained by calling uuid_hash().

RETURN VALUES
     The successful or unsuccessful completion of the function is returned in
     the status argument.  Possible values are:

     uuid_s_ok                   The function completed successfully.

     uuid_s_bad_version          The UUID does not have a known version.

     uuid_s_invalid_string_uuid  The string representation of an UUID is not
                                 valid.

     uuid_s_no_memory            The meaning of the code escaped the writers
                                 mind.

SEE ALSO
     uuidgen(1), uuidgen(2)

STANDARDS
     The UUID functions conform to the DCE 1.1 RPC specification.

BUGS
     This manpage can be improved.

FreeBSD 8.0                     January 3, 2005                    FreeBSD 8.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhvzaQACgkQz62J6PPcoOn/4ACfZGD4KBdcG5u51osj5ZUin9ix
WaQAn2jy+lJzdwFffpsrifnGUvMSFda8
=bzCj
-----END PGP SIGNATURE-----



More information about the xorg mailing list