From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 25 May 2009 19:07:33 -0300 Message-ID: <32d987d50905251507j498e5851s43ea35b03b7c105f@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] python reloaded Topicbox-Message-UUID: ff2f0364-ead4-11e9-9d60-3106f5b1d025 On Mon, May 25, 2009 at 8:43 AM, Rudolf Sykora wrote: > Hello, > > I wanted to install python. From /n/sources/contrib/bichued/python I downloaded > > python-2.5.1-ape.tgz > python-2.5.1-sys.tgz. > > I untared the former in my home directory. > I untared the latter in / (I got /sys/python created...) --- this I > read in README.Plan9 file in python-2.5.1-ape.tgz. > > Also in > README.Plan9 file in python-2.5.1-ape.tgz > I read I should use two patches > /n/sources/patch/applied/ape-ftruncate > /n/sources/patch/ape-chmod-dirbit. > > Should I just copy the files from there (but which, actually, I see > e.g. chmod.c, chmod.c.orig, chmod.c.new) to the appropriate directory > (which I can read from the 'files' file), and recompile? Can the > path/apply command be used locally? > > Also, why are there two files, python-2.5.1-ape.tgz and > python-2.5.1-sys.tgz? (When a new version of python, e.g. 2.6, is > wanted, what must be done?) > > Also, again in README.Plan9 there is a list of recommended > contrib/install packages, but when I run them in the given order, > there are places where a package complains about dependency, to be > solved by another package which follows. Thus should it be run with > contrib/install -f? > you should get all the deps, I guess felipe was lazy enough to sort the required packages in the right order, but I'm sure you can sort this out but, you do need the deps, otherwise you want be able to link it. btw, those patches help hg to work correctly. ah, and to report python see the diff, not so many, also be aware that there was a buffer overflow in python that only appeared in Plan 9 and felipe fixed it, but I'll let him answer that > Thanks > Ruda > > -- Federico G. Benavento