RE: [Java-gnome-developer] Error recompiling Java-GTK+
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2001-10-08 15:27:27
|
This is a problem with the GTK only build. I used to have access to a system that only had GTK on which I could test. I believe a short-term fix would be to edit the src/other/gtk_wrappers.h file adding : #ifdef GTK #include <gtk/gtk.h> #endif after the check for GNOME. Could you please let me know if this fixes the problem. If it does, I'll update the file in CVS. Thanks -Jeff > > Hi, > Trying to compile using the SRPM Java-GTK 0.7 releae I get > the following > compile error, any suggestions? > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.7354 (%build)gcc -c -g -O2 > -fPIC -Iother other/gnu_gtk_GtkCell.c -o other/gnu_gtk_GtkCell.o -I > /usr/java/jdk1.3.1/include -I /usr/java/jdk1.3.1/include/linux > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/X11R6/include \ > -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > -DGTK > In file included from other/gnu_gtk_GtkCell.c:11: > other/gtk_wrappers.h:15: parse error before `jobject_to_gpointer' > other/gtk_wrappers.h:15: warning: data definition has no type > or storage > class > make[2]: *** [other/gnu_gtk_GtkCell.o] Error 1 > make[2]: Leaving directory `/usr/src/redhat/BUILD/java-gtk-0.7/src' > make[1]: *** [gtk] Error 2 > make[1]: Leaving directory `/usr/src/redhat/BUILD/java-gtk-0.7/src' > make: *** [distro] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.7354 (%build) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.7354 (%build > > Christian > > > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |