<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>emerge &#8211; richliu&#039;s blog</title>
	<atom:link href="https://richliu.com/tag/emerge/feed/" rel="self" type="application/rss+xml" />
	<link>https://richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Sun, 06 Dec 2009 02:28:56 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Gentoo PHP4 Support</title>
		<link>https://richliu.com/2009/12/06/816/gentoo-php4-support/</link>
					<comments>https://richliu.com/2009/12/06/816/gentoo-php4-support/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 06 Dec 2009 02:28:56 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[php4]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=816</guid>

					<description><![CDATA[<p>Gentoo 下的 PHP4 Support 要改用其他的 source tree, 目前 php4 早就從  [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2009/12/06/816/gentoo-php4-support/">Gentoo PHP4 Support</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Gentoo 下的 PHP4 Support 要改用其他的 source tree, 目前 php4 早就從 portage 移除了</p>
<p>不過如果是安裝 php4.4.9 會碰到一些問題, 在 patch &#8220;php4-iodbc-config.patch&#8221; 時會失敗</p>
<p>這時就需要移除 Patch 壓縮檔內的 php4-iodbc-config.patch&#8221;</p>
<p><span id="more-816"></span></p>
<p>Step1 : 加入 php-4 的 Tree</p>
<blockquote><p># layman -a php-4</p></blockquote>
<p>Step2: 設定要修改的檔案</p>
<blockquote>
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"># EB="/usr/local/portage/layman/php-4/dev-lang/php/php-4.4.9.ebuild"</pre>
</blockquote>
<p>Step3: 抓下要用的檔案</p>
<blockquote>
<pre># ebuild ${EB} setup</pre>
</blockquote>
<p>Step4: 移除 php4-iodbc-config.patch, 並且 copy 回去</p>
<blockquote>
<pre># tar -xvjf /usr/portage/distfiles/php-patchset-4.4.9-r0.tar.bz2
# rm 4.4.9/php4/php4-iodbc-config.patch
# tar -cvjf /usr/portage/distfiles/php-patchset-4.4.9-r0.tar.bz2 4.4.9/*
# cp /usr/portage/distfiles/php-patchset-4.4.9-r0.tar.bz2 /usr/local/portage/layman/php-4/dev-lang/php/files/</pre>
</blockquote>
<p>Step6: 重新產生 digest 檔</p>
<blockquote>
<pre># FEATURES+="assume-digest" ebuild --force ${EB} digest</pre>
</blockquote>
<p>Step7: 再 merge 一次.</p>
<blockquote>
<pre># ebuild ${EB} merge</pre>
</blockquote>
<p>老機器不死, 只是需要維護&#8230;..</p>
<p>Ref.</p>
<p><strong><a href="http://www.gentooforum.de/index.php?page=Thread&amp;postID=118554&amp;s=1ef392cff4b7af0d68c373e313e2c54321de54f6#post118554" target="_blank" rel="noopener">gentoo 2008.0 und php-4 (emerge failed)</a>[德文網站]</strong></p>
<pre></pre>
<p>The post <a rel="nofollow" href="https://richliu.com/2009/12/06/816/gentoo-php4-support/">Gentoo PHP4 Support</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2009/12/06/816/gentoo-php4-support/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
