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

From: dave <dave(at)lake(dot)demon(dot)co(dot)uk>
To: Jouni Ahto <jah(at)php(dot)net>
Cc: php-install(at)lists(dot)php(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: [PHP-INST] problem compiling php for pgsql
Date: 2000-07-30 19:12:51
Message-ID: 39847E33.176F5CC@lake.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Caskey 2000-07-30 19:18:35 Re: Re: 4 billion record limit?
Previous Message Reuven M. Lerner 2000-07-30 14:26:38 Better error messages from JDBC