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 <[email protected]> wrote: > 2008/12/18 Rudolf Sykora <[email protected]>: >> 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
