Re: sablevm 1.12-pre3

Peter Lovell <[email protected]> Mon, 4 Jul 2005 13:09:16 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
I seem to remember running into this same issue some time ago.

IIRC the problem is with the specification

/home/beat/files/programme/misc/sablevm-sdk-1.12-pre3/sablevm- 
sdk-1.12-pre3/bin/fastjar -0 -Mcf libclasspath.jar gnu java javax org  
 > /dev/null;

which I'll simplify for this comment as
<path>/fastjar -0 -Mcf libclasspath.jar gnu java javax org > /dev/null;

The problem is that the compression option "-0" stands alone as the  
first option, followed then by others. Changing to
<path>/fastjar  -Mcf0 libclasspath.jar gnu java javax org > /dev/null;
makes everything work.

This needs a change to auto* stuff to implement. You can also work  
around the problem for right now by just changing the makefile  
string, while waiting for a new sdk rev.

Regards.....Peter

p.s. I would make the auto* change but have no time available today.  
I could do it tomorrow but today is not possible.

On Jul 3, 2005, at 6:28 AM, beat wolf wrote:

> Hi, you asked for some feedback about your pre3 version of sablevm.
> Well, i cant build it. First during configure it said it uses the  
> built in
> fastjar, which was fine for me, because i didnt have fastjar  
> installed.
> Then i had a error because of the built in fastjar, sadly i cant  
> remember the
> error.
> Then i installed fastjar and tried to compile sablevm again. it  
> correctly saw
> my newly installed fastjar and used it, but the compiling stopped  
> with this
> error:
>
> if test
> "x/home/beat/files/programme/misc/sablevm-sdk-1.12-pre3/sablevm- 
> sdk-1.12-pre3/bin/fastjar" !=
> "x"; then \
>     /home/beat/files/programme/misc/sablevm-sdk-1.12-pre3/sablevm- 
> sdk-1.12-pre3/bin/fastjar
> -0 -Mcf libclasspath.jar gnu java javax org > /dev/null; \
> elif test "x" != "x"; then \
>      -0 -r -D libclasspath.jar gnu java javax org > /dev/null; fi
> One of options -{ctxu} must be specified.
> Usage: /usr/local/bin/fastjar {ctxuV}[vfm0ME@] [jar-file] [manifest- 
> file] [-C
> dir] files ...
> Options
>  -c  create new archive
>  -t  list table of contents for archive
>  -x  extract named (or all) files from archive
>  -u  update existing archive
>  -V  display version information
>  -v  generate verbose output on standard output
>  -f  specify archive file name
>  -m  include manifest information from specified manifest file
>  -0  store only; use no ZIP compression
>  -M  Do not create a manifest file for the entries
>  -C  change to the specified directory and include the following file
>  -E  don't include the files found in a directory
>  -@  Read names from stdin
> If any file is a directory then it is processed recursively.
> The manifest file name and the archive file name needs to be specified
> in the same order the 'm' and 'f' flags are specified.
>
> Example 1: to archive two class files into an archive called  
> classes.jar:
>      jar cvf classes.jar Foo.class Bar.class
> Example 2: use an existing manifest file 'mymanifest' and archive  
> all the
>      files in the foo/ directory into 'classes.jar':
>      jar cvfm classes.jar mymanifest -C foo/ .
> make[2]: *** [libclasspath.jar] Fehler 1
> make[2]: Leaving directory
> `/home/beat/files/programme/misc/sablevm-sdk-1.12-pre3/sablevm- 
> sdk-1.12-pre3/sablevm-classpath/lib'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory
> `/home/beat/files/programme/misc/sablevm-sdk-1.12-pre3/sablevm- 
> sdk-1.12-pre3/sablevm-classpath'
> make: *** [build-main] Fehler 1
>
>
> Beat Wolf
>
> _______________________________________________
> SableVM-user mailing list
> [email protected]
> http://sablevm.org/lists/control/listinfo/sablevm-user
>