Re: [Nautilus-list] Nautilus fails to compile with glib/gtk+ 1.2.9



Hi.

It will fix the problem, maybe.

--- nautilus.oig/hack-macros/gnome.m4
+++ nautilus/hack-macros/gnome.m4
@@ -366,9 +366,9 @@
   if test "$GNOME_CONFIG" = "no" ; then
     no_gnome=yes
   else
-    GNOME_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnome`"
+    GNOME_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gtk gnome`"
     GNOME_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnome`"
-    GNOMEUI_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnomeui`"
+    GNOMEUI_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gtk gnomeui`"
     GNOMEUI_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnomeui`"
 
     gnome_config_major_version=`$GNOME_CONFIG $gnome_config_args --version | \

 
And gnome-vfs has the same problem.

--- gnome-vfs.orig/macros/gnome.m4
+++ gnome-vfs/macros/gnome.m4
@@ -60,7 +60,7 @@
                GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
                ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
                GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
-               GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+               GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gtk gnorba gnomeui`"
                 $1
              else
                AC_MSG_RESULT(no)


>>>>> In article <983675045 19036 0 camel danlinux ata-engineering com unknown domain>
>>>>> "DH" == dan hensley home com (Dan Hensley) wrote...

DH> I saw some recent posts about this, but haven't seen a resolution.  I
DH> believe that the reason compiles are failing is because of glib/gtk+
DH> 1.2.9.  It changed the location of include files.  If someone updated
DH> via RPM, or updated via source and followed the instructions for
DH> cleaning up their $(includedir)s, then the compile will fail.  I don't
DH> know much about the autoconf mystery, but I compared Makefiles with what
DH> Evolution does (which does compile fine), and in the Evolution Makefiles
DH> CPPFLAGS has the glib/gtk+ definitions in it, and Nautilus leaves it
DH> blank.

DH> Dan


DH> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../cut-n-paste-code
DH> -I/usr/local/include -DNEED_GNOMESUPPORT_H
DH> -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include
DH> -I/usr/X11R6/include -g -O2 -Wp,-MD,.deps/nautilusclist.pp -c  -fPIC
DH> -DPIC nautilusclist.c -o nautilusclist.lo
DH> nautilusclist.c:31: gtk/gtkmain.h: No such file or directory
DH> In file included from nautilusclist.c:32:
DH> nautilusclist.h:35: gdk/gdk.h: No such file or directory
DH> nautilusclist.h:36: gtk/gtksignal.h: No such file or directory
DH> nautilusclist.h:37: gtk/gtkalignment.h: No such file or directory
DH> nautilusclist.h:38: gtk/gtklabel.h: No such file or directory
DH> nautilusclist.h:39: gtk/gtkbutton.h: No such file or directory
DH> nautilusclist.h:40: gtk/gtkhscrollbar.h: No such file or directory
DH> nautilusclist.h:41: gtk/gtkvscrollbar.h: No such file or directory
DH> nautilusclist.h:42: gtk/gtkenums.h: No such file or directory
DH> nautilusclist.c:33: gtk/gtkbindings.h: No such file or directory
DH> nautilusclist.c:34: gtk/gtkdnd.h: No such file or directory
DH> nautilusclist.c:35: gdk/gdkx.h: No such file or directory
DH> nautilusclist.c:36: gdk/gdkkeysyms.h: No such file or directory
DH> make: *** [nautilusclist.lo] Error 1




DH> _______________________________________________
DH> Nautilus-list mailing list
DH> Nautilus-list lists eazel com
DH> http://lists.eazel.com/mailman/listinfo/nautilus-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]