Record of some of the computer tech I deal with so that it's documented at least somewhere.

Friday, 14 August 2009

HG Unwells?

(while making this and feeding back, the packages are being changed so its worth checking

--rw-rw-r-- M 149 bichued sys 5510112 Oct 17 2008 python-2.5.1-ape.tgz
quad% md5sum python-2.5.1-ape.tgz
ac73a8b4fcb38b966e81fe8ad3aa50e1 python-2.5.1-ape.tgz
%
)

ok, somehow bichued is involved, that dastardly hacker

http://plan9.bell-labs.com/sources/contrib/bichued/python/

He's got hg, python the darn lot going on in there

The excitement is killing me as it copies. I wonder if I'll ever write copy-with-progress, everything is just waiting for it.

Oh I added python to linuxemu already, ver 2.3.5, handy little box I suppose.

The instructions for it are in /n/sources/contrib/bichued/python-2.5.1-ape.tgz
cat Readme.Plan9

got some contribs to install (ooh first time I have fgb/contrib tools, I am honoured)

the order in the list of contribs is wrong
lcms depends on tiff
and png depends on z
tiff & xml depend on z

openssl is a monster


k now I need to patch ape
ramfs
bind -ac /tmp /n/sources/patch/ape-chmod-dirbit
patch/apply ape-chmod-dirbit
bind -ac /tmp /n/sources/patch/applied/ape-ftruncate
patch/apply applied/ape-ftruncate

I got some perm errors on the last one but the update seems to have worked

The mkfiles need adjustment for python-2.5.1-ape, I got away with this :
% cd python-2.5.1-ape
% grep 'CFLAGS=' `{walk | grep mkfile}
Extra/mkfile:CFLAGS=-c -I.. -I../Include -DT$objtype -DNDEBUG -D_SUSV2_SOURCE
Modules/mkfile:CFLAGS=-c -I. -I.. -I../Include -DT$objtype -DNDEBUG -DPLAN9 -D_SUSV2_SOURCE
Objects/mkfile:CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
Parser/mkfile:CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
Python/mkfile:CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
mkfile:CFLAGS=-FVwN
mkfile:CFLAGS=-c -I. -IInclude -DT$objtype -DPy_BUILD_CORE -DNDEBUG -D_SUSV2_SOURCE
% mk install
...
% python
Python 2.5.1 (r251:54863, Aug 15 2009, 21:45:20) [C] on plan9
Type "help", "copyright", "credits" or "license" for more information.
>>>


now for hg

bind python-2.5.1-ape /n/python
; bind -a /n /tmp
; cd hg-1.0.2
; mk install

; hg -v
Mercurial Distributed SCM (version 1.0.2)

No comments: