Re: php 5.2.0 et postgres 8.3

From: Samuel ROZE <samuel(dot)roze(at)aliceadsl(dot)fr>
To: Armelle Cogent <armelle(dot)cogent(at)ign(dot)fr>
Cc: pgsql-fr-generale(at)postgresql(dot)org
Subject: Re: php 5.2.0 et postgres 8.3
Date: 2009-04-21 17:47:36
Message-ID: 1240336056.7237.6.camel@samuel-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

> Lorsque je lance cette commande :
>
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-pgsql --with-libxml --with-gettext --with-zlib --enable-dbase--with-png --enable-tracks-vars --with-regex --enable-trans-sid --enable-mbstring --enable-exif --with-curl
>
> J'ai un message d'erreur. Voilà les trois dernières lignes :
>
> checking for PostgreSQL support... yes
> checking for pg_config... not found
> configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL
> installation path
>
> Et je ne trouve pas le fichier pg_config sur mon ordinateur, si je comprends
> bien, il s'appelle maintenant postgres dans /usr/lib/postgresql/8.3/bin/
>
> Est-ce cela ? si oui comment puis-je compiler php pour qu'il cherche postgres
> et non pg_config ?

Par rapport au premier paramètre du configure, j'essayerai :

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd
--with-pgsql=/usr/lib/postgresql/8.3/bin/ --with-libxml
--with-gettext --with-zlib --enable-dbase--with-png
--enable-tracks-vars --with-regex --enable-trans-sid
--enable-mbstring --enable-exif --with-curl

In response to

Responses

Browse pgsql-fr-generale by date

  From Date Subject
Next Message Armelle Cogent 2009-04-21 18:04:20 Re: php 5.2.0 et postgres 8.3
Previous Message Armelle Cogent 2009-04-21 17:42:18 php 5.2.0 et postgres 8.3