9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David du Colombier <0intro@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] hg and golang
Date: Tue, 25 Mar 2014 23:28:06 +0100	[thread overview]
Message-ID: <20140325232806.58c5f268@zinc.9fans.fr> (raw)
In-Reply-To: <CAA6Yd9VCQDus3wRhzue4k7T+iEPcW2K7O+g1JEqFBfN5nSZBFQ@mail.gmail.com>

> 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



  parent reply	other threads:[~2014-03-25 22:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 17:55 Ramakrishnan Muthukrishnan
2014-03-25 18:02 ` erik quanstrom
2014-03-25 18:32   ` Ramakrishnan Muthukrishnan
2014-03-25 18:35     ` erik quanstrom
2014-03-26  0:04       ` Ramakrishnan Muthukrishnan
2014-03-26  0:27         ` Jeff Sickel
2014-03-26  1:25           ` Ramakrishnan Muthukrishnan
2014-03-25 18:07 ` Skip Tavakkolian
2014-03-25 22:28 ` David du Colombier [this message]
2014-03-26  1:23   ` Ramakrishnan Muthukrishnan
2014-03-26 20:13     ` David du Colombier
2014-03-26  0:34 Erik Quanstrom
2014-03-26  1:28 ` Ramakrishnan Muthukrishnan
2014-03-26  2:10 Erik Quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140325232806.58c5f268@zinc.9fans.fr \
    --to=0intro@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).