From: [EMAIL PROTECTED] Operating system: Sol-8 PHP version: 4.1.2 PHP Bug Type: PostgreSQL related Bug description: php-3.0.18 configure --with-pgsql=DIRWITH-FOO
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 -- Edit bug report at http://bugs.php.net/?id=15910&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15910&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15910&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15910&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15910&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15910&r=support Expected behavior: http://bugs.php.net/fix.php?id=15910&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15910&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15910&r=submittedtwice