PHP and pgsql 7.1
Greetings,
Trying to install PHP on a machine with the pgsql clients installed, e.g.:
./configure
gmake -C src/bin install
gmake -C src/interfaces install
gmake -C doc install
After ./configuring PHP --with-pgsql, I get errors regarding missing
headers, namely libpq/libpq-fs.h (Note: This is the same error I get when
trying to compile pgsql on the server machine --with-perl)
I noticed another post which said to remove the postgres.h include from
php, which I did. The above error then shows up when compiling.
Using PHP 4.0.4pl1 and pgsql 7.1.
I do notice that the missing headers are included on the server machine,
though.
Thanks,
SWS
On Mi� 18 Abr 2001 17:59, S. William Schulz wrote:
Greetings,
Trying to install PHP on a machine with the pgsql clients installed, e.g.:
./configure
gmake -C src/bin install
gmake -C src/interfaces install
gmake -C doc installAfter ./configuring PHP --with-pgsql, I get errors regarding missing
headers, namely libpq/libpq-fs.h (Note: This is the same error I get when
trying to compile pgsql on the server machine --with-perl)I noticed another post which said to remove the postgres.h include from
php, which I did. The above error then shows up when compiling.Using PHP 4.0.4pl1 and pgsql 7.1.
You'll need PHP-4.0.5 (there is a RC5 at this moment) or a CVS (4.0.6-dev).
Saludos... :-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques | mmarques@unl.edu.ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
On Jue 19 Abr 2001 18:39, mike wrote:
I had the same problems my self w/ php and pam_pgsql
looks like 7.1 doesn't put things into the folders that you are expecting.
ie 7.0.3 places libs in /usr/lib/pgsql, in 7.1 they go in /usr/lib/postgres
That is if you are installing precompiled packages. If you have the source
(always talking about PostgreSQL), at configure time, you can tell it to
install the libs, the include, the executables, where ever you want.
Saludos... :-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques | mmarques@unl.edu.ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
Import Notes
Reply to msg id not found: 001e01c0c8e6$e243eeb0$0100000a@Domain.wyd2002.org
I had the same problems my self w/ php and pam_pgsql
looks like 7.1 doesn't put things into the folders that you are expecting.
ie 7.0.3 places libs in /usr/lib/pgsql, in 7.1 they go in /usr/lib/postgres
Mike
Show quoted text
Greetings,
Trying to install PHP on a machine with the pgsql clients installed, e.g.:
./configure
gmake -C src/bin install
gmake -C src/interfaces install
gmake -C doc installAfter ./configuring PHP --with-pgsql, I get errors regarding missing
headers, namely libpq/libpq-fs.h (Note: This is the same error I get when
trying to compile pgsql on the server machine --with-perl)I noticed another post which said to remove the postgres.h include from
php, which I did. The above error then shows up when compiling.Using PHP 4.0.4pl1 and pgsql 7.1.
I do notice that the missing headers are included on the server machine,
though.Thanks,
SWS
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org