From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1281 invoked by alias); 13 Jan 2005 05:24:39 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 1260 invoked from network); 13 Jan 2005 05:24:33 -0000 Received: from unknown (HELO smtp.netsonic.fi) (194.29.192.26) by sourceware.org with SMTP; 13 Jan 2005 05:24:33 -0000 Received: from sauna (kulho150.adsl.netsonic.fi [81.17.193.150]) by smtp.netsonic.fi (Postfix) with ESMTP id A803B1F8051 for ; Thu, 13 Jan 2005 07:24:32 +0200 (EET) Received: from lindi by sauna with local (Exim 3.35 #1 (Debian)) id 1CoxTE-0001VD-00 for ; Thu, 13 Jan 2005 07:24:32 +0200 Received: by sauna (hashcash-sendmail, from uid 1003); Thu, 13 Jan 2005 07:24:32 +0200 Date: Thu, 13 Jan 2005 05:24:00 -0000 Cc: rhug-rhats@sources.redhat.com Subject: Re: rhug/rhino from 2005-01-11 build failure with jar -c@ Message-ID: <20050113052432.GA5539@sauna.l.org> References: <20050111201103.GA28892@sauna.l.org> <41E4EB6F.8080307@in.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E4EB6F.8080307@in.tum.de> User-Agent: Mutt/1.3.28i X-Hashcash: 0:050113:rhug-rhats@sources.redhat.com:1d3a7242b31ea16674eee1f7 From: Timo Juhani Lindfors X-SW-Source: 2005-01/txt/msg00004.txt.bz2 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