<?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>Delivering Quality &#187; Snow Leopard</title>
	<atom:link href="http://www.markdeepwell.com/tag/snow-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markdeepwell.com</link>
	<description>A Software Developers View of the World</description>
	<lastBuildDate>Sat, 31 Dec 2011 22:41:24 +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>MySQL Gem on Snow Leopard</title>
		<link>http://www.markdeepwell.com/2010/08/mysql-gem-on-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2010/08/mysql-gem-on-snow-leopard/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 01:49:51 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Gem]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=539</guid>
		<description><![CDATA[Snow Leopard does not have the mysql gem installed, and my last solution for installing it only work in OS X prior to 10.6.4; therefore, when you see the following error: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql mkmf.rb [...]]]></description>
			<content:encoded><![CDATA[<p>Snow Leopard  does not have the mysql gem  installed, and my  <a href="http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/">last solution</a> for installing it only work in OS X prior to 10.6.4; therefore, when you see the following error:<br />
<code><br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing mysql:<br />
ERROR: Failed to build gem native extension.</code><br />
<code><br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql<br />
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h<br />
</code><br />
Install the mysql gem with these steps:</p>
<ol>
<li>Download and install the latest version of <a href="http://www.macports.org/install.php">MacPorts</a> if not already installed<a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg"></a></li>
<li>Run the following commands to install mysql5 and the associated ruby gem</li>
</ol>
<p><code> # sudo port install mysql5-server<br />
# sudo env ARCHFLAGS="-arch x86_64" gem install mysql<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2010/08/mysql-gem-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Ubuntu for Time Machine in Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 16:47:41 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Time Machine]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=365</guid>
		<description><![CDATA[Instructions for creating a sparse bundle disk image for using Time Machine with Ubuntu on Snow Leopard.]]></description>
			<content:encoded><![CDATA[<p>Over a year ago Matthias Kretschmann posted an excellent guide on how to use  <a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/">Ubuntu as a Time Machine</a> backup server. The guide is quite well written all the configuration steps worked, but I received <strong>Error 45 creating backup disk image</strong> when Time Machine ran. Some more research revealed that this is because of changes to the sparse bundle image in Snow Leopard.</p>
<p>To make it work I had to create my own sparse bundle with a  plist file in it to associate my MacBook&#8217;s unique id with the time machine image. Leopard and earlier releases of OS X would create a sparse disk image with the name from the network cards mac address, but in Snow Leopard  it uses the computer Hardware UUID. I imagine this is because notebooks can have more than one mac address, one for wired and one for wireless.</p>
<h3>How to create a sparse bundle in Snow Leopard</h3>
<p><strong>Step 1</strong>: Create the disk image with your computer&#8217;s name:</p>
<p><tt>hdiutil create -size 500G -fs HFS+J -volname 'Time Machine Backup'  -type SPARSEBUNDLE computer_name.sparsebundle</tt></p>
<p><strong>Step 2</strong>: Create a file called <tt>com.apple.TimeMachine.MachineID.plist</tt> inside the sparsebundle folder and fill it with the following:</p>
<div style="overflow:scroll">
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;com.apple.backupd.HostUUID&lt;/key&gt;
    &lt;string&gt;UUID_STRING&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;</code></pre>
</div>
<p>Make sure you replace UUID_STRING with your unique machine identifier. This can be found by loading System Profiler (Hardware UUID).</p>
<p><strong>Step 3</strong>: Transfer the sparse bundle disk image to your Ubuntu computer:</p>
<p><tt>rsync -avP computer_name.sparsebundle username@ubuntumachine:~/<br />
</tt></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fixing MySQL Gem on Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 22:14:36 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Gem]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=231</guid>
		<description><![CDATA[NOTE: See my latest post for a solution for OS X 10.6.4 and later A fresh Snow Leopard (OS X 10.6) install does not have the mysql gem installed, and installing it fails because of missing header files: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="color: #000000;"><strong>NOTE: See my latest post for a <a href="http://www.markdeepwell.com/2010/08/mysql-gem-on-snow-leopard/">solution for OS X 10.6.4</a> and later</strong></span></p></blockquote>
<p>A fresh Snow Leopard (OS X 10.6) install does not have the mysql gem installed, and installing it fails because of missing header files:<br />
<code><br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing mysql:<br />
ERROR: Failed to build gem native extension.</code><br />
<code><br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql<br />
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h<br />
</code><br />
To correctly install the mysql gem:</p>
<ol>
<li>Download and install the <a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg">MySQL package</a>.</li>
<li>Install XCode that&#8217;s bundled with Snow Leopard</li>
<li>Install the gem for your architecture (use -arch i386 if you have an Intel Core Solo or Intel Core Duo processor):</li>
</ol>
<p><code> # sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql-5.1.38-osx10.5-x86_64/bin/mysql_config<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Git on Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/09/install-git-on-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/09/install-git-on-snow-leopard/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 01:23:22 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=221</guid>
		<description><![CDATA[To install git on the latest version of OS X (10.6), use the git-1.6.4.2-intel-leopard.dmg (or later) package from git-osx-installer. So far it works fine for me on Snow Leopard. I like how OS X comes with a large number of open source packages such as PHP, Apache, Vim, Subversion and Ruby on Rails; however, I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>To install git on the latest version of OS X (10.6), use the git-1.6.4.2-intel-leopard.dmg (or later) package from <a href="http://code.google.com/p/git-osx-installer/">git-osx-installer</a>. So far it works fine for me on Snow Leopard.</p>
<p>I like how OS X comes with a large number of open source packages such as PHP, Apache, Vim, Subversion and Ruby on Rails; however, I&#8217;d really like to see Apple add Git to the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/09/install-git-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

