<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《CentOS 5.5编译安装Nginx1.0.15+MySQL5.5.23+PHP5.3.10》的评论</title>
	<atom:link href="http://www.osyunwei.com/archives/3650.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com/archives/3650.html</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Wed, 13 May 2015 06:36:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>作者：qihang01</title>
		<link>https://www.osyunwei.com/archives/3650.html#comment-1427</link>
		<dc:creator>qihang01</dc:creator>
		<pubDate>Tue, 09 Apr 2013 11:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.osyunwei.com/?p=3650#comment-1427</guid>
		<description>感谢认真阅读本文档
/opt/software/php-5.3.10/sapi/cli/php
/opt/software 这个路径从哪里来的？
本站所有技术文档编译软件安装路径均为/usr/local/目录
建议，看文档的时候不要好几篇一起看，最后自己都不知道目录是怎么来的了！</description>
		<content:encoded><![CDATA[<p>感谢认真阅读本文档<br />
/opt/software/php-5.3.10/sapi/cli/php<br />
/opt/software 这个路径从哪里来的？<br />
本站所有技术文档编译软件安装路径均为/usr/local/目录<br />
建议，看文档的时候不要好几篇一起看，最后自己都不知道目录是怎么来的了！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：214269407@qq.com</title>
		<link>https://www.osyunwei.com/archives/3650.html#comment-1426</link>
		<dc:creator>214269407@qq.com</dc:creator>
		<pubDate>Tue, 09 Apr 2013 09:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.osyunwei.com/?p=3650#comment-1426</guid>
		<description>在安装到第六步php，make之后会报错 

报错代码如下：
/usr/local/src/php-5.3.10/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open&#039;
/usr/local/src/php-5.3.10/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv&#039;
/usr/local/src/php-5.3.10/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close&#039;
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] 错误

 需要进入到cd php-5.3.10这个目录找到Makefile 文件中的
EXTRA_LIBS = -lcrypt -lz -lcrypt -lrt -lmysqlclient -lmcrypt -lldap -llber -lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lrt -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt

在最后面添加 -liconv ，修改后如下
EXTRA_LIBS = -lcrypt -lz -lcrypt -lrt -lmysqlclient -lmcrypt -lldap -llber -lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lrt -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -liconv
然后再重新make即可
make之后提示要求make test 也会报这样的错
make php过程中的错误
ERROR: invalid PHP executable specified by TEST_PHP_EXECUTABLE  = /opt/software/php-5.3.10/sapi/cli/php
不用管它，直接忽略即可
然后make install就行了 
其余步骤不变，就会安装成功了
</description>
		<content:encoded><![CDATA[<p>在安装到第六步php，make之后会报错 </p>
<p>报错代码如下：<br />
/usr/local/src/php-5.3.10/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open&#8217;<br />
/usr/local/src/php-5.3.10/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv&#8217;<br />
/usr/local/src/php-5.3.10/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close&#8217;<br />
collect2: ld returned 1 exit status<br />
make: *** [sapi/fpm/php-fpm] 错误</p>
<p> 需要进入到cd php-5.3.10这个目录找到Makefile 文件中的<br />
EXTRA_LIBS = -lcrypt -lz -lcrypt -lrt -lmysqlclient -lmcrypt -lldap -llber -lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lrt -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt</p>
<p>在最后面添加 -liconv ，修改后如下<br />
EXTRA_LIBS = -lcrypt -lz -lcrypt -lrt -lmysqlclient -lmcrypt -lldap -llber -lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lrt -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -liconv<br />
然后再重新make即可<br />
make之后提示要求make test 也会报这样的错<br />
make php过程中的错误<br />
ERROR: invalid PHP executable specified by TEST_PHP_EXECUTABLE  = /opt/software/php-5.3.10/sapi/cli/php<br />
不用管它，直接忽略即可<br />
然后make install就行了<br />
其余步骤不变，就会安装成功了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：qdycool</title>
		<link>https://www.osyunwei.com/archives/3650.html#comment-1038</link>
		<dc:creator>qdycool</dc:creator>
		<pubDate>Thu, 06 Sep 2012 05:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.osyunwei.com/?p=3650#comment-1038</guid>
		<description>[root@localhost mysql-5.5.27]# cmake.-DCMAKE_INSTALL_PREFIX=/usr/local/mysql/ -DMYSQL_DATADIR=/data/mysql/ -DSYSCONFDIR=/etc
-bash: cmake.-DCMAKE_INSTALL_PREFIX=/usr/local/mysql/: 没有那个文件或目录



安装到这里，显示如上信息，请问是啥原因？</description>
		<content:encoded><![CDATA[<p>[root@localhost mysql-5.5.27]# cmake.-DCMAKE_INSTALL_PREFIX=/usr/local/mysql/ -DMYSQL_DATADIR=/data/mysql/ -DSYSCONFDIR=/etc<br />
-bash: cmake.-DCMAKE_INSTALL_PREFIX=/usr/local/mysql/: 没有那个文件或目录</p>
<p>安装到这里，显示如上信息，请问是啥原因？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：lianglab</title>
		<link>https://www.osyunwei.com/archives/3650.html#comment-507</link>
		<dc:creator>lianglab</dc:creator>
		<pubDate>Fri, 27 Apr 2012 10:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.osyunwei.com/?p=3650#comment-507</guid>
		<description>[root@centos mysql-5.5.23]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql  -DMYSQL_DATADIR=/data/mysql  -DSYSCONFDIR=/etc
-- MySQL 5.5.23
-- Packaging as: mysql-5.5.23-Linux-i686
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH) 
CMake Error at cmake/readline.cmake:83 (MESSAGE):
  Curses library not found.  Please install appropriate package,

      remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (most recent call first):
  cmake/readline.cmake:127 (FIND_CURSES)
  cmake/readline.cmake:217 (MYSQL_USE_BUNDLED_LIBEDIT)
  CMakeLists.txt:268 (MYSQL_CHECK_READLINE)


-- Configuring incomplete, errors occurred!
[root@centos mysql-5.5.23]


hi，博主，这个是什么原因导致的啦。</description>
		<content:encoded><![CDATA[<p>[root@centos mysql-5.5.23]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql  -DMYSQL_DATADIR=/data/mysql  -DSYSCONFDIR=/etc<br />
&#8211; MySQL 5.5.23<br />
&#8211; Packaging as: mysql-5.5.23-Linux-i686<br />
&#8211; Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)<br />
CMake Error at cmake/readline.cmake:83 (MESSAGE):<br />
  Curses library not found.  Please install appropriate package,</p>
<p>      remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.<br />
Call Stack (most recent call first):<br />
  cmake/readline.cmake:127 (FIND_CURSES)<br />
  cmake/readline.cmake:217 (MYSQL_USE_BUNDLED_LIBEDIT)<br />
  CMakeLists.txt:268 (MYSQL_CHECK_READLINE)</p>
<p>&#8211; Configuring incomplete, errors occurred!<br />
[root@centos mysql-5.5.23]</p>
<p>hi，博主，这个是什么原因导致的啦。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
