<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]centos 6升级 GCC 到4.8 ，GCC 4.8 or later required。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Swoole专题研究]]></category>
<pubDate>Wed, 09 Jan 2019 08:27:31 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	CentOS7升级GCC版本：<a href="https://jackxiang.com/post/10700/" target="_blank">https://jackxiang.com/post/10700/</a><br/><br/>想打包一个swoole最新版，出现 问题如下：<br/><textarea name="code" class="php" rows="15" cols="100">
 cc -I. -I/root/rpmbuild/BUILD/swoole-src-4.2.12 -DPHP_ATOM_INC -I/root/rpmbuild/BUILD/swoole-src-4.2.12/include -I/root/rpmbuild/BUILD/swoole-src-4.2.12/main -I/root/rpmbuild/BUILD/swoole-src-4.2.12 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/root/rpmbuild/BUILD/swoole-src-4.2.12 -I/root/rpmbuild/BUILD/swoole-src-4.2.12/include -I/root/rpmbuild/BUILD/swoole-src-4.2.12/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/rpmbuild/BUILD/swoole-src-4.2.12/src/core/array.c&nbsp;&nbsp;-fPIC -DPIC -o src/core/.libs/array.o
In file included from /root/rpmbuild/BUILD/swoole-src-4.2.12/include/swoole.h:174,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/rpmbuild/BUILD/swoole-src-4.2.12/src/core/array.c:17:
./swoole_config.h:22:2: error: #error &quot;GCC 4.8 or later required.&quot;
make: *** [src/core/array.lo] Error 1
</textarea><br/><br/>解决办法：<br/>安装最新版本的swoole 提示<br/><br/>pecl install swolle <br/>...<br/>GCC 4.8 or later required.<br/>首先想到的时候yum更新gcc<br/><br/>yum install gcc<br/>Package gcc-4.4.7-23.el6.x86_64 already installed and latest version<br/>Nothing to do<br/>已经是最新版本了，怎么办，只有找其它源了<br/><br/>curl -Lks http://www.hop5.in/yum/el6/hop5.repo &gt; /etc/yum.repos.d/hop5.repo<br/>yum install gcc gcc-g++<br/>安装成功<br/><br/>gcc -v<br/>gcc version 4.8.2 20131212 (Red Hat 4.8.2-8) (GCC)<br/><br/><br/>来自：https://my.oschina.net/2688/blog/2933883
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]centos 6升级 GCC 到4.8 ，GCC 4.8 or later required。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>