From mboxrd@z Thu Jan 1 00:00:00 1970 From: pac@next.gli.cas.cz To: 9fans@cse.psu.edu Message-ID: <20020403192320.E203@next.gli.cas.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [9fans] to Russ Cox (others may read, too ;-) [sorry, long] Date: Wed, 3 Apr 2002 19:23:20 +0200 Topicbox-Message-UUID: 72588cda-eaca-11e9-9e20-41e7f4b1d025 [delivery to rsc@plan9.bell-labs.com failed; so posted here...] Hi, Russ! first of all, tx for the python port! sorry to disturb: need help. i've encountered errors when 'mk test' and running python :-((( the description of errs & mk logfile follow attached. tia, nice day, regards, --peter (alias ++pac) http://next.gli.cas.cz --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=py-errors ### These are errors encountered while building and installing Python2.2 for Plan9R3 term% mk test cd Lib ; PYTHONPATH='' ; pwd ; ../Plan9/8.out ../setup.py build |p /sys/src/cmd/python/python2.2/src/cmd/python/Lib 'import site' failed; use -v for traceback Traceback (most recent call last): File "../setup.py", line 6, in ? import sys, os ImportError: No module named os mk: cd Lib ; ... : exit status=rc 701:rc 704:8.out 705:main| term% ### after calling python ### term% python -v 'import site' failed; traceback: ImportError: No module named site Python 2.2+ (#0, Apr 3 2002, 14:50:44) [C] on unknown Type "help", "copyright", "credits" or "license" for more information. >>> >>> help Traceback (most recent call last): File "", line 1, in ? NameError: name 'help' is not defined >>> ### from mx-base ### term% python setup.py install 'import site' failed; use -v for traceback Traceback (most recent call last): File "setup.py", line 9, in ? import mxBASE File "mxBASE.py", line 10, in ? from distutils.core import Extension ImportError: No module named distutils.core term% --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=py-log Content-Transfer-Encoding: quoted-printable term% mk install for(i in Plan9) @{ cd $i mk install cd .. } 8c -I. -I../Include -p -DT386 config.c 8c -I. -I../Include -p -DT386 plan9main.c 8c -I. -I../Include -p -DT386 plan9module.c 8c -I. -I../Include -p -DT386 9p2000.c mk -f mkfile.lib 8c -I. -I../Include -p -DT386 ../Python/bltinmodule.c 8c -I. -I../Include -p -DT386 ../Python/exceptions.c 8c -I. -I../Include -p -DT386 ../Python/ceval.c 8c -I. -I../Include -p -DT386 ../Python/compile.c 8c -I. -I../Include -p -DT386 ../Python/codecs.c 8c -I. -I../Include -p -DT386 ../Python/dynload_stub.c 8c -I. -I../Include -p -DT386 ../Python/errors.c 8c -I. -I../Include -p -DT386 ../Python/future.c 8c -I. -I../Include -p -DT386 ../Python/frozen.c 8c -I. -I../Include -p -DT386 ../Python/frozenmain.c 8c -I. -I../Include -p -DT386 ../Python/getargs.c 8c -I. -I../Include -p -DT386 ../Python/getcompiler.c 8c -I. -I../Include -p -DT386 ../Python/getcopyright.c 8c -I. -I../Include -p -DT386 ../Python/getplatform.c 8c -I. -I../Include -p -DT386 ../Python/getversion.c objtype=3D$cputype mk -f mkfile.pgen 8.pgen 8c -I. -I../Include -p -DT386 ../Parser/pgen.c 8c -I. -I../Include -p -DT386 ../Parser/acceler.c 8c -I. -I../Include -p -DT386 ../Parser/grammar1.c 8c -I. -I../Include -p -DT386 ../Parser/listnode.c 8c -I. -I../Include -p -DT386 ../Parser/node.c 8c -I. -I../Include -p -DT386 ../Parser/parser.c 8c -I. -I../Include -p -DT386 ../Parser/parsetok.c 8c -I. -I../Include -p -DT386 ../Parser/tokenizer.c 8c -I. -I../Include -p -DT386 ../Parser/bitset.c 8c -I. -I../Include -p -DT386 ../Parser/metagrammar.c 8c -I. -I../Include -p -DT386 ../Parser/firstsets.c 8c -I. -I../Include -p -DT386 ../Parser/grammar.c 8c -I. -I../Include -p -DT386 ../Parser/pgenmain.c 8c -I. -I../Include -p -DT386 ../Parser/printgrammar.c 8c -I. -I../Include -p -DT386 plan9exit.c 8l -o 8.pgen pgen.8 acceler.8 grammar1.8 listnode.8 node.8 parser.8 parset= ok.8 tokenizer.8 bitset.8 metagrammar.8 firstsets.8 grammar.8 pgenmain.8 pr= intgrammar.8 plan9exit.8 8c -I. -I../Include -p -DT386 ../Python/import.c 8c -I. -I../Include -p -DT386 ../Python/importdl.c 8c -I. -I../Include -p -DT386 ../Python/marshal.c 8c -I. -I../Include -p -DT386 ../Python/modsupport.c 8c -I. -I../Include -p -DT386 ../Python/mystrtoul.c 8c -I. -I../Include -p -DT386 ../Python/pyfpe.c 8c -I. -I../Include -p -DT386 ../Python/pystate.c 8c -I. -I../Include -p -DT386 ../Python/pythonrun.c 8c -I. -I../Include -p -DT386 ../Python/structmember.c 8c -I. -I../Include -p -DT386 ../Python/symtable.c 8c -I. -I../Include -p -DT386 ../Python/sysmodule.c 8c -I. -I../Include -p -DT386 ../Python/sigcheck.c 8c -I. -I../Include -p -DT386 ../Python/thread.c 8c -I. -I../Include -p -DT386 ../Python/traceback.c 8c -I. -I../Include -p -DT386 ../Parser/acceler.c 8c -I. -I../Include -p -DT386 ../Parser/grammar1.c 8c -I. -I../Include -p -DT386 ../Parser/listnode.c 8c -I. -I../Include -p -DT386 ../Parser/node.c 8c -I. -I../Include -p -DT386 ../Parser/parser.c 8c -I. -I../Include -p -DT386 ../Parser/parsetok.c 8c -I. -I../Include -p -DT386 ../Parser/tokenizer.c 8c -I. -I../Include -p -DT386 ../Parser/bitset.c 8c -I. -I../Include -p -DT386 ../Parser/metagrammar.c 8c -I. -I../Include -p -DT386 ../Parser/intrcheck.c 8c -I. -I../Include -p -DT386 ../Parser/myreadline.c 8c -I. -I../Include -p -DT386 ../Objects/abstract.c 8c -I. -I../Include -p -DT386 ../Objects/bufferobject.c 8c -I. -I../Include -p -DT386 ../Objects/cellobject.c 8c -I. -I../Include -p -DT386 ../Objects/classobject.c 8c -I. -I../Include -p -DT386 ../Objects/cobject.c 8c -I. -I../Include -p -DT386 ../Objects/complexobject.c 8c -I. -I../Include -p -DT386 ../Objects/descrobject.c 8c -I. -I../Include -p -DT386 ../Objects/dictobject.c 8c -I. -I../Include -p -DT386 ../Objects/fileobject.c 8c -I. -I../Include -p -DT386 ../Objects/floatobject.c 8c -I. -I../Include -p -DT386 ../Objects/frameobject.c 8c -I. -I../Include -p -DT386 ../Objects/funcobject.c 8c -I. -I../Include -p -DT386 ../Objects/intobject.c 8c -I. -I../Include -p -DT386 ../Objects/iterobject.c 8c -I. -I../Include -p -DT386 ../Objects/listobject.c 8c -I. -I../Include -p -DT386 ../Objects/longobject.c 8c -I. -I../Include -p -DT386 ../Objects/methodobject.c 8c -I. -I../Include -p -DT386 ../Objects/moduleobject.c 8c -I. -I../Include -p -DT386 ../Objects/object.c 8c -I. -I../Include -p -DT386 ../Objects/rangeobject.c 8c -I. -I../Include -p -DT386 ../Objects/sliceobject.c 8c -I. -I../Include -p -DT386 ../Objects/stringobject.c 8c -I. -I../Include -p -DT386 ../Objects/structseq.c 8c -I. -I../Include -p -DT386 ../Objects/tupleobject.c 8c -I. -I../Include -p -DT386 ../Objects/typeobject.c 8c -I. -I../Include -p -DT386 ../Objects/unicodectype.c 8c -I. -I../Include -p -DT386 ../Objects/unicodeobject.c 8c -I. -I../Include -p -DT386 ../Objects/weakrefobject.c 8c -I. -I../Include -p -DT386 ../Objects/xxobject.c 8c -I. -I../Include -p -DT386 ../Modules/_codecsmodule.c 8c -I. -I../Include -p -DT386 ../Modules/_sre.c 8c -I. -I../Include -p -DT386 ../Modules/_weakref.c 8c -I. -I../Include -p -DT386 ../Modules/cmathmodule.c 8c -I. -I../Include -p -DT386 ../Modules/cPickle.c 8c -I. -I../Include -p -DT386 ../Modules/cStringIO.c 8c -I. -I../Include -p -DT386 ../Modules/arraymodule.c 8c -I. -I../Include -p -DT386 ../Modules/binascii.c 8c -I. -I../Include -p -DT386 ../Modules/gcmodule.c 8c -I. -I../Include -p -DT386 ../Modules/getbuildinfo.c 8c -I. -I../Include -p -DT386 ../Modules/main.c 8c -I. -I../Include -p -DT386 ../Modules/mathmodule.c 8c -I. -I../Include -p -DT386 ../Modules/md5module.c 8c -I. -I../Include -p -DT386 ../Modules/md5c.c 8c -I. -I../Include -p -DT386 ../Modules/operator.c 8c -I. -I../Include -p -DT386 ../Modules/parsermodule.c 8c -I. -I../Include -p -DT386 ../Modules/regexmodule.c 8c -I. -I../Include -p -DT386 ../Modules/regexpr.c 8c -I. -I../Include -p -DT386 ../Modules/shamodule.c 8c -I. -I../Include -p -DT386 ../Modules/stropmodule.c 8c -I. -I../Include -p -DT386 ../Modules/structmodule.c 8c -I. -I../Include -p -DT386 ../Modules/threadmodule.c 8c -I. -I../Include -p -DT386 ../Modules/timemodule.c 8c -I. -I../Include -p -DT386 ../Modules/unicodedata.c 8c -I. -I../Include -p -DT386 getopt9.c 8c -I. -I../Include -p -DT386 plan9glue.c 8c -I. -I../Include -p -DT386 plan9exit.c 8c -I. -I../Include -p -DT386 ../Python/graminit.c ar vu libpython.a8 bltinmodule.8 exceptions.8 ceval.8 compile.8 codecs.8 dy= nload_stub.8 errors.8 future.8 frozen.8 frozenmain.8 getargs.8 getcompiler.= 8 getcopyright.8 getplatform.8 getversion.8 graminit.8 import.8 importdl.8 = marshal.8 modsupport.8 mystrtoul.8 pyfpe.8 pystate.8 pythonrun.8 structmemb= er.8 symtable.8 sysmodule.8 sigcheck.8 thread.8 traceback.8 acceler.8 gramm= ar1.8 listnode.8 node.8 parser.8 parsetok.8 tokenizer.8 bitset.8 metagramma= r.8 intrcheck.8 myreadline.8 abstract.8 bufferobject.8 cellobject.8 classob= ject.8 cobject.8 complexobject.8 descrobject.8 dictobject.8 fileobject.8 fl= oatobject.8 frameobject.8 funcobject.8 intobject.8 iterobject.8 listobject.= 8 longobject.8 methodobject.8 moduleobject.8 object.8 rangeobject.8 sliceob= ject.8 stringobject.8 structseq.8 tupleobject.8 typeobject.8 unicodectype.8= unicodeobject.8 weakrefobject.8 xxobject.8 _codecsmodule.8 _sre.8 _weakref= .8 cmathmodule.8 cPickle.8 cStringIO.8 arraymodule.8 binascii.8 gcmodule.8 = getbuildinfo.8 main.8 mathmodule.8 md5module.8 md5c.8 operator.8 parsermodu= le.8 regexmodule.8 regexpr.8 shamodule.8 stropmodule.8 structmodule.8 threa= dmodule.8 timemodule.8 unicodedata.8 getopt9.8 plan9glue.8 plan9exit.8 ar: creating libpython.a8 a - bltinmodule.8 a - exceptions.8 a - ceval.8 a - compile.8 a - codecs.8 a - dynload_stub.8 a - errors.8 a - future.8 a - frozen.8 a - frozenmain.8 a - getargs.8 a - getcompiler.8 a - getcopyright.8 a - getplatform.8 a - getversion.8 a - graminit.8 a - import.8 a - importdl.8 a - marshal.8 a - modsupport.8 a - mystrtoul.8 a - pyfpe.8 a - pystate.8 a - pythonrun.8 a - structmember.8 a - symtable.8 a - sysmodule.8 a - sigcheck.8 a - thread.8 a - traceback.8 a - acceler.8 a - grammar1.8 a - listnode.8 a - node.8 a - parser.8 a - parsetok.8 a - tokenizer.8 a - bitset.8 a - metagrammar.8 a - intrcheck.8 a - myreadline.8 a - abstract.8 a - bufferobject.8 a - cellobject.8 a - classobject.8 a - cobject.8 a - complexobject.8 a - descrobject.8 a - dictobject.8 a - fileobject.8 a - floatobject.8 a - frameobject.8 a - funcobject.8 a - intobject.8 a - iterobject.8 a - listobject.8 a - longobject.8 a - methodobject.8 a - moduleobject.8 a - object.8 a - rangeobject.8 a - sliceobject.8 a - stringobject.8 a - structseq.8 a - tupleobject.8 a - typeobject.8 a - unicodectype.8 a - unicodeobject.8 a - weakrefobject.8 a - xxobject.8 a - _codecsmodule.8 a - _sre.8 a - _weakref.8 a - cmathmodule.8 a - cPickle.8 a - cStringIO.8 a - arraymodule.8 a - binascii.8 a - gcmodule.8 a - getbuildinfo.8 a - main.8 a - mathmodule.8 a - md5module.8 a - md5c.8 a - operator.8 a - parsermodule.8 a - regexmodule.8 a - regexpr.8 a - shamodule.8 a - stropmodule.8 a - structmodule.8 a - threadmodule.8 a - timemodule.8 a - unicodedata.8 a - getopt9.8 a - plan9glue.8 a - plan9exit.8 8l -o 8.out config.8 plan9main.8 plan9module.8 9p2000.8 libpython.a8 cp 8.out /386/bin/python term%=20 --Q68bSM7Ycu6FN28Q-- ----- End forwarded message -----