9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] python reloaded
@ 2009-05-25 11:43 Rudolf Sykora
  2009-05-25 22:07 ` Federico G. Benavento
  0 siblings, 1 reply; 2+ messages in thread
From: Rudolf Sykora @ 2009-05-25 11:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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?

Thanks
Ruda



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] python reloaded
  2009-05-25 11:43 [9fans] python reloaded Rudolf Sykora
@ 2009-05-25 22:07 ` Federico G. Benavento
  0 siblings, 0 replies; 2+ messages in thread
From: Federico G. Benavento @ 2009-05-25 22:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, May 25, 2009 at 8:43 AM, Rudolf Sykora <rudolf.sykora@gmail.com> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-25 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-25 11:43 [9fans] python reloaded Rudolf Sykora
2009-05-25 22:07 ` Federico G. Benavento

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).