BUG #5623: xml2 and uuid-ossp contribs fail to compile - Mailing list pgsql-bugs

From Jens Wilke
Subject BUG #5623: xml2 and uuid-ossp contribs fail to compile
Date
Msg-id 201008181355.o7IDtD2w063092@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5623: xml2 and uuid-ossp contribs fail to compile  (Mike Fowler <mike@mlfowler.com>)
Re: BUG #5623: xml2 and uuid-ossp contribs fail to compile  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5623
Logged by:          Jens Wilke
Email address:      jens.wilke@affinitas.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@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’

pgsql-bugs by date:

Previous
From:
Date:
Subject: Rules not executed on child tables
Next
From: Robert Haas
Date:
Subject: Re: BUG #5622: Query failed: server closed the connection unexpectedly