Re: uuid contrib don't compile in OpenSolaris

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: uuid contrib don't compile in OpenSolaris
Date: 2009-08-14 14:59:25
Message-ID: 4A857BCD.8090502@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Dne 24.07.09 19:23, Emanuel Calvo Franco napsal(a):
>>> Hi all,
>>>
>>> I have some issues to compile uuid contrib of 8.4 version.
>>>
>>> Touching something i see that the gmake don't find uuid.h.
>>> (pfexec gmake -d)
>>> Touching more, i add uuid.h into the uuid directory and i had a
>>> error message: missing separator.
>> Did you use gmake the second time? What was the exact make and compiler
>> error message?
>>
>
> Every time I execute the gmake, the error is the same (uuid.h
> not found).
>
> WHen i copy uuid.h in the current dir of uuid contrib, the
> error changes to missing separator. As I say, looking in
> the web i found that maybe is a bad character (a hidden tab
> or something like this).
>
> This occurs only in opensolaris 200906 (i didn't test on previous
> versions).
>
>
>
Hi,

problem is that PostgreSQL uses ossp UUID which is not integrated in
OpenSolaris. Solaris has own uuid implementation which seems to me
similar but not same. Try man uuid_generate or less /usr/uuid/uuid.h

It should be easy to port it but it needs a time :(.

Zdenek

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2009-08-14 14:59:57 Re: FILLFACTOR for GIN indexes in 8.3.7
Previous Message Scara Maccai 2009-08-14 14:45:19 Re: adding a nullable col could rewrite the whole table?

Browse pgsql-hackers by date

  From Date Subject
Next Message pascal Van Puymbroeck 2009-08-14 15:00:32 psql password passing problem
Previous Message Teodor Sigaev 2009-08-14 14:58:21 Re: CommitFest 2009-07: Remaining Patches