Thread: OSSP UUID present but cannot be compiled

OSSP UUID present but cannot be compiled

From
"David E. Wheeler"
Date:
While building 9.2.3 on OS X 10.8.2 today:

checking ossp/uuid.h usability... no
checking ossp/uuid.h presence... yes
configure: WARNING: ossp/uuid.h: present but cannot be compiled
configure: WARNING: ossp/uuid.h:     check for missing prerequisite headers?
configure: WARNING: ossp/uuid.h: see the Autoconf documentation
configure: WARNING: ossp/uuid.h:     section "Present But Cannot Be Compiled"
configure: WARNING: ossp/uuid.h: proceeding with the preprocessor's result
configure: WARNING: ossp/uuid.h: in the future, the compiler will take precedence
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to pgsql-bugs@postgresql.org ##
configure: WARNING:     ## ---------------------------------------- ##
checking for ossp/uuid.h... yes

So you asked for it. Here's how I configured Postgres:
   ./configure --with-bonjour --with-perl PERL=$PERL \   --with-openssl --with-pam --with-krb5 --with-libxml \
--with-ossp-uuid--with-includes=/usr/local/include \   --enable-integer-datetimes --with-zlib \
--with-libs=/usr/local/lib

And here's how I configured OSSP UUID:
 ./configure --prefix=/usr/local --with-perl=/usr/local/bin/perl \ --includedir=/usr/local/include/ossp

I think I have reported this before. Maybe it's not worth worrying about? I seem to be able to install the uuid-ossp
extensionand it works. So Ignore? 

Thanks,

David




Re: OSSP UUID present but cannot be compiled

From
Tom Lane
Date:
"David E. Wheeler" <david@justatheory.com> writes:
> While building 9.2.3 on OS X 10.8.2 today:
> checking ossp/uuid.h usability... no
> checking ossp/uuid.h presence... yes
> configure: WARNING: ossp/uuid.h: present but cannot be compiled
> configure: WARNING: ossp/uuid.h:     check for missing prerequisite headers?

> I think I have reported this before. Maybe it's not worth worrying about? I seem to be able to install the uuid-ossp
extensionand it works. So Ignore?
 

Yeah, you did:
http://www.postgresql.org/message-id/62FDD311-1AFC-4296-95D8-5751D1407B71@justatheory.com

I still think it's incumbent on OSSP to fix this, not us.  Or if
they've gone dead, maybe we need to start looking for some other
source of uuid support.
        regards, tom lane



Re: OSSP UUID present but cannot be compiled

From
"David E. Wheeler"
Date:
On Feb 22, 2013, at 12:42 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Yeah, you did:
> http://www.postgresql.org/message-id/62FDD311-1AFC-4296-95D8-5751D1407B71@justatheory.com
>
> I still think it's incumbent on OSSP to fix this, not us.  Or if
> they've gone dead, maybe we need to start looking for some other
> source of uuid support.

The OSSP UUID library has not been updated since 2008, and their FTP server has been down for a couple of years. Ralf
poststo Twitter now and then, but has never responded to any of my DMs or emails. 

Yeah, I think it's time to look elsewhere -- or to fork it.

David




Re: OSSP UUID present but cannot be compiled

From
Peter Eisentraut
Date:
On Fri, 2013-02-22 at 03:42 -0500, Tom Lane wrote:
> I still think it's incumbent on OSSP to fix this, not us.  Or if
> they've gone dead, maybe we need to start looking for some other
> source of uuid support. 

ossp-uuid still works, in spite of its age, but I have started a
replacement here if people are interested:
https://github.com/petere/pglibuuid