This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: rhug/rhino from 2005-01-11 build failure with jar -c@
On Wed, Jan 12, 2005 at 10:18:39AM +0100, Immanuel Scheerer wrote:
> Timo Juhani Lindfors wrote:
> >(cd upstream/toolsrc && \
> > (../../listclasses rhino-tools; \
> > for i in
> > upstream/toolsrc/org/mozilla/javascript/tools/resources/Messages.properties; do echo $i; done | \
> > sed -e 's:^upstream/toolsrc/::') | \
> > jar -c@) > rhino-tools-1.5R3.jar
> >Illegal option: @
> >Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
>
> I think you are using the jar-binary shipped with the SUN SDK. libgcj itself
> provides a jar binary with following usage:
Oh, good catch.
> I suppose the problem can be solved by changing $PATH so that the path with
> the
> libgcj-binaries comes before the path with the SUN-binaries.
I thought I already did this as the build log has
+ LD_LIBRARY_PATH=/home/lindi/installdir-2005-01-11/gcc/lib
+ PATH=/home/lindi/installdir-2005-01-11/gcc/bin:/home/lindi/bin:/home/lindi/bin:/usr/kerberos/bin:/usr/java/jdk1.5.0_01/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/java/jdk1.5.0/bin:/home/lindi/bin
+ ./configure --prefix=/home/lindi/installdir-2005-01-11/rhug --disable-static
However, problem seems to be that the jar binary is now called
/home/lindi/installdir-2005-01-11/gcc/bin/fastjar
instead of
/home/lindi/installdir-2005-01-11/gcc/bin/jar
java-gui-branch still has bin/jar so this must have changed
recently. I'll add a symbolic link to fix this. Thanks for help!
best regards,
Timo Lindfors