Hi all,
I have recently compiled PHP4 with MYSQL and Apache, when I try to install PHP via:
#make
#make install
it errors with the following messages:
[root@vic php-4.3.4]# make
gcc -I/usr/src/php-4.3.4/ext/mysql/libmysql -Iext/mysql/ -I/usr/src/php-4.3.4/ext/mysql/ -DPHP_ATOM_INC -I/usr/src/php-4.3.4/include -I/usr/src/php-4.3.4/main -I/usr/src/php-4.3.4 -I/usr/src/php-4.3.4/Zend -I/usr/src/php-4.3.4/ext/xml/expat -I/usr/src/php-4.3.4/TSRM -g -O2 -c /usr/src/php-4.3.4/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.o && echo > ext/mysql/php_mysql.lo
/usr/src/php-4.3.4/ext/mysql/php_mysql.c: In function `zm_info_mysql':
/usr/src/php-4.3.4/ext/mysql/php_mysql.c:465: `PHP_MYSQL_TYPE' undeclared (first use in this function)
/usr/src/php-4.3.4/ext/mysql/php_mysql.c:465: (Each undeclared identifier is reported only once
/usr/src/php-4.3.4/ext/mysql/php_mysql.c:465: for each function it appears in.)
/usr/src/php-4.3.4/ext/mysql/php_mysql.c:467: `PHP_MYSQL_INCLUDE' undeclared (first use in this function)
/usr/src/php-4.3.4/ext/mysql/php_mysql.c:468: `PHP_MYSQL_LIBS' undeclared (first use in this function)
make: *** [ext/mysql/php_mysql.lo] Error 1
[root@vic php-4.3.4]#
Its a RH9.0 box with all the dev tools installed, running on a 2ghz intel + 256mb ram, 20gb hdd...
has anyone seen this before??
Thanks for reading,
Luke



