Re: error compiling CVS gconf

Mark <jamess1 wwnet com> writes:

> Hello,
>   I've encountered an error compiling gconf from cvs. It seems gconf is
> being redefined, I'm not sure if this was intentional or not.


you are trying to build gconf with a glib 2.0 in your path... Bad idea. 
I would suggest removing glib 2.0 from your /usr directory (put it in /usr/local/ 
for example)

Alternatively, I think there are patches in gnome-vfs HEAD from cvs to make
gconf build against glib 2.


> Mark
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/usr/lib/glib-2.0/include
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/glib-2.0 -I/usr/include -I/usr/include/gnome-xml
> -I/usr/include -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
> -DGCONF_LOCALE_DIR=\"\" -DGCONF_SRCDIR=\"/home/mark/gconf\"
> -DGCONF_CONFDIR=\"/usr/etc/gconf/1\" -DGCONF_BUILDDIR=\"..\"
> -DGCONF_BACKEND_DIR=\"/usr/lib/GConf/1\" -DVERSION=\"0.11\"
> -DIID=\"OAFIID:gconfd:19991118\" -DGCONF_ENABLE_INTERNALS=1 -g -O2 -Wall
> -DGCONF_ENABLE_DEBUG=1 -Wp,-MD,.deps/gconf-internals.pp -c  -fPIC -DPIC
> gconf-internals.c -o .libs/gconf-internals.lo
> In file included from gconf-error.h:25,
>                  from gconf-internals.h:30,
>                  from gconf-internals.c:22:
> ../gconf/gconf-glib-public.h:29: warning: redefinition of `GError'
> /usr/include/glib-2.0/gerror.h:28: warning: `GError' previously declared
> here
> ../gconf/gconf-glib-public.h:32: redefinition of `struct _GError'
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org

Mathieu Lacage <mathieu eazel com>

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