Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: php 5.2.0 et postgres 8.3



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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group