Re: UUID-OSSP Contrib Module Compilation Issue

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: <bruce(dot)mcalister(at)blueface(dot)ie>, "pgsql" <pgsql-general(at)postgresql(dot)org>
Subject: Re: UUID-OSSP Contrib Module Compilation Issue
Date: 2008-10-29 00:29:04
Message-ID: BF38833393A54EDAA794FFC2FD4F44B5@HIRO57887DE653
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi.

Um, you are reconfigure of postgresql then. It is necessary to specify with-ossp-uuid.

Regards,
Hiroshi Saito

----- Original Message -----
From: "Bruce McAlister" <bruce(dot)mcalister(at)blueface(dot)ie>
To: "pgsql" <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, October 29, 2008 8:01 AM
Subject: [GENERAL] UUID-OSSP Contrib Module Compilation Issue

> 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
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-29 00:48:08 Re: UUID-OSSP Contrib Module Compilation Issue
Previous Message Bruce McAlister 2008-10-29 00:24:12 Re: UUID-OSSP Contrib Module Compilation Issue

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2008-10-29 00:46:53 Re: Window Functions: v07 APIs and buffering strateties
Previous Message Bruce McAlister 2008-10-29 00:24:12 Re: UUID-OSSP Contrib Module Compilation Issue