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



On 05 Mar 2001 14:03:55 -0700, Dan Hensley wrote:
> It looks like the easiest solution is to recompile gnome-libs (actually,
> just doing a ./configure and copying gnome-config to the appropriate
> place is probably sufficient).  gnome-config hardcodes the glib and gtk+
> locations into the script.  I guess this is arguably a bug in
> gnome-libs, but it wouldn't surpise me if this would come back as a
> WONTFIX.


gnome-config script could easily be fixed by using backticks to figure
out the glib/gtk+ libraries, instead of hardcoding them.

> Dan
> 
> 
> On 05 Mar 2001 16:27:57 +0900, Takuo KITAME wrote:
> > 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
> > 
> > 
> > 
> > _______________________________________________
> > Nautilus-list mailing list
> > Nautilus-list lists eazel com
> > http://lists.eazel.com/mailman/listinfo/nautilus-list
> 
> 
> 
> _______________________________________________
> Nautilus-list mailing list
> Nautilus-list lists eazel com
> http://lists.eazel.com/mailman/listinfo/nautilus-list





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