Re: BUG #5623: uuid-ossp contribs fail to compile

From: Jens Wilke <jens(dot)wilke(at)affinitas(dot)de>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5623: uuid-ossp contribs fail to compile
Date: 2010-08-19 06:56:33
Message-ID: 201008190856.33784.jens.wilke@affinitas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Am Mittwoch 18 August 2010 19:30:51 schrieb Robert Haas:
> On Wed, Aug 18, 2010 at 9:55 AM, Jens Wilke <jens(dot)wilke(at)affinitas(dot)de> wrote:
> > uuid-ossp.c:29:2: error: #error OSSP uuid.h not found
>
> This seems like the one to look at. Perhaps you need to apt-get
> install the package that contains that file.

After a
./configure --with-libxml --with-libxslt --with-python --with-perl --with-ossp-
uuid --enable-thread-safety --prefix=/server/postgres/9.0b4

the not found error message went away, but i still get the following error:
uuid-ossp$ make
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I. -I. -
I../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -c -o uuid-ossp.o
uuid-ossp.c
uuid-ossp.c:35:2: error: #error UUID length mismatch
uuid-ossp.c:68: error: expected ‘)’ before ‘rc’
uuid-ossp.c: In function ‘uuid_to_string’:
uuid-ossp.c:85: error: ‘UUID_LEN_STR’ undeclared (first use in this function)
uuid-ossp.c:85: error: (Each undeclared identifier is reported only once
uuid-ossp.c:85: error: for each function it appears in.)
uuid-ossp.c:88: error: ‘uuid_rc_t’ undeclared (first use in this function)
uuid-ossp.c:88: error: expected ‘;’ before ‘rc’
uuid-ossp.c:90: error: ‘rc’ undeclared (first use in this function)
uuid-ossp.c:90: warning: implicit declaration of function ‘uuid_export’
uuid-ossp.c:90: error: ‘UUID_FMT_STR’ undeclared (first use in this function)
uuid-ossp.c:91: error: ‘UUID_RC_OK’ undeclared (first use in this function)
uuid-ossp.c:92: warning: implicit declaration of function ‘pguuid_complain’
uuid-ossp.c: In function ‘string_to_uuid’:

--
Affinitas GmbH | Kohlfurter Straße 41/43 | 10999 Berlin | Germany

Geschäftsführer: Lukas Brosseder, David Khalil, Kai Rieke, Christian Vollmann
Eingetragen beim Amtsgericht Berlin, HRB 115958

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jens Wilke 2010-08-19 07:29:20 Re: BUG #5623: xml2 and uuid-ossp contribs fail to compile
Previous Message Tom Lane 2010-08-19 01:27:48 Re: BUG #5622: Query failed: server closed the connection unexpectedly