php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15910 php-3.0.18 configure --with-pgsql=DIRWITH-FOO
Submitted: 2002-03-06 13:52 UTC Modified: 2002-03-06 16:45 UTC
From: hlehmann at fh-lausitz dot de Assigned:
Status: Not a bug Package: PostgreSQL related
PHP Version: 4.1.2 OS: Sol-8
Private report: No CVE-ID: None
 [2002-03-06 13:52 UTC] hlehmann at fh-lausitz dot de
ln -s $PrefixPSQL /usr/local/pgsql
OPTIONS="$OPTIONS --with-pgsql=$PrefixPSQL"
...
./configure $OPTIONS
php-3.0.18 $ make
...
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.22/src/include -I../apache_1.3.22/src
/os/unix                     -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:59:
functions/php3_pgsql.h:46: libpq-fe.h: No such file or directory
functions/php3_pgsql.h:47: libpq/libpq-fs.h: No such file or directory
make: *** [internal_functions.o] Error 1
## Var PrefixPOSTGRES existiert nicht (-> PrefixPSQL)
## -IPOSTGREDIR fehlt
$ find / -name libpq-fs.h
/usr/local/pgsql-7.2/include/libpq/libpq-fs.h
/tmp/postgresql-7.2/src/include/libpq/libpq-fs.h
## Files sind aber da.
## Pfad (LD)? fuer postgresql fehlt.
## -> Fehler in configure-script , Makefile anpassen
## -----------------------
## add -I/usr/local/pgsql-7.2/include to Makefile (INCLUDE=)
## Fehler ist weg, aber die erzeugte Lib funktioniert nicht.
## -----------------------
## Ursache:
## - configure --with-pgsql=/usr/local/pgsql-7.2
##   -> generate Makefile mit:
##   INCLUDE = -I$(srcdir) -I.   -I/usr/local/apache/include  
##   ## -I$PrefixPSQL/include fehlt
## - configure --with-pgsql=/usr/local/pgsql
##   -> generate Makefile mit:
##   INCLUDE = -I$(srcdir) -I.   -I/usr/local/apache/include     -I/usr/local/pg
sql/include
##   ## -I$PrefixPSQL/include ist vorhanden
## -> Fehler in configure

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-06 16:45 UTC] sniper@php.net
Update to PHP 4. PHP 3 is not supported anymore.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC