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



2001-03-05T16:27:57+0900, Takuo KITAME ->
> 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 | \

But --cflags gnomeui should imply gtk. --cflags gnome should not, since
you can use all the non-graphical gnome components without using gtk.

So if you need to change --cflags gnomeui to --cflags gtk gnomeui, this
is a bug in gnome-libs, not here.

	n.

-- 
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
    Opinions expressed above are mine, and not those of my future employees.
SIGBORE: Signature boring error, core dumped





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