{"id":60,"date":"2010-05-31T23:29:46","date_gmt":"2010-05-31T22:29:46","guid":{"rendered":"http:\/\/www.p2vpro.com\/?p=60"},"modified":"2010-06-03T20:10:09","modified_gmt":"2010-06-03T19:10:09","slug":"getting-technical","status":"publish","type":"post","link":"https:\/\/www.p2vpro.com\/?p=60","title":{"rendered":"Getting Technical"},"content":{"rendered":"<p>So I had a thought that I should make better use of what I have already, which is to say an iMac running Leopard. It has a 2.4Ghz Dual Core Intel Duo and 2G of Ram so I thought it might be an interesting academic exercise to try and build <a href=\"http:\/\/www.xen.org\" target=\"_blank\">Xen<\/a> on it. Not that we&#8217;re allowed to run Darwin on top of a hypervisor but should be able to learn something from building Xen at least!<\/p>\n<p>First of all download and unpack Xen 4.0.0. OK, that&#8217;s easy. Look at the README file. Hmm a list of pre-requisites, of course. Downloaded the latest gnu compiler but quickly realised I was barking up the wrong tree and dug out my DVDs so I could install Xcode. (I&#8217;ve been registered as an Apple developer for a couple of years but never got around to even installing the toolset). Anyway that was easy too and a quick perusal of the Development website left me impressed.<\/p>\n<p>So that has given me GCC and Make but the next on the list is Binutils. A quick google of &#8220;binutils darwin&#8221; led me to the <a href=\"http:\/\/http:\/\/darwinports.com\/\" target=\"_blank\">darwinports website<\/a> so I downloaded and installed darwin ports. Following the clues (not quite the exact instructions) led to an installation of binutils. Watching &#8220;port&#8221; work is also impressive. It takes all the frustration\/fun out of building software. It goes and gets everything it needs, builds and installs it (after you tell it to update itself).<\/p>\n<p>All went swimmingly until it fell over trying to build &#8220;gettext&#8221;. Tried it a couple of times to no avail and ended up running the failing command manually which produced masses of output and lots of warnings but did &#8220;something&#8221;. (Have to have a bit of faith sometimes). A port install of zlib worked fine and a final invocation of &#8220;port install binutils&#8221; completed OK although I was warned that &#8220;Having binutils installed will cause some other ports to fail to build. Consider uninstalling binutils.&#8221; Cute. I just installed it.<\/p>\n<p>Back to Xen&#8217;s dependencies. Python, tick. Openssl, tick.\u00a0 x11, tick. curses&#8230;looks like another port job.\u00a0 Too late to look at that now and all the other bits will wait until the next free slot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I had a thought that I should make better use of what I have already, which is to say an iMac running Leopard. It has a 2.4Ghz Dual Core Intel Duo and 2G of Ram so I thought it &hellip; <a href=\"https:\/\/www.p2vpro.com\/?p=60\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[21,20,6],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-virtualisation","tag-apple","tag-darwin","tag-xen"],"_links":{"self":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60"}],"version-history":[{"count":4,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}