From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 25 Mar 2014 23:28:06 +0100 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20140325232806.58c5f268@zinc.9fans.fr> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] hg and golang Topicbox-Message-UUID: d0277174-ead8-11e9-9d60-3106f5b1d025 > I searched and didn't find a canonical way to install mercurial and > golang on plan9. Can someone point to me some instructions? I see from > the golang build dashboard[1] that golang on plan9 is reasonably > healthy. As Skip said, Python 2.7.6 and Mercurial 2.8.2 are available as a binary package on http://www.9legacy.org/download.html. If you want to compile from sources, you will need to get the APE changes from Jeff Sickel. If you are running Plan 9 from Bell Labs, you can apply the following patch: http://www.9legacy.org/9legacy/patch/ape-jas.diff Here is an excerpt from my notes to compile Python on Plan 9: # clone the repositories from Unix hg clone -r 2.8.2 http://selenic.com/hg hg clone -b 2.7-plan9 https://bitbucket.org/jas/cpython # copy the directories to Plan 9 mkdir /sys/src/cmd/cpython dircp /mnt/term/home/djc/tmp/cpython /sys/src/cmd/cpython mkdir /sys/src/cmd/hg dircp /mnt/term/home/djc/tmp/hg /sys/src/cmd/hg # get the ape changes from Jeff Sickel hget http://www.9legacy.org/9legacy/patch/ape-jas.diff | ape/patch -p0 # build ape cd /sys/src/ape && mk nuke && mk install && mk clean # build python cd /sys/src/cmd/cpython mk stage mk install # archive disk/mkfs -a -s dist /sys/lib/sysconfig/proto/allproto > /tmp/cpython.mkfs # extract disk/mkext -d / < /tmp/cpython.mkfs -- David du Colombier