Kenny 2007-8-9 14:10
编译安装php5.2.0时出错
<p><DIV id=art style="MARGIN: 15px" width="100%">1.错误信息...................如下<BR>checking for mcrypt support... no <BR>checking for mhash support... no <BR>checking whether to include mime_magic support... no <BR>checking for MING support... no <BR>checking for mSQL support... no <BR>checking for MSSQL support via FreeTDS... no <BR>checking for <a href="http://www.phpchina.com/javascript:;" onClick="javascript:tagshow(event, 'MySQL');" target="_self"><u><strong>MySQL</strong></u></a> support... yes <BR>checking for specified location of the MySQL UNIX socket... /tmp/mysql.sock <BR>checking for MySQL UNIX socket location... /tmp/mysql.sock <BR>checking for mysql_close in -lmysqlclient... no <BR>checking for mysql_error in -lmysqlclient... no <BR>configure: error: mysql configure failed. Please check config.log for more information.<BR><BR>2.解决<a href="http://www.phpchina.com/javascript:;" onClick="javascript:tagshow(event, '%B7%BD%B7%A8');" target="_self"><u><strong>方法</strong></u></a>:<BR>如果是自己选择GZ包安装的MYSQL。这里要加路径。<BR>加的方法为--with-mysql-dir=/user/local/mysql<BR>切记不可写为:--with-mysql=/user/local/mysql