Hi,

you must specify the mysql-installdir: If you installed mysql in 
/usr/local/mysql then write 

./configure --with-mysql=/usr/local/mysql 
--with-apxs2=/usr/local/apache2/bin/apxs

by
Stephan


Mefistofeles wrote:

> I've compile Apache 2.0.35 with --enable-so then
> in the php directory done
> 
> ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
> 
> and make
> 
> which gives me
> 
> In file included from libmysql.c:5:
> global.h:256: warning: redefinition of `uint'
> /usr/include/sys/types.h:152: warning: `uint' previously declared here
> global.h:257: warning: redefinition of `ushort'
> /usr/include/sys/types.h:151: warning: `ushort' previously declared here
> global.h:258: warning: redefinition of `ulong'
> /usr/include/sys/types.h:150: warning: `ulong' previously declared here
> In file included from libmysql.c:5:
> global.h:498:22: operator 'EOL' has no left operand
> In file included from libmysql.c:12:
> m_string.h:205:36: operator '==' has no right operand
> make[4]: *** [libmysql.lo] Error 1
> make[4]: Leaving directory `/usr/local/src/php-4.2.0/ext/mysql/libmysql'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/mysql/libmysql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/mysql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext'
> make: *** [all-recursive] Error 1
> [root@h28n2fls31o826 php-4.2.0]#
> 
> I'm obviously missing something vital. Any ideas what?
> 
> /Mef.


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to