public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* rhug/rhino from 2005-01-11 build failure with jar -c@
@ 2005-01-11 20:11 Timo Juhani Lindfors
  2005-01-12  9:18 ` Immanuel Scheerer
  0 siblings, 1 reply; 3+ messages in thread
From: Timo Juhani Lindfors @ 2005-01-11 20:11 UTC (permalink / raw)
  To: rhug-rhats

Hi,

I tried to build rhug from cvs 2005-01-11 today. All the commands I used are listed in

http://iki.fi/lindi/build-free-java-tools.sh.2005-01-11

Also full output of the build is available at

http://iki.fi/lindi/build.2005-01-11.log.gz

where the last lines are

(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 ...
Options:
 
[skip]

make[1]: *** [rhino-tools-1.5R3.jar] Error 1
make[1]: Leaving directory `/home/lindi/src-2005-01-11/rhug/rhino'
make: *** [install-recursive] Error 1

The same script built rhug just fine in 2004-12-27. Just ask if you
need more information.


best regards,
Timo Lindfors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rhug/rhino from 2005-01-11 build failure with jar -c@
  2005-01-11 20:11 rhug/rhino from 2005-01-11 build failure with jar -c@ Timo Juhani Lindfors
@ 2005-01-12  9:18 ` Immanuel Scheerer
  2005-01-13  5:24   ` Timo Juhani Lindfors
  0 siblings, 1 reply; 3+ messages in thread
From: Immanuel Scheerer @ 2005-01-12  9:18 UTC (permalink / raw)
  To: rhug-rhats

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:

Usage: jar {ctxuV}[vfm0ME@] [jar-file] [manifest-file] [-C dir] files ...

The option -@ (read names from stdin) is not provided by the jar-binary from SUN.

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 hope this helps you.

Greetings,

Immanuel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rhug/rhino from 2005-01-11 build failure with jar -c@
  2005-01-12  9:18 ` Immanuel Scheerer
@ 2005-01-13  5:24   ` Timo Juhani Lindfors
  0 siblings, 0 replies; 3+ messages in thread
From: Timo Juhani Lindfors @ 2005-01-13  5:24 UTC (permalink / raw)
  Cc: rhug-rhats

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-13  5:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 20:11 rhug/rhino from 2005-01-11 build failure with jar -c@ Timo Juhani Lindfors
2005-01-12  9:18 ` Immanuel Scheerer
2005-01-13  5:24   ` Timo Juhani Lindfors

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).