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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
33 - 4 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 21:01:27 2024 UTC