<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

 <title>Dave Dash</title>
 <link href="http://davedash.com/tag/osx/atom.xml" rel="self"/>
 <link href="http://davedash.com/tag/osx"/>
 <updated>2012-01-17T21:54:19-08:00</updated>
 <id>http://davedash.com/</id>
 <author>
   <name>Dave Dash</name>
   <email>dd+atom1@davedash.com</email>
 </author>

 
 <entry>
   <title>Snow Leopard for Macports and Mysql users</title>
   <link href="http://davedash.com/2009/09/02/snow-leopard-for-macports-and-mysql-users/"/>
   <updated>2009-09-02T00:00:00-07:00</updated>
   <id>http://davedash.com/2009/09/02/snow-leopard-for-macports-and-mysql-users</id>
   <content type="html">&lt;p&gt;I use mysql and macports on OSX and both were broken when I upgraded to Snow Leopard.&lt;/p&gt;

&lt;p&gt;Mysql was a quick fix:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ln -s /usr/local/mysql-5.1.35-osx10.5-x86 /usr/local/mysql
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(you're installed version might be different).  It turns out a symlink was removed during the Snow Leopard upgrade.&lt;/p&gt;

&lt;p&gt;As for MacPorts, I had to install Xcode from the Snow Leopard CD, install the Snow Leopard version of MacPorts and then follow &lt;a href=&quot;http://trac.macports.org/wiki/Migration&quot;&gt;this migration guide&lt;/a&gt;.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>postgresql and python in osx</title>
   <link href="http://davedash.com/2008/08/10/postgresql-and-python-in-osx/"/>
   <updated>2008-08-10T00:00:00-07:00</updated>
   <id>http://davedash.com/2008/08/10/postgresql-and-python-in-osx</id>
   <content type="html">&lt;p&gt;I want to start dabbling with postgreSQL on OS X.  After several SVN checkouts, binary packages, etc, I've realize the easiest path to success is just installing from fink unstable.&lt;/p&gt;

&lt;p&gt;Running:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;fink install psycopg2-py2.5
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;will get you everything you need, &lt;code&gt;python&lt;/code&gt;, the &lt;code&gt;pyscopg2&lt;/code&gt; driver and even &lt;code&gt;postgresql&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Unfortunately I had MacPython binary and a postgres binary which I couldn't easily install (and if anybody knows how to uninstall at least the former, I'm all ears).  I decided to just merge the site-packages for both the fink installed python2.5 and the MacPython:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
$ ln -s /sw/lib/python2.5/site-packages /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now if I installed more python packages via fink they will work in MacPython.&lt;/p&gt;
</content>
 </entry>
 

</feed>

