Re: pgsql 7.1 build problem...

From: Date: Thu, 03 May 2001 05:47:25 +0000
Subject: Re: pgsql 7.1 build problem...
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2995@lists.php.net to get a copy of this message
I compiled PHP4.0.5 with following config ./configure \ --with-apxs \ --disable-short-tags \ --disable-mysql \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-socket \ --enable-mbstring \ --without-mysql \ --enable-inline-optimization \ --with-iconv \ --with-imap \ --with-mhash \ --with-mcrypt \ --with-pgsql \ --with-swf \ --with-zlib \ --with-bz2 \ --with-gd \ --with-jpeg-dir=/usr \ --with-xpm-dir=/usr/X11R6 I compiles and works. There is warning message for pgsql.c, though. pgsql.c: In function `_notice_handler': pgsql.c:158: warning: passing arg 1 of php_log_err' discards const' from pointer target type RedHat Linux7.0.1/j (glibc 2.2) -- Yasuo Ohgaki "Ron Patterson" <ronald.patterson@usa.net> wrote in message news:20010502214425.19690.qmail@nwcst338.netaddress.usa.net... Hi there, I'm building the new PHP-4.0.5 with support for PostgreSQL 7.1 database and get the following build error: gmake[3]: Entering directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql' /bin/sh /net/clear1/home/rpatters/php-4.0.5/libtool --silent --mode=compile gcc -I. -I/net/clear1/home/rpatters/php-4.0.5/ext/pgsql -I/net/clear1/home/rpatters/php-4.0.5/main -I/net/clear1/home/rpatters/php-4.0.5 -I/net/clear1/home/rpatters/as3/include -I/net/clear1/home/rpatters/php-4.0.5/Zend -I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmltok -I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmlparse -I/net/clear1/home/rpatters/php-4.0.5/TSRM -I/net/clear1/home/rpatters/pgsql/include -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -c pgsql.c pgsql.c: In function `_notice_handler': pgsql.c:158: warning: passing arg 1 of php_log_err' discards const' from pointer target type pgsql.c: In function `_rollback_transactions': pgsql.c:167: `pgsql_globals' undeclared (first use this function) pgsql.c:167: (Each undeclared identifier is reported only once pgsql.c:167: for each function it appears in.) gmake[3]: *** [pgsql.lo] Error 1 gmake[3]: Leaving directory /net/clear1/home/rpatters/php-4.0.5/ext/pgsql' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext' gmake: *** [all-recursive] Error 1 Worked ok with PostgreSQL 7.0.3 Any ideas? Thanks, Ron Patterson USA.NET ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#2995) next »