{"id":2417,"date":"2009-09-04T08:57:14","date_gmt":"2009-09-03T23:57:14","guid":{"rendered":"http:\/\/yasu2.prosou.nu\/blog\/index.php\/2009\/09\/04\/macports_on_snow_leopard\/"},"modified":"2009-09-04T08:57:14","modified_gmt":"2009-09-03T23:57:14","slug":"macports_on_snow_leopard","status":"publish","type":"post","link":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2009\/09\/04\/2417\/","title":{"rendered":"MacPorts on Snow Leopard"},"content":{"rendered":"<p>I&#8217;ve started to build my development environment on my MacBook, with freshly installed Snow Leopard.<\/p>\n<p>\nThe MacPorts installer distributed as a package at that time (version 1.7.1) didn&#8217;t support 64bit platform (now it supports with 1.8.0, I think), so we had to checkout the latest version from svn repos, as <a href=\"http:\/\/guide.macports.org\/#installing.macports.subversion\">described in MacPorts guide.<\/a><\/p>\n<p>\nI&#8217;ve got following error message while building Python 2.6 (as a dependency of gnome-doc-utils) with MacPorts 1.8.99 on my MacBook (MacOS X 10.6.0).<\/p>\n<p><pre>\nld: warning: in Python.framework\/Versions\/2.6\/Python, file is not of required architecture\nUndefined symbols:\n\"_PyMac_Error\", referenced from:\n\"_Py_Main\", referenced from:\n_main in python.o\nld: symbol(s) not found\ncollect2: ld returned 1 exit status\n<\/pre>\n<p>And the <a href=\"http:\/\/trac.macports.org\/ticket\/20284#comment:3\">Ticket 20284<\/a> on MacPorts discussion list helped me much&#8230; The patch is available <a href=\"http:\/\/trac.macports.org\/attachment\/ticket\/20284\/python26_snowleopard.patch\">there<\/a> (But, this patch fails while staging Python into destroot.)<\/p>\n<p>\nAnother way is to build gnome-doc-utils with +python25 variant, if you aren&#8217;t interested in python 2.6. This enables to build gnome-doc-utils.<\/p>\n<p>\nThings that I couldn&#8217;t build with MacPorts:<br \/>\n&#8211; screen<br \/>\n&#8211; osxutils (hmm, osxutils uses MacOSX10.4sdk ???)<br \/>\n&#8211; ncbi_tools<br \/>\n&#8211; gcc43<\/p>\n<p>\nThings I could build successfully:<br \/>\n&#8211; coreutils, lv, lha<br \/>\n&#8211; ccache, boost, git, subversion<br \/>\n&#8211; ncftp, wget<br \/>\n&#8211; iverilog, gtkwave<br \/>\n&#8211; tgif, ImageMagick, ghostscript, gv, gqview<br \/>\n&#8211; a2ps, ptex<br \/>\n&#8211; gtk2, pidgin<br \/>\n&#8211; gnuplot, EMBOSS<\/p>\n<p>\nOthers:<br \/>\n&#8211; tuntaposx: <a href=\"http:\/\/yasu2.prosou.nu\/blog\/2009\/09\/openvpn-tunnelblick-on-snow-le.html\">see this entry.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve started to build my development environment on my MacBook, with freshly installed Snow Leopard. The &hellip; <a href=\"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2009\/09\/04\/2417\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;MacPorts on Snow Leopard&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2417","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=2417"}],"version-history":[{"count":0,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2417\/revisions"}],"wp:attachment":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}