BUG #5623: xml2 and uuid-ossp contribs fail to compile

From: "Jens Wilke" <jens(dot)wilke(at)affinitas(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5623: xml2 and uuid-ossp contribs fail to compile
Date: 2010-08-18 13:55:13
Message-ID: 201008181355.o7IDtD2w063092@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5623
Logged by: Jens Wilke
Email address: jens(dot)wilke(at)affinitas(dot)de
PostgreSQL version: 9.0b4
Operating system: Debian GNU/Linux Lenny
Description: xml2 and uuid-ossp contribs fail to compile
Details:

Hi,

to compile xml2 this link was necessary:
ln -s /usr/include/libxml2/libxml ../../src/include

uuid-ossp fails with
libossp-uuid-dev installed:
postgres(at)dbmaster:/usr/src/postgresql-9.0beta4/contrib/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 -c -o uuid-ossp.o
uuid-ossp.c
uuid-ossp.c:29:2: error: #error OSSP uuid.h not found

uuid-ossp.c:35:2: error: #error UUID length mismatch

uuid-ossp.c:68: error: expected ‘)’ before ‘rc’

uuid-ossp.c:83: warning: type defaults to ‘int’ in declaration of
‘uuid_t’
uuid-ossp.c:83: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’
token
uuid-ossp.c:99: error: expected declaration specifiers or ‘...’ before
‘uuid_t’
uuid-ossp.c: In function ‘string_to_uuid’:

uuid-ossp.c:101: error: ‘uuid_rc_t’ undeclared (first use in this
function)
uuid-ossp.c:101: error: (Each undeclared identifier is reported only once

uuid-ossp.c:101: error: for each function it appears in.)

uuid-ossp.c:101: error: expected ‘;’ before ‘rc’

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2010-08-18 14:22:50 Re: BUG #5622: Query failed: server closed the connection unexpectedly
Previous Message depstein 2010-08-18 09:36:07 Rules not executed on child tables