<?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>Raymondopedia &#187; Mac</title>
	<atom:link href="http://lucraymond.net/category/system/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucraymond.net</link>
	<description>Multimedia, programming and more!</description>
	<lastBuildDate>Fri, 04 Nov 2011 01:42:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Build and install APC extension on Mac OSX 10</title>
		<link>http://lucraymond.net/2011/06/12/build-and-install-apc-extension-on-mac-osx-10/</link>
		<comments>http://lucraymond.net/2011/06/12/build-and-install-apc-extension-on-mac-osx-10/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 14:23:01 +0000</pubDate>
		<dc:creator>Luc</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[building]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://lucraymond.net/?p=273</guid>
		<description><![CDATA[If you tried to install the APC extension on the MAC and got the following error: pecl mac error: ‘apc_regex’ has no member named ‘nreg’ The problem [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lucraymond.net/files/2010/04/mac-osx-leopard.png"><img class="alignright size-thumbnail wp-image-287" title="mac-osx-leopard" src="http://lucraymond.net/files/2010/04/mac-osx-leopard-150x150.png" alt="" width="150" height="150" /></a></p>
<p>If you tried to install the APC extension on the MAC and got the following error:</p>
<p style="padding-left: 30px;"><em>pecl mac error: ‘apc_regex’ has no member named ‘nreg’</em></p>
<p>The problem is that APC depends on the PCRE library and we need to install it before compiling APC. Here is how to fix it!</p>
<ul>
<li>Open a <strong>TERMINAL</strong> session,  type : <strong> mkdir  temp </strong></li>
<li>Head up to <a title="download page" href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/" target="_blank">this page</a> and download a PCRE library (try to use the latest one). I took <a href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.zip">pcre-8.12.zip</a>, put the file inside the <strong>temp</strong> directory</li>
<li>uncompress the PCRE archive via Finder (or any other way)</li>
</ul>
<p style="padding-left: 60px;"><code><br />
<strong>cd  pcre-x.xx</strong> replace x with the version number (example: cd  pcre-8.12)<br />
.<strong>/configure</strong><br />
<strong>make</strong><br />
<strong>sudo make install</strong><br />
</code></p>
<ul>
<li>now download the latest APC release (<a title="download link APC" href="http://pecl.php.net/get/APC" target="_blank">link here</a>)</li>
<li>uncompress the APC archive via finder  (or terminal by typing    <strong>tar zxf  APC-X-XX  replace X with archive name and version number</strong> )</li>
<li>type</li>
</ul>
<p style="padding-left: 60px;"><strong><code>cd ~/temp/APC-3.1.9    (change the version number if you're using something different)<br />
phpize</code></strong><br />
<strong> <code> <strong><code>./configure</code></strong><br />
<strong> <code> </code></strong>make</code></strong><br />
<strong> <code> sudo make install </code></strong><code> </code></p>
<p>you should see something similar to this when it&#8217;s done compiling</p>
<p style="padding-left: 30px;"><code>Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/<br />
Installing header files:          /usr/include/php/</code></p>
<p>&nbsp;</p>
<p>Modify your php.ini file to have the extension loaded at php startup</p>
<ul>
<li>Open /private/etc/php.ini   (in Finder, select GO menu, select GO TO FOLDER and type /private/etc)</li>
<li>add this line in the Dynamic extensions area</li>
</ul>
<p style="padding-left: 60px;"><code><strong>extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/apc.so</strong><br />
</code></p>
<p>Restart the web server (reboot your machine if your lazy, or go into the System preferences, click on Sharing, un-select Web sharing , wait a few seconds and select it again )</p>
<p>You&#8217;re done, congrats!</p>
<p>&nbsp;</p>
<p>Note:</p>
<p>There is a bug in version APC 3.1.9  <img src='http://lucraymond.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>if you get error</p>
<p style="padding-left: 30px;"><code>Fatal error: Unknown: apc_fcntl_unlock failed: in Unknown on line 0</code></p>
<p>Relax! just modify the file apc_lock.h inside the APC folder you created. Edit the following line around lines 155-160</p>
<p>Find the following:</p>
<pre style="padding-left: 30px;"><strong># define apc_lck_rdunlock(a) apc_fcntl_unlock(&amp;a TSRMLS_CC)</strong></pre>
<p>Replace by the following</p>
<pre style="padding-left: 30px;"><strong># define apc_lck_rdunlock(a) apc_fcntl_unlock(a TSRMLS_CC)</strong></pre>
<p>&nbsp;</p>
<p>Recompile APC by doing:</p>
<pre style="padding-left: 30px;"><strong>cd ~/temp/APC-x-xx (replace X with version number) make clean phpize ./configure make sudo make install</strong></pre>
<p>And restart your web server! Too easy !  enjoy!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://lucraymond.net/2011/06/12/build-and-install-apc-extension-on-mac-osx-10/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fixing SMB issue with Mac OSX 10.6.3 update</title>
		<link>http://lucraymond.net/2010/04/13/fixing-smb-issue-with-mac-osx-10-6-3-update/</link>
		<comments>http://lucraymond.net/2010/04/13/fixing-smb-issue-with-mac-osx-10-6-3-update/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 15:31:24 +0000</pubDate>
		<dc:creator>Luc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[10.6.3]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://lucraymond.net/?p=219</guid>
		<description><![CDATA[You may have noticed problems when trying to save/write/create/delete stuff on a SMB share after updating your Mac to update 10.6.3. The quick turn around is to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://lucraymond.net/files/2010/04/mac-osx-leopard.png"><img class="alignright size-medium wp-image-287" title="mac-osx-leopard" src="http://lucraymond.net/files/2010/04/mac-osx-leopard-300x300.png" alt="" width="300" height="300" /></a></p>
<p>You may have noticed problems when trying to save/write/create/delete stuff on a SMB share after updating your Mac to update 10.6.3. The quick turn around is to edit the smb.conf file (usually find in /etc/samba/smb.conf) and add this line in the  <strong>[GLOBAL]</strong> section:</p>
<p><em>unix extensions = no</em></p>
<p>restart samba and it will work again!</p>
<p>to restart SAMBA:     <em>/etc/init.d/samba restart</em></p>
]]></content:encoded>
			<wfw:commentRss>http://lucraymond.net/2010/04/13/fixing-smb-issue-with-mac-osx-10-6-3-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New iMac, old one was defect</title>
		<link>http://lucraymond.net/2009/01/13/new-imac-old-one-was-defect/</link>
		<comments>http://lucraymond.net/2009/01/13/new-imac-old-one-was-defect/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 18:12:19 +0000</pubDate>
		<dc:creator>Luc</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.lucraymond.net/?p=55</guid>
		<description><![CDATA[I got my new iMac last thursday!! yeahhhh.. this was my Christmas gift but the one I got was defect. Every once in a while, it was [...]]]></description>
			<content:encoded><![CDATA[<p>I got my new iMac last thursday!! yeahhhh.. <span id="more-55"></span><br />
this was my Christmas gift but the one I got was defect. Every once in a while, it was shutting down and I needed to unplug it, wait a while to get it back working again. Since it was bought at FutureShop, I had no problem exchanging it for another one. Will post a picture soon..</p>
<p>Spec:</p>
<p>24&#8243; inch iMac<br />
2.8ghz<br />
4g ram</p>
]]></content:encoded>
			<wfw:commentRss>http://lucraymond.net/2009/01/13/new-imac-old-one-was-defect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

