Re: [PHP-INST] problem compiling php for pgsql - Mailing list pgsql-general

From dave
Subject Re: [PHP-INST] problem compiling php for pgsql
Date
Msg-id 39847E33.176F5CC@lake.demon.co.uk
Whole thread Raw
In response to Re: [PHP-INST] problem compiling php for pgsql  (Jouni Ahto <jah@php.net>)
List pgsql-general
Jouni Ahto wrote:
>
> Either do a *full* install of PostgreSQL, not only headers, from sources
> and remove all the RPM's, or, because you seem to prefer them, install
> also postgresql-devel-7.0.2-2.i386.rpm, which I think is missing from your
> system, remove /usr/local/pgsql, ./configure --with-pgsql=/usr and
> recompile. Having bits of postgres installed from RPM's, other bits from
> sources to another place is very likely to play havoc on PHP's configure
> script.

Thanks, yes, it was the devel RPM I needed. Sorry, I should really
have spotted that - it was late!

Actually, given that the devel RPM puts includes in /usr/include,
which can then be used by seperate apps that interface with pgsql, is
there not an argument for including headers in the base or server RPM?
The devel RPM isn't the first thing that occurs when compiling a
different app.

(I'm sure there are good reasons!)

Thanks for your help.
Dave

pgsql-general by date:

Previous
From: JanWieck@t-online.de (Jan Wieck)
Date:
Subject: Re: Inheritance
Next
From: "Reuven M. Lerner"
Date:
Subject: Better error messages from JDBC