Re: [Java-gnome-developer] java gnome vs. pkg-config
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-16 15:19:31
|
Hi, On Tue, Dec 16, 2003 at 03:59:30PM +0100, Dalibor Topic wrote: > due to Mark Wielaard calling out for people to test java-gnome with > their VMs, I've decided to try out java-gnome from CVS with kaffe from > CVS. Excellent, thanks. Please note that I have moved most of the directories in cvs in the last few days to comply with gnome bindings release rules. I've also had to rewrite much of the configure and makefile system. Since we create multiple tarballs, the configure and makefiles are now generated using the ./gen* scripts, copying common sections from the common directory. > 1) The README file refers the user to an INSTALL file. There is no > INSTALL file in the java-gnome CVS top level directory. But there is one > in common/INSTALL. I could submit a patch, if you need one ;) The tarball building tool will copy the documents to the toplevel directory for each tarball I did create a new readme documenting the changes. Unfortunately it's been overwritten by the old one. Thank's for spotting that. I will create a README.cvs file explaining a few of these new things. > 2) There is no configure script, and it doesn't seem to be documented > how to generate it. I've came up with the grand idea of running > genConfigure.in, genMakefile.in and autoreconf, but that should be > documented in the INSTALL file ;) Again, I could submit a patch, if > necessary. ./genConfigure.in ./genMakefile.in autoconf same problem as above > 3) Finally, my configure run breaks due to > > bash-2.05a$ ./configure --with-kaffe > --with-kaffe-prefix=/tmp/topic/current-jit3/ > I have no idea what `gtk+-2.0.pc' is or where I can find it. Any > pointers or ideas where to search for the file? You need to have gtk development libraries installed. This is an package named something like libgtk2.0-dev > 4) The FAQ says that you're looking for someone who's been using kaffe > to compile things to help out. Well, here I am ;) > > I've discussed the build failures Mark had with him on IRC, and I think > currently, the problem when using kaffe's java compiler is that it > doesn't know about the -sourcepath option. A way to fix that would be to > avoid using -sourcepath altogether, and simply cd into the directory. > Another way would be to (LN_S) the source files into a build dir, and > compile from there. I think I fixed that in cvs earlier today - by using the CLASSPATH environment variable, although this has not been verified with kaffe yet. We cannot simply cd to the directory since there are multiple directories > All that being said, I look forward to run java-gnome apps on kaffe, > since I think gnome & java would mix well. All the best wishes for > getting into the official GNOME binding set. That's excellent news. The more JVMs the better. I did try with kaffe once before (with my bugwatcher program, debian package debbuggtk), but jni support wasn't good enough. thanks -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |