Re: [Java-gnome-developer] configure problem with CVS version.
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2004-10-26 11:05:15
|
Hi, This is excellent news that you're getting on so well with java-gnome and liking it. Please do keep us informed os your progress and if possible add details of any apps you write to our website . Quoting Nicholas Rahn <ni...@mn...>: > 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. This is terrible. I guess most ppl use bash and it seems to work, hence it was not picked up earlier. I'll fix it tonight. > 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. Me too. Unfortunately nobody with any knowledge of autotools has been helping out with java-gnome. I've been reading a lot of it myself. I think we need to convert to automake before we can use a standard autogen. This is a wishlist item, but I don't really have time myself and it would be better done by somebody who knows what they're doing. > 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). I'll change this in cvs. > 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)? I've not seen it before, but making the change is easy enough and shouldn't affect other ppl. -- .""`. Mark Howard : :" : `. `" http://www.tildemh.com `- mh...@de... | mh...@ti... |