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â