Re: Gentoo ebuild of the new SableVM SDK SVN available
David =?unknown-8bit?Q?B=E9langer?= <[email protected]> Fri, 20 May 2005 15:28:40 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 20, 2005 at 12:41:52PM -0400, Grzegorz B. Prokopski wrote: > On Wed, 2005-18-05 at 19:54 -0400, David B?langer wrote: > > (Interested Gentoo users can get this ebuild: > > http://www.sable.mcgill.ca/~dbelan2/ebuilds/dev-java/sablevm-sdk-svn/ A new one is coming soon and will be uploaded same location. Still two issues with SableVM SDK: 1) DESTDIR gets doubled. gjdoc gets installed in DESTDIR/DESTDIR/lib/sablevm. I think the bindir, mandir etc. at the beginning of Makefile.am should not have the DESTDIR specified. I view it like this: bindir, libdir etc. - specifies the configuration directory of the final location (for configuration/compilation). DESTDIR is used only when make install done and should be only for make install code (ex: install-hook etc.). Also, did you consider specifying bindir, libdir, etc. when make is called recursively from the main SableVM SDK Makefile: make bindir=$JAVA_HOME/bin ... for such subpackage. It might be more convenient? But then, I don't know, I didn't assemble the SableVM SDK. 2) cp-tools does not build. Errors about assert() - that's a new feature of Java 1.5 - I think. I used to be able to build cp-tools with SableVM before - snapshot from CVS 20050331. Improvements/Future Work: 1) If antlr not found - displays SableVM SDK message suggesting configure option to disable gjdoc... but does not mention that it can be specified with --with-antlr-jar=FILE. 2) I have a patch for cp-tools that fixes a bug: http://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-java/cp-tools/files/javah-patch.diff I will applied it later if still relevant - it has to do with -d and output filename argument - but don't remember exactly what. I did it some time ago but I have not send it upstream yet. David --- David Bélanger Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt