<?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>/home/drscream &#187; macports</title>
	<atom:link href="http://www.cyber-tec.org/tag/macports/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyber-tec.org</link>
	<description>blog of thomas merkel (alias drscream) - creative coding</description>
	<lastBuildDate>Wed, 25 Aug 2010 19:42:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SnowLeopard, PHP5 ZipArchive Support</title>
		<link>http://www.cyber-tec.org/2010/02/08/snowleopard-php5-ziparchive-support/</link>
		<comments>http://www.cyber-tec.org/2010/02/08/snowleopard-php5-ziparchive-support/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 13:27:25 +0000</pubDate>
		<dc:creator>drscream</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[zip]]></category>
		<category><![CDATA[zip extension]]></category>
		<category><![CDATA[ziparchive]]></category>

		<guid isPermaLink="false">http://www.cyber-tec.org/?p=1087</guid>
		<description><![CDATA[First of all I would like PHP5 ZIP Support under MacOS X Snow Leopard. So there is an easy PECL Extension that could be installed with, but it wouldn&#8217;t work: $ pecl install zip [...] php_pcre.h:29:18: error: pcre.h: No such file or directory php_zip.c:602: error: 'pcre' undeclared (first use in this function) [...] Now i [...]]]></description>
			<content:encoded><![CDATA[<p>First of all I would like PHP5 ZIP Support under MacOS X Snow Leopard. So there is an easy PECL Extension that could be installed with, but it wouldn&#8217;t work:<br />
<code>
<pre>$ pecl install zip
[...]
php_pcre.h:29:18: error: pcre.h: No such file or directory
php_zip.c:602: error: 'pcre' undeclared (first use in this function)
[...]</pre>
<p></code></p>
<p>Now i started to compile PHP myself, &#8230; *waiting*waiting*error*killing myself*waiting* &#8230; Okey it takes to long time. Currently i&#8217;ve found an really easy way to fix this problem.</p>
<p>First: Install <a href="http://www.macports.org/">MacPorts</a>, it requires XCode.<br />
Second: Compile PCRE with MacPorts<br />
<code>
<pre>port install pcre</pre>
<p></code><br />
Third: Install the PECL ZIP extension via this special command :P<br />
<code>
<pre>$ CPPFLAGS="-I/opt/local/include" pecl install zip</pre>
<p></code><br />
Fifth: Add the extension to the php.ini file <i>/etc/php.ini</i><br />
<code>
<pre>extension=zip.so</pre>
<p></code></p>
<p>Restart your apache and thats it ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyber-tec.org/2010/02/08/snowleopard-php5-ziparchive-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cleanup MacPorts</title>
		<link>http://www.cyber-tec.org/2008/12/25/cleanup-macports/</link>
		<comments>http://www.cyber-tec.org/2008/12/25/cleanup-macports/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 14:38:12 +0000</pubDate>
		<dc:creator>drscream</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[macports]]></category>

		<guid isPermaLink="false">http://www.cyber-tec.org/?p=312</guid>
		<description><![CDATA[remove the source: port clean --all installed remove inactive packages: port -f uninstall inactive For more information you can look into the MacPorts Guide.]]></description>
			<content:encoded><![CDATA[<p><strong>remove the source:</strong><br />
<code>
<pre>port clean --all installed</pre>
<p></code></p>
<p><strong>remove inactive packages:</strong><br />
 <code>
<pre>port -f uninstall inactive</pre>
<p></code></p>
<p>For more information you can look into the <a href="http://guide.macports.org/">MacPorts Guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyber-tec.org/2008/12/25/cleanup-macports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
