PHP and pgsql 7.1

Started by Nonamealmost 25 years ago4 messagesgeneral
Jump to latest
#1Noname
swschulz@NOSPAM.astrum.com

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

#2Martín Marqués
martin@bugs.unl.edu.ar
In reply to: Noname (#1)
Re: PHP and pgsql 7.1

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 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.

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
-----------------------------------------------------------------

#3Martín Marqués
martin@bugs.unl.edu.ar
In reply to: Noname (#1)
Re: Re: PHP and pgsql 7.1

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
-----------------------------------------------------------------

#4mike
matrix@quadrent.net
In reply to: Noname (#1)
Re: PHP and pgsql 7.1

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 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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org