From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Petit-Bianco To: tromey@redhat.com Cc: "Anthony Green" , Subject: Re: jython build Date: Tue, 23 Oct 2001 22:19:00 -0000 Message-id: <15318.20286.384267.662152@fencer.cygnus.com> References: <87elntdgkr.fsf@creche.redhat.com> <008201c15c22$33377340$5be6b4cd@cygnus.com> <876695dg6r.fsf@creche.redhat.com> X-SW-Source: 2001-10/msg00056.html Tom Tromey writes: > creche. CLASSPATH=/x1/rhug/build/jython/jython.jar:/x1/egcs/install/share/libgcj.jar:. ./test_jython /x1/rhug/rhug/jython/tests/test-all/testall.py > *sys-package-mgr*: processing modified jar, '/x1/rhug/build/jython/jython.jar' > *sys-package-mgr*: skipping bad jar, '/x1/rhug/build/jython/jython.jar' > Testing JPython Version 2.1a3 > Traceback (innermost last): > File "/x1/rhug/rhug/jython/tests/test-all/testall.py", line 4, in ? > File "/home/apbianco/src/rhug/jython/upstream/src/Lib/test/test_support.py", line 43, in ? > ImportError: no module named javaos > > I haven't started looking at this yet. I found out that you have to put a copy of /jython/upstream/src/Lib where your jython.jar file resides -- I got confirmation of this by installing the jar file and Lib/ into a new location and things ran OK. Which means that we will have to take that into account for the install target. We could probably put it in share/, but maybe renaming it jython-lib (I think there's a way to change it in org/python/core/PySystemState.java.) I was trying to work on the install target, by `make install' tells me the following: /bin/sh ../libtool --mode=install /usr/unsupported/bin/install -c lib-org-jython.la /home/apbianco/install/rhug/install-x86//lib/lib-org-jython.la libtool: install: warning: relinking `lib-org-jython.la' cd /home/apbianco/build/rhug/i686-pc-linux-gnu/jython; /bin/sh ../libtool --mode=relink gcj --encoding=8859_1 -fassume-compiled -fCLASSPATH=/home/apbianco/src/rhug/jython/upstream/src:/home/apbianco/src/rhug/jython/../gnu.readline/... ... org/python/util/ReadlineConsole.lo upstream/src/org/python/util/jython.lo ../jakarta-servletapi/lib-javax-servlet.la ../jakarta-oro/lib-org-apache-oro.la ../gnu.readline/lib-org-gnu-readline.la mv: cannot stat `lib-org-jython.so.0.0.0': No such file or directory Do you know why I get this error? ./A