Re: make error php4.3.1 on RH6.2

From: Date: Fri, 18 Apr 2003 16:06:04 +0000
Subject: Re: make error php4.3.1 on RH6.2
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10670@lists.php.net to get a copy of this message
Hi (replying to my own post!) I found the solution by digging deeper seems it was reported back in mar 2002. edit pgsql.c and replaced 2 references to PQsetnonblocking with PQ_SETNONBLOCKING and it *make* is ok. thanks to those who replied off list. Mark ----- Original Message ----- From: "Obantec Support" <support@obantec.net> To: <php-install@lists.php.net> Sent: Friday, April 18, 2003 12:02 PM Subject: [PHP-INST] make error php4.3.1 on RH6.2 > Hi > > i am using a script to build php4.3.1 on an old server that i cannot u/g to > a later apache/OS. > > script is below > > #!/bin/sh > > ./configure \ > "--with-apache=../apache_1.3.12" \ > "--with-openssl-dir=../openssl-0.9.5a" \ > "--enable-sockets" \ > "--with-zlib" \ > "--with-db2" \ > "--with-ttf" \ > "--enable-gd-native-ttf" \ > "--with-gdbm" \ > "--with-gettext" \ > "--with-regex=system" \ > "--enable-ftp" \ > "--with-gd" \ > "--with-jpeg-dir=/usr" \ > "--with-png" \ > "--enable-sysvsem" \ > "--enable-sysvshm" \ > "--enable-magic-quotes" \ > "--enable-trans-sid" \ > "--with-pgsql" \ > "$@" > > runs ok but make exits with (i only include the last few lines) > > libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. > libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. > ext/pgsql/pgsql.o: In function `php_pgsql_flush_query': > /home/src/php-4.3.1/ext/pgsql/pgsql.c:2838: undefined reference to > `PQsetnonblocking' > /home/src/php-4.3.1/ext/pgsql/pgsql.c:2846: undefined reference to > `PQsetnonblocking' > collect2: ld returned 1 exit status > make: *** [sapi/cli/php] Error 1 > [root@proteus php-4.3.1]# > > now from google i see the warnings can be ignored but i am unsure about the > Error 1 > > this is my first post to this group and i hope it is the correct group. > > Mark > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.install (#10670) next »