Re: php 5.2.0 et postgres 8.3

From: Alain Baeckeroot <alain(dot)baeckeroot(at)laposte(dot)net>
To: pgsql-fr-generale(at)postgresql(dot)org
Subject: Re: php 5.2.0 et postgres 8.3
Date: 2009-04-21 18:30:00
Message-ID: 200904212030.00966.alain.baeckeroot@laposte.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

Le 21/04/2009 à 20:04, Armelle Cogent a écrit :
>
> Merci pour ta réponse !
>
> J'ai le même message ...
>
>
>
> Le mardi 21 avril 2009 19:47, Samuel ROZE a écrit :
> > > 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
>
> --
>
> Armelle Cogent
> SGN / PMC
> Poste : 8467
>
> Responsable technique
> Projet MOBDG
> http://sgn.ign.fr/bdg/
>

oops mon précédent mail est parti trop vite.
pour avoir tous les paquets nécessaire à la compilation de php5
sous debian:
sudo apt-get build-dep php5

après ca il y a de forte chance que la compilation marche toute
seule sans avoir a préciser de chemins.
Il faut peut-être préciser certaines options désirées.

Alain

In response to

Browse pgsql-fr-generale by date

  From Date Subject
Next Message Daniel Verite 2009-04-22 09:26:39 Re: Configuration sur GNU/Linux Debian Lenny
Previous Message Alain Baeckeroot 2009-04-21 18:25:24 Re: php 5.2.0 et postgres 8.3