Re: [Java-gnome-developer] configure problem with CVS version.
Brought to you by:
afcowie
From: Nicholas R. <ni...@mn...> - 2004-10-26 09:52:31
|
I finally got everything to compile (except libbonobo but i'm not much interested in that at the moment) and run from CVS. Now even the gtkhtml problem i had from the other thread has gone away. Here are some things i had to do: 1. I needed to add a '!' on the first line of autogen.sh to complete the "#!/bin/bash" line. Without this, autogen.sh did not run on the command line or in jhbuild. Adding it made the the "illegal variable name" error go away. Once libgtk-java successfully compiled, the other modules did not show this problem (when compiled in jhbuild), even though they did not have the '!' either. It is very strange to me that the autogen.sh script would have such a "bug" in it. I'm sure it's not there for a reason (like jhbuild doesn't like it or something), but not having autogen.sh be a standard script seems problematic to me. 2. I needed to set my WANT_AUTOCONF environment variable to "2.5". Without this set, autoconf used v2.13 by default and the configure script was not properly generated (hence the "unexpected end of file" error). 3. in libgtk-java, in the file org_gnu_gtk_ActionGroup.c, i had to move the static function internalHandleActionCallback to just after the typedef in order to get it to compile. perhaps this is an issue with newer gccs (i have gcc-3.4.2)? these small issues i've had in the last few days aside, i really like java-gnome. I've been able to develop a prototype application very quickly using libglade and some of my existing Java libraries. Thanks again for your help and keep up the good work! nick ps. is this also the forum to submit patches/new-features? On Mon, 2004-10-25 at 19:52 +0100, Mark Howard wrote: > On Mon, Oct 25, 2004 at 04:40:05PM +0200, Nicholas Rahn wrote: > > me: /usr/local/src/java-gnome/libgtk-java> ./autogen.sh > > Illegal variable name. > > Is that really the only error you get? > What version of aclocal and autoconf are you using? > -- |