Thread: Re: [Java-gnome-developer] Re: make install error (Page 2)
Brought to you by:
afcowie
From: Luca De R. <pie...@li...> - 2003-12-26 18:04:30
|
Il ven, 2003-12-26 alle 18:56, Thijs Thiessens ha scritto: > Ohww yeah!!!! Please let him... please let him!! :) > > If you are in a hurry, you can always grab these two files from cvs, (you can do it from sourceforge web interface), then overwrite the ones you have in your local copy and recompile. -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-26 20:22:42
|
Il ven, 2003-12-26 alle 20:43, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 14:17, Luca De Rugeriis wrote: > > Il ven, 2003-12-26 alle 19:25, Jeffrey Morgan ha scritto: > > > On Fri, 2003-12-26 at 12:48, Luca De Rugeriis wrote: > > > > If everyone agrees, I will commit the new PasswordDialog and > > > > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. > > > > > > Yes. Please commit the fix. > > I'm sorry but it doesn't fix the problem for me: > > the org_gnu_gnome_PasswordDialog.c files are identical (between > > versions), the corresponding java class was upgraded with the new one > > but it still complains: > > The files should not be identical. I made a change a few days > ago. I removed the method that no longer exists in the 2.5 > stream. You're rigth, they're different. I've wrongly typed a diff command . > > jni/org_gnu_gnome_PasswordDialog.c: In function > > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > > pointer from integer without a cast > > > > It seems to me a C problem only... > > This is only a warning and shouldn't cause the build to fail. Ehr, this was only the first line of the error. I've guessed it was the significant one, but clearly it's not. This is the whole error message: jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes pointer from integer without a cast jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is reported only once jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 make[1]: Leaving directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' make: *** [distro] Error 2 Is `GnomePasswordDialog' undeclared? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-27 02:08:44
|
On Fri, 2003-12-26 at 15:21, Luca De Rugeriis wrote: > Ehr, this was only the first line of the error. I've guessed it was the > significant one, but clearly it's not. It compiles file for me. My compilation line is: gcc -c -g -O2 -fPIC jni/org_gnu_gnome_PasswordDialog.c -o jni/org_gnu_gnome_PasswordDialog.o -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/linux -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/home/jeff/gnome2.5.1/include -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include \ -I/home/jeff/gnome2.5.1/include/gtkhtml-2.0 -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/include/libxml2 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/home/jeff/gnome2.5.1/include -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include -DORBIT2=1 -pthread -I/home/jeff/gnome2.5.1/include/libgnomeui-2.0 -I/home/jeff/gnome2.5.1/include/libgnome-2.0 -I/home/jeff/gnome2.5.1/include/libgnomecanvas-2.0 -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/include/libart-2.0 -I/home/jeff/gnome2.5.1/include/gconf/2 -I/home/jeff/gnome2.5.1/include/libbonoboui-2.0 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include -I/home/jeff/gnome2.5.1/include/orbit-2.0 -I/home/jeff/gnome2.5.1/include/libbonobo-2.0 -I/home/jeff/gnome2.5.1/include/gnome-vfs-2.0 -I/home/jeff/gnome2.5.1/lib/gnome-vfs-2.0/include -I/home/jeff/gnome2.5.1/include/bonobo-activation-2.0 -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/libxml2 -I/home/jeff/gnome2.5.1/include/libglade-2.0 -I/home/jeff/gnome2.5.1/include/gtk-2.0 -I/home/jeff/gnome2.5.1/include/libxml2 -I/home/jeff/gnome2.5.1/lib/gtk-2.0/include -I/home/jeff/gnome2.5.1/include/atk-1.0 -I/home/jeff/gnome2.5.1/include -I/usr/X11R6/include -I/home/jeff/gnome2.5.1/include/pango-1.0 -I/home/jeff/gnome2.5.1/include/freetype2 -I/home/jeff/gnome2.5.1/include/glib-2.0 -I/home/jeff/gnome2.5.1/lib/glib-2.0/include The critical include here is the libgnomeui-2.0. The header file gnome.h is included in this directory and it in turn includes libgnomeui/libgnomeui.h which includes gnome-password-dialog.h. Please make sure that your compilation line includes this. -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-27 04:34:28
|
Il sab, 2003-12-27 alle 03:01, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 15:21, Luca De Rugeriis wrote: > > Ehr, this was only the first line of the error. I've guessed it was the > > significant one, but clearly it's not. > > It compiles file for me. My compilation line is: Jeff, I'm talking about the 0.8 branch exclusively. The dev branch compiles fine for me too. The problem arises even after the two PasswordDialog files (the .java and the .c one) are overrided with the ones from the dev version. This is my compilation line: make[1]: Entering directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' CLASSPATH=java:../../gtk/lib/gtk0.8-0.8.2.jar::java /home/mari/j2sdk_nb/j2sdk1.4.2/bin/javac -d build-java \ java/org/gnu/gnome/PasswordDialog.java gcc -c -g -O2 -fPIC jni/org_gnu_gnome_PasswordDialog.c -o jni/org_gnu_gnome_PasswordDialog.o -I /home/mari/j2sdk_nb/j2sdk1.4.2/include -I /home/mari/j2sdk_nb/j2sdk1.4.2/include/linux -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \ -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes pointer from integer without a cast jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is reported only once jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 make[1]: Leaving directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' make: *** [distro] Error 2 -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-27 12:34:29
|
The problem is that it cannot find the PasswordDialog widget. Does the version of libgnomeui you are using have this widget? I know it was included in gnome 2.4.0.1 (the version on my system). Perhaps we should remove this class entirely from the 0.8 stream if earlier versions of libgnomeui didn't include it. -Jeff On Fri, 2003-12-26 at 23:33, Luca De Rugeriis wrote: > Il sab, 2003-12-27 alle 03:01, Jeffrey Morgan ha scritto: > > On Fri, 2003-12-26 at 15:21, Luca De Rugeriis wrote: > > > Ehr, this was only the first line of the error. I've guessed it was the > > > significant one, but clearly it's not. > > > > It compiles file for me. My compilation line is: > Jeff, I'm talking about the 0.8 branch exclusively. The dev branch > compiles fine for me too. > > The problem arises even after the two PasswordDialog files (the .java > and the .c one) are overrided with the ones from the dev version. > > This is my compilation line: > > > make[1]: Entering directory > `/home/mari/java-gnome0.8/java-gnome/gnome/src' > CLASSPATH=java:../../gtk/lib/gtk0.8-0.8.2.jar::java > /home/mari/j2sdk_nb/j2sdk1.4.2/bin/javac -d build-java \ > java/org/gnu/gnome/PasswordDialog.java > gcc -c -g -O2 -fPIC jni/org_gnu_gnome_PasswordDialog.c -o > jni/org_gnu_gnome_PasswordDialog.o -I > /home/mari/j2sdk_nb/j2sdk1.4.2/include -I > /home/mari/j2sdk_nb/j2sdk1.4.2/include/linux -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \ > -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 > -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 > -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/libart-2.0 -I/usr/include/gconf/2 > -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 > -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 > -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 > -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 > -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > pointer from integer without a cast > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': > jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is > reported only once > jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) > jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': > jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': > jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': > jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': > jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': > jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': > jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token > jni/org_gnu_gnome_PasswordDialog.c: In function > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': > jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared > (first use in this function) > jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token > make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 > make[1]: Leaving directory > `/home/mari/java-gnome0.8/java-gnome/gnome/src' > make: *** [distro] Error 2 > > |
From: Luca De R. <pie...@li...> - 2003-12-27 14:57:04
|
Il sab, 2003-12-27 alle 13:27, Jeffrey Morgan ha scritto: > The problem is that it cannot find the PasswordDialog widget. > Does the version of libgnomeui you are using have this widget? > I know it was included in gnome 2.4.0.1 (the version on my > system). Perhaps we should remove this class entirely from > the 0.8 stream if earlier versions of libgnomeui didn't > include it. You are totally right, my libgnomeui-2.2.0 doesn't have any PasswordDialog widget... we should clearly state that you need gnome 2.4 for the stable version and gnome-2.5.1 for the dev version, or we should remove that class from stable. -- Luca De Rugeriis <pie...@li...> |