<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tzetze Fly &#187; mac</title>
	<atom:link href="http://tzetzefly.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://tzetzefly.com</link>
	<description>by Dan Woolley</description>
	<lastBuildDate>Wed, 08 Jun 2011 23:23:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tzetzefly.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tzetze Fly &#187; mac</title>
		<link>http://tzetzefly.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tzetzefly.com/osd.xml" title="Tzetze Fly" />
	<atom:link rel='hub' href='http://tzetzefly.com/?pushpress=hub'/>
		<item>
		<title>Building librets on Mac OSX</title>
		<link>http://tzetzefly.com/2007/09/01/building-librets-on-mac-osx/</link>
		<comments>http://tzetzefly.com/2007/09/01/building-librets-on-mac-osx/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 04:45:43 +0000</pubDate>
		<dc:creator>Dan Woolley</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[rets]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://tzetzefly.wordpress.com/2007/09/01/building-librets-on-mac-osx/</guid>
		<description><![CDATA[I&#8217;ve used librets with Ruby on WinXP for a while now, but now I need it on my new Mac to try out some new ideas with RETS. Clearly, I&#8217;m a Mac &#8220;noob&#8221;, but boy &#8211; was this freakin&#8217; hard! I&#8217;ve documented it here for future reference. Hopefully it will help someone else out. Download [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tzetzefly.com&amp;blog=1628265&amp;post=13&amp;subd=tzetzefly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sxc.hu/pic/m/r/rr/rrss/628013_spaghetti_.jpg" border="1" alt="Spaghetti" hspace="10" width="100" height="100" align="right" />I&#8217;ve used librets with Ruby on WinXP for a while now, but now I need it on my new Mac to try out some new ideas with RETS.  Clearly, I&#8217;m a Mac &#8220;noob&#8221;, but boy &#8211; was this freakin&#8217; hard!  I&#8217;ve documented it here for future reference.  Hopefully it will help someone else out.</p>
<p>Download librets</p>
<ul>
<li>Download librets-1.1.9.tar.gz from <a href="http://www.crt.realtors.org/projects/rets/librets/downloads/" target="_blank">CRT</a>.</li>
<li>According to /doc/build/mac-osx.txt and unix.txt, it looks like there&#8217;s a lot of dependencies to install and build, which I&#8217;m not too comfortable doing manually.</li>
<li>There&#8217;s a note that that the OpenDarwin package manager can install these for you, and I remembered reading about MacPorts earlier, so that seems worth installing.</li>
</ul>
<p>Install MacPorts</p>
<ul>
<li>Download and install MacPorts from <a href="http://www.macports.org/" target="_blank">http://www.macports.org/</a></li>
<li>Make sure path is correct according to installation instructions.</li>
<li>Update MacPorts using &#8220;sudo port selfupdate&#8221;.</li>
</ul>
<p>Install dependencies</p>
<ul>
<li>Install Boost using &#8220;sudo port install boost&#8221;.  Takes a while &#8211; about 15 minutes for me.</li>
<li>Install Expat using &#8220;sudo port install expat&#8221;</li>
<li>Install ANTLR using &#8220;sudo port install antlr&#8221;</li>
<li>Install libcurl using &#8220;sudo port install curl&#8221;</li>
<li>Install swig using &#8220;sudo port install swig&#8221;.  This was not documented as a dependency, so it took a while to figure this one out after the below steps kept failing.</li>
</ul>
<p>Build librets</p>
<ul>
<li>&#8220;./configure&#8221; kept returning errors finding Expat and Boost files.</li>
<li>Used &#8220;./configure &#8211;with-expat-prefix=/opt/local &#8211;with-boost-prefix=/opt/local &#8211;enable-shared_dependencies&#8221; instead.</li>
<li>&#8220;make&#8221;</li>
<li>&#8220;sudo make install&#8221;</li>
</ul>
<p>Build librets ruby</p>
<ul>
<li>In the project/swig folder, use &#8220;make ruby&#8221;</li>
</ul>
<p>Test</p>
<ul>
<li>In the project/swig/ruby folder, run &#8220;ruby login.rb&#8221; and &#8220;ruby search.rb&#8221;</li>
</ul>
<p>You&#8217;ll know now if you&#8217;ve got everything dialed in.  Note that when you are writing your own Ruby code in a different folder, make sure you include the path to librets.rb at the top like this:</p>
<p># Prepend load path with path to librets.rb<br />
$:.unshift(&#8216;/usr/local/src/librets-1.1.9/project/swig/ruby&#8217;)<br />
require &#8216;librets&#8217;<br />
include Librets</p>
<p>Geez!  That took a while.  I guess if I&#8217;d had a lot of *nix experience, it would have been easier, but librets has a special Windows install that easier.</p>
<p>Special thanks to the <a href="http://www.realtor.org/crt" target="_blank">CRT</a> guys for making librets freely available.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tzetzefly.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tzetzefly.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tzetzefly.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tzetzefly.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tzetzefly.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tzetzefly.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tzetzefly.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tzetzefly.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tzetzefly.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tzetzefly.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tzetzefly.com&amp;blog=1628265&amp;post=13&amp;subd=tzetzefly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tzetzefly.com/2007/09/01/building-librets-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3681004328f5d6f07e43515e68b44b22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dan</media:title>
		</media:content>

		<media:content url="http://www.sxc.hu/pic/m/r/rr/rrss/628013_spaghetti_.jpg" medium="image">
			<media:title type="html">Spaghetti</media:title>
		</media:content>
	</item>
		<item>
		<title>Why a new Mac?</title>
		<link>http://tzetzefly.com/2007/08/28/why-a-new-mac/</link>
		<comments>http://tzetzefly.com/2007/08/28/why-a-new-mac/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 04:24:45 +0000</pubDate>
		<dc:creator>Dan Woolley</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://tzetzefly.wordpress.com/2007/08/28/why-a-new-mac/</guid>
		<description><![CDATA[My home PC was about five years old and dragging running WinXP. I tried a little experiment with Ubuntu and I liked it a lot &#8211; more than XP for what I was doing at home. I but could never get sleep mode and color photos on the Canon Pixma i4000 working right, and those [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tzetzefly.com&amp;blog=1628265&amp;post=7&amp;subd=tzetzefly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My home PC was about five years old and dragging running WinXP.  I tried a little experiment with Ubuntu and I liked it a lot &#8211; more than XP for what I was doing at home.  I but could never get sleep mode and color photos on the Canon Pixma i4000 working right, and those proved to be deal killers.  After a few months, I gave up.</p>
<p>So I needed a new computer &#8211; web, e-mail, spreadsheet, photos, minor video &#8211; basic stuff.</p>
<p>Reasons I decided to try a Mac:</p>
<ol>
<li>With Firefox, OpenOffice, and Parallels, you no longer need Windows to run your most used apps. I decided the only app I really needed to run that required Windows was MS Money, and Parallels has that task covered.</li>
<li>My new favorite programming language is Ruby, and that crowd is full of switchers.  No need for Windows to write web apps.</li>
<li>Lot&#8217;s of people I respect have been leaving Windows for a Mac and cite the &#8220;OS&#8217;s are becoming irrelevant, so why not use a beautiful OS&#8221; meme.  See <a href="http://blog.pmarca.com/2007/06/at_long_last_sw.html" target="_blank">Marc Andreessen</a> (he of Netscape, Opsware, Ning, and the cover of Time Magazine fame) and <a href="http://www.blogmaverick.com/2007/08/27/the-internet-is-still-dead-and-boring/" target="_blank">Marc Cuban</a> (he of the Dallas Mavericks, broadcast.com, and collaring his Yahoo! stock fame).</li>
<li>I&#8217;ve got <a href="http://vendoralley.com" target="_blank">Greg</a> to rely on for tech support.</li>
<li>I&#8217;d liked NOT using XP so much with Ubuntu, but needed a little more driver support and ease of use.</li>
</ol>
<p><img src="http://images.apple.com/imac/images/gallery/imac_2_20070807.jpg" alt="iMac" align="left" height="180" width="300" />I waited for the new 24-inch iMac&#8217;s to come out and snagged one the first week.  The display is unreal, the desktop is beautiful, and everything just works.  I can run WinXP in a window faster than on my old computer, and I can even drop down into Terminal for a bash shell.  There&#8217;s a reason I&#8217;m seeing more and more Mac notebooks at every conference I go to.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tzetzefly.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tzetzefly.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tzetzefly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tzetzefly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tzetzefly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tzetzefly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tzetzefly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tzetzefly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tzetzefly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tzetzefly.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tzetzefly.com&amp;blog=1628265&amp;post=7&amp;subd=tzetzefly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tzetzefly.com/2007/08/28/why-a-new-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3681004328f5d6f07e43515e68b44b22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dan</media:title>
		</media:content>

		<media:content url="http://images.apple.com/imac/images/gallery/imac_2_20070807.jpg" medium="image">
			<media:title type="html">iMac</media:title>
		</media:content>
	</item>
		<item>
		<title>You gotta start somewhere</title>
		<link>http://tzetzefly.com/2007/08/27/hello-world-2/</link>
		<comments>http://tzetzefly.com/2007/08/27/hello-world-2/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 02:03:36 +0000</pubDate>
		<dc:creator>Dan Woolley</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://tzetzefly.wordpress.com/2007/08/27/hello-world-2/</guid>
		<description><![CDATA[Well, well. Bought a new iMac and set up a blog. What&#8217;s the world coming to?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tzetzefly.com&amp;blog=1628265&amp;post=5&amp;subd=tzetzefly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, well.  Bought a new iMac and set up a blog.  What&#8217;s the world coming to?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tzetzefly.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tzetzefly.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tzetzefly.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tzetzefly.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tzetzefly.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tzetzefly.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tzetzefly.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tzetzefly.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tzetzefly.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tzetzefly.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tzetzefly.com&amp;blog=1628265&amp;post=5&amp;subd=tzetzefly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tzetzefly.com/2007/08/27/hello-world-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3681004328f5d6f07e43515e68b44b22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
