{"id":218,"date":"2010-12-30T13:18:17","date_gmt":"2010-12-30T20:18:17","guid":{"rendered":"http:\/\/journeyman.ivystreetinc.com\/?p=218"},"modified":"2010-12-30T13:18:17","modified_gmt":"2010-12-30T20:18:17","slug":"rochambeau-with-snow-leopard-and-python","status":"publish","type":"post","link":"http:\/\/10kdev.net\/?p=218","title":{"rendered":"Rochambeau With Snow Leopard and Python"},"content":{"rendered":"<p><em>And I still can&#8217;t walk upright . . .<\/em><\/p>\n<p>Finally, I decided I was sick of the incompatabilities &#8220;modern&#8221; software has with OSX 10.4 -Tiger.\u00a0 Like a Rock Solid Visual basic 5 compiler, I threw it to the gutter and got myself a copy of Snow Leopard at a discount since it was an iLife09 version.\u00a0\u00a0 The last straw was trying to install Google SketchUp only to find out that ONLY OSX 10.5 and later was supported.\u00a0 On top of it all I was forced to deal with PPC vs. Intel architectures.\u00a0 WTF is this 1995????\u00a0 (Remember all those cheaper non-Intel alternative processors back then, jeez can&#8217;t even remember their names and only AMD is left.)<\/p>\n<p>Took about 3 hours to get my data backed up and do a fresh install of Snow Leopard.\u00a0 Also, since I had a Tiger machine I had to get the boxed set but I passed on installing iWork.\u00a0 OK three hours and $99 poorer I was ready to rock the laptop world!!!!!<\/p>\n<p>So I started to put on my usual apps . . Text Wrangler, Taco Html, Firefox . . .Zim Wiki.\u00a0\u00a0\u00a0\u00a0 Hmmmm Zim went on pretty roundabout on Tiger, a MacPort install.<\/p>\n<p>I install the requisite XCode and X11 stuff off my Snow Leopard disk.\u00a0 Then, I install MacPorts.\u00a0 Only a little bit left.\u00a0\u00a0 But it wasn&#8217;t going to be this easy, its a MAC and a MAC doesn&#8217;t like you messing with its libraries, let alone the .profile, in a nice manner.<\/p>\n<p>So the instructions for Zim say install Python 2.5 and a few libraries and its on.\u00a0 Easy enough.\u00a0 But I get problems; problem problem problems.\u00a0\u00a0\u00a0 Packages can&#8217;t install.\u00a0 I search the MacPorts\u00a0 site, looking at bug databases and install config files.\u00a0\u00a0 Apparantly someone uploaded on\u00a0 package dependency with only PPC architecture files; another Python library wouldn&#8217;t work on Snow Leopard&#8217;s 64-bit handling.\u00a0 And yet again a GTK package wouldn&#8217;t even work at ALL with Python 2.5 there and some were calling for Python 2.7 dependencies???<\/p>\n<p>Tracing through the log files I go slow and try to use a few other installation methods.\u00a0 hand drop zim and python &#8212; nothing.\u00a0 I try Fink, which is kind of like a MacPorts &#8212; the Snow Leopard release doesn&#8217;t exist yet you have to build it by hand, if you have all the packages but I haven&#8217;t even gotten gcc working yet.\u00a0 The easy_install routine from Python doesn&#8217;t have everything I need &#8220;egged&#8221; up so that won&#8217;t work.<\/p>\n<p>Wow great all these command-line installation methods:\u00a0 MacPorts, Fink, and Python got me nowhere on an OS released in June 2009.\u00a0\u00a0 I learned a lot about python packages and how to use MacPorts though. Golly.<\/p>\n<p>Finally, I issue this:<\/p>\n<ul>\n<li>sudo port -f uninstall installed<\/li>\n<\/ul>\n<p>Trying to clean out all my MacPorts installs.\u00a0 At this point almost 6 hours have went by or researching, trial and error.\u00a0 I was sipping a Mountain Dew and having that stay-awake feeling I used to get looking for Windows 95 print drivers over 10 years ago to make something, ANYTHING work; or playing Champions RPG at 3 am.<\/p>\n<p>Remembering a few things from the bug database and some package config files I try the install completely with Python 2.6, even though Zim hadn&#8217;t been built against that.\u00a0 Bingo it WORKED!!!!\u00a0 (I have a posting on this somewhere on this site).<\/p>\n<p>9 total hours to put on a\u00a0 little app that takes 15 minutes to put on an XP or Linux box.\u00a0 As I&#8217;m watching the command line as MacPorts installs every goddamn thing under the stars just to make a tiny app work: \u00a0 perl, tcl, smalltalk, visualbasic 4, C from an old SCO Unix machine, informix, recipes for goulash.\u00a0\u00a0\u00a0 PERL???\u00a0 WHY?!?!?!??!\u00a0\u00a0\u00a0 Dare I say &#8212; or question out loud &#8212; are Linux and Windows MORE compatable with each other due to the ease of\u00a0 classpathing?<\/p>\n<p>Macintosh I just don&#8217;t get it.<\/p>\n<p>Well have to go I need to write my Grandma an email about how easy it is to compile libpng on the supremely user-friendly OSX!!!!!\u00a0 She still uses mail -f .\u00a0 That silly Grandma!!!!!!<\/p>\n<p>\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>And I still can&#8217;t walk upright . . . Finally, I decided I was sick of the incompatabilities &#8220;modern&#8221; software has with OSX 10.4 -Tiger.\u00a0 Like a Rock Solid Visual basic 5 compiler, I threw it to the gutter and got myself a copy of Snow Leopard at a discount since it was an iLife09 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/218"}],"collection":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=218"}],"version-history":[{"count":2,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/218\/revisions"}],"predecessor-version":[{"id":220,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/218\/revisions\/220"}],"wp:attachment":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=218"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}