This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: jython build



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 <rhug-src>/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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]