Re: [gdm-list] GDM2 2.13.0.4 (unstable), the "Gerbil Wolf" release



Philip:

Thanks so much for catching this bug.  Yes, GDM now requires glib 2.8.
Though you could just change all the calls to g_access to just "access"
if you want to work around this problem.

For putting together a patch to make priority work with gdmsetup, then
this workaround would be a fine way to resolve the problem without
messing about, or if upgrading to glib 2.8 is a hassle.

If we really want to still support glib 2.6, then we could make
configure.ac check which version of glib is available and decide which
version of access or g_access to use based on configure and #ifdef's.

Sorry about causing the problem.

Brian


I was trying to build gdm 2.13.0.4 on FC3, which required installing
various non-native RPM's:

# rpm -qa | fgrep '.at' | sort
glib2-2.6.6-1_12.rhfc3.at
glib2-devel-2.6.6-1_12.rhfc3.at
gtk2-2.6.7-4_7.rhfc3.at
gtk2-devel-2.6.7-4_7.rhfc3.at
gtk2-engines-2.6.3-2_2.rhfc3.at
libglade2-2.4.0-5_1.rhfc3.at
libglade2-devel-2.4.0-5_1.rhfc3.at
libglib-2.0_0-2.6.6-1_12.rhfc3.at
libgmodule-2.0_0-2.6.6-1_12.rhfc3.at
libgobject-2.0_0-2.6.6-1_12.rhfc3.at
libgthread-2.0_0-2.6.6-1_12.rhfc3.at
libpango-1.0_0-1.8.1-2_5.rhfc3.at
libpangoft2-1.0_0-1.8.1-2_5.rhfc3.at
libpangox-1.0_0-1.8.1-2_5.rhfc3.at
libpangoxft-1.0_0-1.8.1-2_5.rhfc3.at
libXft-devel-2.0.0-2.rhfc3.at
pango-1.8.1-2_5.rhfc3.at
pango-devel-1.8.1-2_5.rhfc3.at
pygtk2-python24-2.6.0-2_6.rhfc3.at
pygtk2-python24-libglade-2.6.0-2_6.rhfc3.at
python24-2.4.1-2_8.rhfc3.at
python24-devel-2.4.1-2_8.rhfc3.at
#

And it still doesn't build. (!!!)

Seems there are some further unexpressed version dependencies.

Linking results in warnings about g_access() not being defined.  I'm not a
GTK/Gnome programmer.  I'm just trying to add some extra controls for
fine tuning the X server...  so I'm a bit naive about what version of GTK
introduced what new functionality.

What further dependencies need to be expressed?  What needs to be updated
(and to what minimum version) to get builds to happen? And is there a way to get a minimal build of the vicious extensions? Or are they always included in
their entirety?

I've included the tail of a build log...

-Philip
-------
...
Making all in vicious-extensions
make[2]: Entering directory `/home/src/gdm2/vicious-extensions'
Making all in .
make[3]: Entering directory `/home/src/gdm2/vicious-extensions'
/bin/sh ../libtool --mode=link --tag=CC gcc -g -O2 -Wall -Wmissing-prototypes -o test-ve-config test-ve-config.o -Wl,--export-dynamic -pthread -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgnome-2 -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lglib-2.0 ../vicious-extensions/libvicious.a gcc -g -O2 -Wall -Wmissing-prototypes -o test-ve-config test-ve-config.o -Wl,--export-dynamic -pthread -lglade-2.0 -lgtk-x11-2.0 /usr/lib/libxml2.so -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgnome-2 /usr/lib/libpopt.so -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 ../vicious-extensions/libvicious.a ../vicious-extensions/libvicious.a(ve-nongnome.o)(.text+0x97): In function `ve_find_file': /home/src/gdm2/vicious-extensions/ve-nongnome.c:57: undefined reference to `g_access' ../vicious-extensions/libvicious.a(ve-nongnome.o)(.text+0xd8):/home/src/gdm2/vicious-extensions/ve-nongnome.c:65: undefined reference to `g_access' ../vicious-extensions/libvicious.a(ve-misc.o)(.text+0xd9): In function `ve_first_word_executable': /home/src/gdm2/vicious-extensions/ve-misc.c:82: undefined reference to `g_access' ../vicious-extensions/libvicious.a(ve-misc.o)(.text+0x3ec): In function `ve_find_file_simple': /home/src/gdm2/vicious-extensions/ve-misc.c:237: undefined reference to `g_access' ../vicious-extensions/libvicious.a(ve-misc.o)(.text+0x433):/home/src/gdm2/vicious-extensions/ve-misc.c:246: undefined reference to `g_access' ../vicious-extensions/libvicious.a(ve-misc.o)(.text+0x6d3):/home/src/gdm2/vicious-extensions/ve-misc.c:477: more undefined references to `g_access' follow
collect2: ld returned 1 exit status
make[3]: *** [test-ve-config] Error 1
make[3]: Leaving directory `/home/src/gdm2/vicious-extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/src/gdm2/vicious-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/gdm2'
make: *** [all] Error 2

********* make failed *********
#

_______________________________________________
gdm-list mailing list
gdm-list gnome org
http://mail.gnome.org/mailman/listinfo/gdm-list




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