* [9fans] how to install python?
@ 2008-12-18 16:12 Rudolf Sykora
2008-12-18 17:06 ` Jeff Sickel
2008-12-19 19:21 ` Juan M. Mendez
0 siblings, 2 replies; 4+ messages in thread
From: Rudolf Sykora @ 2008-12-18 16:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hello,
please, what's the easiest way to install python on plan9?
I found python.tgz under fgb. Is that the right way to go?
Thanks
Ruda
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] how to install python?
2008-12-18 16:12 [9fans] how to install python? Rudolf Sykora
@ 2008-12-18 17:06 ` Jeff Sickel
2008-12-19 19:21 ` Juan M. Mendez
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Sickel @ 2008-12-18 17:06 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Yes, for now.
I think it's 2.5.1, which is good for many things. Unarchive, and
then bind the resulting tree as needed.
jas
On Dec 18, 2008, at 10:12 AM, Rudolf Sykora wrote:
> Hello,
>
> please, what's the easiest way to install python on plan9?
> I found python.tgz under fgb. Is that the right way to go?
>
> Thanks
> Ruda
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] how to install python?
2008-12-18 16:12 [9fans] how to install python? Rudolf Sykora
2008-12-18 17:06 ` Jeff Sickel
@ 2008-12-19 19:21 ` Juan M. Mendez
2008-12-20 17:54 ` Federico G. Benavento
1 sibling, 1 reply; 4+ messages in thread
From: Juan M. Mendez @ 2008-12-19 19:21 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
2008/12/18 Rudolf Sykora <rudolf.sykora@gmail.com>:
> Hello,
>
> please, what's the easiest way to install python on plan9?
> I found python.tgz under fgb. Is that the right way to go?
>
> Thanks
> Ruda
Hi Rudolf,
Perl and python are in the /n/sources/extra directories of sources.
This are my notes of how I installed perl for plan9, for python is the
same, but you get the idea.
In your plan9:
9fs sources; ls -l /n/sources/extra
--rw-rw-r-- M 23 rsc sys 14261804 Nov 25 2002 perl.iso.bz2
--rw-rw-r-- M 23 rsc sys 9404968 Sep 15 2003 pgw.tar.bz2
--rw-rw-r-- M 23 sys sys 28133333 Oct 23 03:04 plan9.tar.bz2
--rw-rw-r-- M 23 rsc sys 47744 Sep 14 2005 postmark.c
--rw-rw-r-- M 23 rsc sys 40841 May 1 2002 pq.tgz
--rwxrwxr-x M 23 rsc sys 640 Nov 3 2004 ps2txt
--rw-rw-r-- M 23 rsc sys 4964315 Nov 16 2002 python.iso.bz2
To install it, I did the following:
1. Mount the iso.
mount /srv/9660 /n/dist /path/to/perl.iso
2. Copy the files to another directory, because they were read only
and I had to modify some files
dircp /n/dist /usr/glenda/perl/dist
3. Since I couldn't execute perl.setup, because they make references
to non existing files and directories. Do
>>/n/dist/replica/client/perl.db
>>/n/dist/replica/client/perl.log
4. Also modify /usr/glenda/perl/dist/perl
To look like this:
----------------------------------------------------------
#!/bin/rc
s=/usr/glenda/perl/dist
serverroot=$s
serverlog=$s/perl.log
serverproto=$s/perl.proto
fn servermount { status='' }
fn serverupdate { status='' }
#fn clientmount { 9fs kfs }
c=/dist/replica
clientroot=/
clientproto=/sys/src/cmd/perl/perl.proto
clientdb=$c/client/perl.db
clientexclude=(dist/replica/client)
clientlog=$c/client/perl.log
----------------------------------------------------------
5. Now you can do a pull.
replica/pull /usr/glenda/perl/dist/perl
--
http://vejeta.com/portal
Fidonet: 2:345/432.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] how to install python?
2008-12-19 19:21 ` Juan M. Mendez
@ 2008-12-20 17:54 ` Federico G. Benavento
0 siblings, 0 replies; 4+ messages in thread
From: Federico G. Benavento @ 2008-12-20 17:54 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
ok, some notes, my python port is a bit more updated than the old one,
it uses APE (the one in /n/sources/extra doesn't), this means it works
with openssl and other stuff.
but you should use the in felipe's contrib (/n/sources/bichued )
which is mine, plus some bug fixes (in python's code)
On Fri, Dec 19, 2008 at 5:21 PM, Juan M. Mendez <vejeta@gmail.com> wrote:
> 2008/12/18 Rudolf Sykora <rudolf.sykora@gmail.com>:
>> Hello,
>>
>> please, what's the easiest way to install python on plan9?
>> I found python.tgz under fgb. Is that the right way to go?
>>
>> Thanks
>> Ruda
>
> Hi Rudolf,
>
> Perl and python are in the /n/sources/extra directories of sources.
> This are my notes of how I installed perl for plan9, for python is the
> same, but you get the idea.
>
>
> In your plan9:
>
> 9fs sources; ls -l /n/sources/extra
>
> --rw-rw-r-- M 23 rsc sys 14261804 Nov 25 2002 perl.iso.bz2
> --rw-rw-r-- M 23 rsc sys 9404968 Sep 15 2003 pgw.tar.bz2
> --rw-rw-r-- M 23 sys sys 28133333 Oct 23 03:04 plan9.tar.bz2
> --rw-rw-r-- M 23 rsc sys 47744 Sep 14 2005 postmark.c
> --rw-rw-r-- M 23 rsc sys 40841 May 1 2002 pq.tgz
> --rwxrwxr-x M 23 rsc sys 640 Nov 3 2004 ps2txt
> --rw-rw-r-- M 23 rsc sys 4964315 Nov 16 2002 python.iso.bz2
>
> To install it, I did the following:
>
> 1. Mount the iso.
>
> mount /srv/9660 /n/dist /path/to/perl.iso
>
> 2. Copy the files to another directory, because they were read only
> and I had to modify some files
>
> dircp /n/dist /usr/glenda/perl/dist
>
> 3. Since I couldn't execute perl.setup, because they make references
> to non existing files and directories. Do
>
>>>/n/dist/replica/client/perl.db
>>>/n/dist/replica/client/perl.log
>
> 4. Also modify /usr/glenda/perl/dist/perl
>
> To look like this:
> ----------------------------------------------------------
> #!/bin/rc
>
> s=/usr/glenda/perl/dist
> serverroot=$s
> serverlog=$s/perl.log
> serverproto=$s/perl.proto
> fn servermount { status='' }
> fn serverupdate { status='' }
>
> #fn clientmount { 9fs kfs }
> c=/dist/replica
> clientroot=/
> clientproto=/sys/src/cmd/perl/perl.proto
> clientdb=$c/client/perl.db
> clientexclude=(dist/replica/client)
> clientlog=$c/client/perl.log
> ----------------------------------------------------------
>
> 5. Now you can do a pull.
>
> replica/pull /usr/glenda/perl/dist/perl
>
>
> --
> http://vejeta.com/portal
> Fidonet: 2:345/432.2
>
>
--
Federico G. Benavento
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-12-20 17:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-18 16:12 [9fans] how to install python? Rudolf Sykora
2008-12-18 17:06 ` Jeff Sickel
2008-12-19 19:21 ` Juan M. Mendez
2008-12-20 17:54 ` 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).