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

From Jens Wilke
Subject Re: BUG #5623: uuid-ossp contribs fail to compile
Date
Msg-id 201008190856.33784.jens.wilke@affinitas.de
Whole thread Raw
In response to Re: BUG #5623: xml2 and uuid-ossp contribs fail to compile  (Robert Haas <robertmhaas@gmail.com>)
List 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.wilke@affinitas.de> wro=
te:
> > uuid-ossp.c:29:2: error: #error OSSP uuid.h not found
>=20
> This seems like the one to look at.  Perhaps you need to apt-get
> install the package that contains that file.

After a=20
./configure --with-libxml --with-libxslt --with-python --with-perl --with-o=
ssp-
uuid --enable-thread-safety --prefix=3D/server/postgres/9.0b4

the not found error message went away, but i still get the following error:
uuid-ossp$ make=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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=
=20
uuid-ossp.c=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:35:2: error: #error UUID length mismatch=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
uuid-ossp.c:68: error: expected =E2=80=98)=E2=80=99 before =E2=80=98rc=E2=
=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c: In function =E2=80=98uuid_to_string=E2=80=99:=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:85: error: =E2=80=98UUID_LEN_STR=E2=80=99 undeclared (first use=
 in this function)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:85: error: (Each undeclared identifier is reported only once=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:85: error: for each function it appears in.)=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:88: error: =E2=80=98uuid_rc_t=E2=80=99 undeclared (first use in=
 this function)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:88: error: expected =E2=80=98;=E2=80=99 before =E2=80=98rc=E2=
=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:90: error: =E2=80=98rc=E2=80=99 undeclared (first use in this f=
unction)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:90: warning: implicit declaration of function =E2=80=98uuid_exp=
ort=E2=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:90: error: =E2=80=98UUID_FMT_STR=E2=80=99 undeclared (first use=
 in this function)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:91: error: =E2=80=98UUID_RC_OK=E2=80=99 undeclared (first use i=
n this function)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c:92: warning: implicit declaration of function =E2=80=98pguuid_c=
omplain=E2=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uuid-ossp.c: In function =E2=80=98string_to_uuid=E2=80=99:=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20

--=20
Affinitas GmbH  |  Kohlfurter Stra=C3=9Fe 41/43  |  10999 Berlin  |  Germany

Gesch=C3=A4ftsf=C3=BChrer: Lukas Brosseder, David Khalil, Kai Rieke, Christ=
ian Vollmann
Eingetragen beim Amtsgericht Berlin, HRB 115958

pgsql-bugs by date:

Previous
From: Steven Schlansker
Date:
Subject: COPY FROM/TO losing a single byte of a multibyte UTF-8 sequence
Next
From: Jens Wilke
Date:
Subject: Re: BUG #5623: xml2 and uuid-ossp contribs fail to compile