[PHP-INST] Problems Building PHP 4.0.1 From: Jeremiah Hansen (jeremiah <email protected>)
Date: 06/29/00

I download PHP 4.0.1 and ran

./configure --with-mysql --with-apache=../apache_1.3.12

and then ran make, but got the following error

In file included from /usr/include/sys/socket.h:34,
                 from /usr/include/netdb.h:31,
                 from php_mysql.c:45:
/usr/include/bits/socket.h:35: warning: redefinition of `socklen_t'
/usr/local/php-4.0.1/main/php.h:111: warning: `socklen_t' previously
declared here
php_mysql.c: In function `_close_mysql_link':
php_mysql.c:188: `SIGPIPE' undeclared (first use in this function)
php_mysql.c:188: (Each undeclared identifier is reported only once
php_mysql.c:188: for each function it appears in.)
php_mysql.c:188: `SIG_IGN' undeclared (first use in this function)
php_mysql.c:188: warning: assignment makes pointer from integer without a
cast
php_mysql.c: In function `_close_mysql_plink':
php_mysql.c:200: `SIGPIPE' undeclared (first use in this function)
php_mysql.c:200: `SIG_IGN' undeclared (first use in this function)
php_mysql.c:200: warning: assignment makes pointer from integer without a
cast
php_mysql.c: In function `php_mysql_do_connect':
php_mysql.c:460: `SIGPIPE' undeclared (first use in this function)
php_mysql.c:460: `SIG_IGN' undeclared (first use in this function)
php_mysql.c:460: warning: assignment makes pointer from integer without a
cast

Any ideas? Thanks.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>