Skip site navigation (1) Skip section navigation (2)

UUID-OSSP Contrib Module Compilation Issue

From: Bruce McAlister <bruce(dot)mcalister(at)blueface(dot)ie>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: UUID-OSSP Contrib Module Compilation Issue
Date: 2008-10-28 23:01:33
Message-ID: 490799CD.9090308@blueface.ie (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
Hi All,

I am trying to build the uuid-ossp contrib module for PostgreSQL 8.3.4.
I am building on Solaris x86 with Sun Studio 12.

I built the ossp-uuid version 1.6.2 libraries and installed them,
however, whenever I attempt to build the contrib module I always end up
with the following error:

----------------------
+ cd contrib
+ cd uuid-ossp
+ make all
sed 's,MODULE_PATHNAME,$libdir/uuid-ossp,g' uuid-ossp.sql.in >uuid-ossp.sql
/usr/bin/cc -Xa -I/usr/sfw/include -KPIC -I. -I../../src/include
-I/usr/sfw/include   -c -o uuid-ossp.o uuid-ossp.c
"uuid-ossp.c", line 29: #error: OSSP uuid.h not found
cc: acomp failed for uuid-ossp.c
make: *** [uuid-ossp.o] Error 2
----------------------

I have the ossp uuid libraries and headers in the standar locations
(/usr/include, /usr/lib) but the checks within the contrib module dont
appear to find the ossp uuid headers I have installed.

Am I mising something here, or could the #ifdefs have something to do
with it not picking up the newer ossp uuid defnitions?

Any suggestions would be greatly appreciated.

Thanks
Bruce

Responses

pgsql-hackers by date

Next:From: Hannu KrosingDate: 2008-10-28 23:45:04
Subject: Re: PostgreSQL + Replicator developer meeting 10/28
Previous:From: Joshua DrakeDate: 2008-10-28 22:18:03
Subject: Re: PostgreSQL + Replicator developer meeting 10/28

pgsql-general by date

Next:From: Steve AtkinsDate: 2008-10-28 23:03:53
Subject: Re: postgresql and Mac OS X
Previous:From: Tom AllisonDate: 2008-10-28 22:41:00
Subject: postgresql and Mac OS X

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group