Errors compiling PHP4 on potato
Hi,
I'm trying to compile PHP4 on Debian potato. I'm using the Debian source
package php4_4.0.3pl1-0potato1.
I'm getting the following errors, which seem to be related to mysql. This
is despite the fact that I've commented out the mysql configuration
options in debian/rules (I don't need mysql support).
Help, anyone?
--- begin errors ---
In file included from
/root/php/php4-4.0.3pl1/ext/mysql/libmysql/libmysql.c:14:
/root/php/php4-4.0.3pl1/ext/mysql/libmysql/m_string.h:165: parse error
before `__extension__'
/root/php/php4-4.0.3pl1/ext/mysql/libmysql/m_string.h:165: parse error
before `&&'
make[5]: *** [libmysql.lo] Error 1
make[5]: Leaving directory
`/root/php/php4-4.0.3pl1/apache-build/ext/mysql/libmysql'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/root/php/php4-4.0.3pl1/apache-build/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/root/php/php4-4.0.3pl1/apache-build/ext/mysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php/php4-4.0.3pl1/apache-build/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php/php4-4.0.3pl1/apache-build'
make: *** [build-apache-stamp] Error 2
--- end errors ---
George Karaolides 8, Costakis Pantelides St.,
tel: +35 79 68 08 86 Strovolos,
email: george@karaolides.com Nicosia CY 2057,
web: www.karaolides.com Republic of Cyprus
Reply to: