can't gmake with postgres support

From: Date: Thu, 20 Feb 2003 14:18:59 +0000
Subject: can't gmake with postgres support
Groups: php.install 
Request: Send a blank email to php-install+get-10118@lists.php.net to get a copy of this message
I'm trying to install php 4.3.0 on an HP-UX box where we already have postgres running. Running 'configure --with-postgres=/pgsql --with-apxs=/usr/local/apache/bin/apxs' seems to run fine, but when I run gmake I get the following: --snip-- /bin/sh libtool --silent --mode=compile gcc -Iext/pgsql/ -I/users/pscheie/php-4.3.0/ext/pgsql/ -DPHP_ATOM_INC -I/users/pscheie/php-4.3.0/include -I/users/pscheie/php-4.3.0/main -I/users/pscheie/php-4.3.0 -I/users/pscheie/php-4.3.0/Zend -I/pgsql/include -I/users/pscheie/php-4.3.0/ext/xml/expat -DHPUX11 -DUSE_HSREGEX -I/users/pscheie/php-4.3.0/TSRM -g -O2 -prefer-pic -c /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c -o ext/pgsql/pgsql.lo In file included from /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:38: /users/pscheie/php-4.3.0/ext/pgsql/php_pgsql.h:46:28: libpq/libpq-fs.h: No such file or directory /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `zif_pg_lo_create': /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: `INV_READ' undeclared (first use in this function) /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: (Each undeclared identifier is reported only once /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: for each function it appears in.) /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: `INV_WRITE' undeclared (first use in this function) /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `zif_pg_lo_open': /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1857: `INV_READ' undeclared (first use in this function) /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1859: `INV_WRITE' undeclared (first use in this function) /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `php_pgsql_meta_data': /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:3085: warning: passing arg 3 of `php_addslashes' from incompatible pointer type /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `build_assignment_string': /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:4116: warning: passing arg 3 of `zend_hash_get_current_key_ex' from incompatible pointer type /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `php_pgsql_result2array': /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:4367: warning: passing arg 3 of `php_addslashes' from incompatible pointer type gmake: *** [ext/pgsql/pgsql.lo] Error 1 --snip-- It looks to me like the problem stems from it not being able to find libpq-fs.h but I have that file in /pgsql/include/libpq. I noticed in the Makefile that there is a 'PGSQL_SHARED_LIBADD = ' field, but twiddling with that didn't seem to make any difference. Any suggestions? TIA. Petre Scheie

« previous php.install (#10118) next »