RE: [Java-gnome-developer] Error recompiling Java-GTK+
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2001-10-09 12:50:31
|
Thanks for the info. I will try to generate new rpms sometime today. -Jeff > > Hi Jeffrey, > I think your RPM setup is made for confusion currently. I > downloaded the > src.rpm with java-gnome thinking it contained all I needed. > After it had > built I tried installing it, but it complained about java-gtk > missing so > I tried building that, which failed with the message I sent earlier. > > After recieving your reply I saw that the gnome src.rpm contained all > the code I needed but the spec file was only made to create the GNOME > part of the RPM. I suggest having the GNOME SPEC file create both the > GTK+ and the GNOME package. Anyway I just built the whole thing from > source like I did with the last version and it worked well. > > Christian > > On Mon, 2001-10-08 at 17:26, Jeffrey Morgan wrote: > > 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 > > > > > |