<?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>Andrew Vayanis &#187; OS X</title>
	<atom:link href="http://www.vayanis.com/tag/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vayanis.com</link>
	<description>... a little piece of my mind.</description>
	<lastBuildDate>Wed, 02 Feb 2011 05:05:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>OS X 10.6 (Snow Leopard) – using MAMP/PECL to install PHP extensions</title>
		<link>http://www.vayanis.com/2010/05/19/os-x-10-6-snow-leopard-using-mamppecl-to-install-php-extensions/</link>
		<comments>http://www.vayanis.com/2010/05/19/os-x-10-6-snow-leopard-using-mamppecl-to-install-php-extensions/#comments</comments>
		<pubDate>Wed, 19 May 2010 15:48:25 +0000</pubDate>
		<dc:creator>Andrew Vayanis</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[Pecl]]></category>

		<guid isPermaLink="false">http://www.vayanis.com/?p=88</guid>
		<description><![CDATA[Need help installing PHP extensions for OS X 10.6 (Snow Leopard) using MAMP and the included pecl binary? Well, you have come to the right place. If you have tried this on its own, you will notice that none of the extensions pecl builds will work with MAMP. This is because MAMP is compiled as [...]]]></description>
			<content:encoded><![CDATA[<p>Need help installing PHP extensions for OS X 10.6 (Snow Leopard) using MAMP and the included pecl binary?  Well, you have come to the right place.  If you have tried this on its own, you will notice that none of the extensions pecl builds will work with MAMP.  This is because MAMP is compiled as a 32-bit binary whereas pecl tries to build 64-bit PHP extensions.</p>
<p>[Update Feb. 1, 2011]</p>
<p>A much easier way to install PECL packages:</p>
<p><code>CFLAGS="-arch i386" ./pecl install</code></p>
<p><del datetime="2011-02-02T05:04:42+00:00">To get pecl working properly, make sure you have <a href="http://developer.apple.com/technologies/tools/xcode.html">Xcode</a> installed on you machine.  Next, you will need to get a copy of MAMP&#8217;s source and prepare it using 32-bit compile flags. You can download the MAMP source from the <a href="http://www.mamp.info/en/downloads/index.html">MAMP download page</a>. Running the .dmg should extract the source. After extracting the source run the following:</del><br />
<span id="more-88"></span><br />
<del datetime="2011-02-02T05:04:42+00:00"><code><br />
mkdir /Applications/MAMP/Library/Include/<br />
mv /path/to/extracted/mamp/source/ /Applications/MAMP/Library/Include/<br />
</code></del></p>
<p><del datetime="2011-02-02T05:04:42+00:00">Next you will want to extract the PHP package and do the following to prepare the package:</del></p>
<p><del datetime="2011-02-02T05:04:42+00:00"><code><br />
mv /Applications/MAMP/Library/Include/extracted_php_source/ /Applications/MAMP/bin/php5/include/php/<br />
cd /Applications/MAMP/bin/php5/include/php/<br />
MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 -arch x86_64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' ./configure --with-php-config=/Applications/MAMP/bin/php5/bin/php-config<br />
</code></del></p>
<p><del datetime="2011-02-02T05:04:42+00:00">Finally, you now can install pecl extensions with the following command:</del><br />
<del datetime="2011-02-02T05:04:42+00:00"><code><br />
MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 -arch x86_64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' /Applications/MAMP/bin/php5/bin/pecl install<br />
</code></del></p>
<p>And that&#8217;s it! Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vayanis.com/2010/05/19/os-x-10-6-snow-leopard-using-mamppecl-to-install-php-extensions/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using Subversion with Network Drives in OS X</title>
		<link>http://www.vayanis.com/2008/05/04/using-subversion-with-network-drives-in-os-x/</link>
		<comments>http://www.vayanis.com/2008/05/04/using-subversion-with-network-drives-in-os-x/#comments</comments>
		<pubDate>Mon, 05 May 2008 01:55:05 +0000</pubDate>
		<dc:creator>Andrew Vayanis</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.vayanis.com/?p=33</guid>
		<description><![CDATA[Ever try to get subversion working between multiple Macs over a home network without WEB Dav or public key authentication over ssh? Well, that was what I was trying to accomplish over this weekend and it apparently isn&#8217;t as straightforward as I thought. There seems to be an issue with subversion (SVN) and apple&#8217;s AFP [...]]]></description>
			<content:encoded><![CDATA[<p>Ever try to get subversion working between multiple Macs over a home network without WEB Dav or public key authentication over ssh?  Well, that was what I was trying to accomplish over this weekend and it apparently isn&#8217;t as straightforward as I thought.  There seems to be an issue with <a href="http://subversion.tigris.org/">subversion (SVN)</a> and apple&#8217;s AFP protocol, something to do with not being able to obtain exclusive locks?  Well, that is all I could find on the problem.  So, if anyone knows how to fix this, I would like to know.  However, I did find another solution on my own, that was just as useful to me as using an AFP mounted drive, but much more versatile.  Intoducing&#8230; <a href="http://code.google.com/p/macfuse/">MacFUSE</a>!<br />
<span id="more-33"></span></p>
<blockquote><p>MacFUSE implements a mechanism that makes it possible to implement a fully functional file system in a user-space program on Mac OS X (10.4 and above).</p></blockquote>
<p>In a nutshell, MacFUSE lets you turn any number of connection interfaces into a fully functional file system.  With the files provided in the link above, you can mount an FTP or SSH login as a network drive, thus solving my issue of using subversion over a network drive.  The best part is, I can now easily access my Mac Pro remotely as well.  Although, now that I think about it, I have never tried to mount a remote drive over AFP so that could have always been possible.</p>
<p>I have to admit this is my new favorite development tool since it makes working remotely much more pleasant.  Instead of opening files one at a time through <a href="http://cyberduck.ch/">Cyberduck</a>, my FTP client, and <a href="http://macromates.com/">Textmate</a>, I can now mount my FTP account as a network drive and create projects with Textmate to edit all my files.  This also happens to be a great solution for all the people wishing for FTP support within Textmate.</p>
<p>Anyhow, I hope this can be of help to someone else.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vayanis.com/2008/05/04/using-subversion-with-network-drives-in-os-x/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

