I am trying to compile cairo-dock from source (failing to find an existing package for CentOS). I believe all dependencies are satisfied, but while doing "make", at some point it says (I can provide the full make output if it's needed):
gcc -g -O2 -o cairo-dock -Wl,--export-dynamic cairo_dock-cairo-dock-callbacks.o cairo_dock-cairo-dock.o cairo_dock-cairo-dock-dbus.o cairo_dock-cairo-dock-draw.o cairo_dock-cairo-dock-config.o cairo_dock-cairo-dock-load.o cairo_dock-cairo-dock-icons.o cairo_dock-cairo-dock-applications-manager.o cairo_dock-cairo-dock-menu.o cairo_dock-cairo-dock-modules.o cairo_dock-cairo-dock-launcher-factory.o cairo_dock-cairo-dock-application-factory.o cairo_dock-cairo-dock-applet-factory.o cairo_dock-cairo-dock-separator-factory.o cairo_dock-cairo-dock-desktop-file-factory.o cairo_dock-cairo-dock-keyfile-utilities.o cairo_dock-cairo-dock-dock-factory.o cairo_dock-cairo-dock-animations.o cairo_dock-cairo-dock-themes-manager.o cairo_dock-cairo-dock-notifications.o cairo_dock-cairo-dock-dialogs.o cairo_dock-cairo-dock-surface-factory.o cairo_dock-cairo-dock-renderer-manager.o cairo_dock-cairo-dock-default-view.o cairo_dock-cairo-dock-applet-facility.o cairo_dock-cairo-dock-file-manager.o cairo_dock-eggaccelerators.o cairo_dock-cairo-dock-keybinder.o cairo_dock-cairo-dock-desklet.o cairo_dock-cairo-dock-log.o cairo_dock-cairo-dock-X-utilities.o cairo_dock-cairo-dock-gauge.o cairo_dock-cairo-dock-dock-manager.o cairo_dock-cairo-dock-class-manager.o cairo_dock-cairo-dock-emblem.o cairo_dock-cairo-dock-flying-container.o cairo_dock-cairo-dock-graph.o cairo_dock-cairo-dock-draw-opengl.o cairo_dock-cairo-dock-particle-system.o cairo_dock-cairo-dock-gui-factory.o cairo_dock-cairo-dock-gui-callbacks.o cairo_dock-cairo-dock-gui-manager.o cairo_dock-cairo-dock-internal-position.o cairo_dock-cairo-dock-internal-accessibility.o cairo_dock-cairo-dock-internal-system.o cairo_dock-cairo-dock-internal-taskbar.o cairo_dock-cairo-dock-internal-hidden-dock.o cairo_dock-cairo-dock-internal-dialogs.o cairo_dock-cairo-dock-internal-indicators.o cairo_dock-cairo-dock-internal-views.o cairo_dock-cairo-dock-internal-labels.o cairo_dock-cairo-dock-internal-desklets.o cairo_dock-cairo-dock-internal-background.o cairo_dock-cairo-dock-internal-icons.o -pthread -Wl,--export-dynamic -lXtst -lXcomposite -lXfixes -lXinerama -L/lib -lgthread-2.0 -lrsvg-2 -ldbus-glib-1 -ldbus-1 -lxml2 -lz -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 cairo_dock-cairo-dock.o: In function `main': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock.c:724: undefined reference to `g_timeout_add_seconds' cairo_dock-cairo-dock-applications-manager.o: In function `cairo_dock_get_current_applis_list': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applications-manager.c:1389: undefined reference to `g_hash_table_get_values' cairo_dock-cairo-dock-menu.o: In function `cairo_dock_notification_build_menu': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-menu.c:1081: undefined reference to `gtk_widget_set_tooltip_text' /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-menu.c:1318: undefined reference to `gtk_widget_set_tooltip_text' /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-menu.c:1143: undefined reference to `gtk_widget_set_tooltip_text' cairo_dock-cairo-dock-applet-facility.o: In function `_cairo_dock_restart_timer_with_frequency': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applet-facility.c:523: undefined reference to `g_timeout_add_seconds' cairo_dock-cairo-dock-applet-facility.o: In function `_cairo_dock_check_for_redraw': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applet-facility.c:392: undefined reference to `g_timeout_add_seconds' cairo_dock-cairo-dock-applet-facility.o: In function `cairo_dock_launch_measure': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applet-facility.c:443: undefined reference to `g_timeout_add_seconds' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_subfont_xlfd' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_for_display' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_unload' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_find_first_subfont' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_get_font_cache' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_load' collect2: ld returned 1 exit status make[3]: *** [cairo-dock] Error 1 make[3]: Leaving directory `/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vmarko/cairo/cairo-dock-2.0.0-beta1' make: *** [all] Error 2
I believe the problem arises at the point where it says
cairo_dock-cairo-dock.o: In function `main': /home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock.c:724: undefined reference to `g_timeout_add_seconds'
So, what is g_timeout_add_seconds, what library has it defined, or else what can I do about this?
Did anyone successfully compile cairo-dock under Centos 5.2?
Appreciate any help!
Best, :-) Marko
On Sunday 25 January 2009 17:10, Marko Vojinovic wrote:
I am trying to compile cairo-dock from source (failing to find an existing package for CentOS). I believe all dependencies are satisfied, but while doing "make", at some point it says (I can provide the full make output if it's needed):
[snip]
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock.c:724: undefined reference to `g_timeout_add_seconds'
To partially answer my own question, it appears that g_timeout_add_seconds was introduced in glib2 library, starting from version 2.14, while my current CentOS installation has version 2.12.3-2. Now, it turns out that glib2 depends on glibc, gamin and libselinux, my current versions being 2.5.24, 0.1.7-8 and 1.33.4-5 respectively.
So, to reformulate the question: is there a clean way to upgrade glib2 from 2.12 to 2.14 without having to upgrade glibc and friends (and glibc has *a lot* of friends installed on the system :-) ...).
This is a desktop machine which is not quite important for production etc, so I wouldn't mind customizing it if it isn't too much hassle.
I am open to suggestions on what to do ---
* update glib2 and possibly glibc and its dependencies? * temper with the cairo-dock source to remove references to new functions and make it compatible with glib2 v2.12 (this is possible, but not easy)? * wait for CentOS 5.3 hoping that it has more recent glib2? * give up?
Appreciate any help!
Best, :-) Marko
On Sun, 2009-01-25 at 23:14 +0100, Marko Vojinovic wrote:
<snip>
To partially answer my own question, it appears that g_timeout_add_seconds was introduced in glib2 library, starting from version 2.14, while my current CentOS installation has version 2.12.3-2. Now, it turns out that glib2 depends on glibc, gamin and libselinux, my current versions being 2.5.24, 0.1.7-8 and 1.33.4-5 respectively.
So, to reformulate the question: is there a clean way to upgrade glib2 from 2.12 to 2.14 without having to upgrade glibc and friends (and glibc has *a lot* of friends installed on the system :-) ...).
This is a desktop machine which is not quite important for production etc, so I wouldn't mind customizing it if it isn't too much hassle.
I am open to suggestions on what to do ---
- update glib2 and possibly glibc and its dependencies?
- temper with the cairo-dock source to remove references to new functions and
make it compatible with glib2 v2.12 (this is possible, but not easy)?
- wait for CentOS 5.3 hoping that it has more recent glib2?
- give up?
Appreciate any help!
If you can wait, some recent posts in other threads indficate that glibc is to be upgraded in 5.3 (which RH has recently released ?). So CentOS should offer the updates in around 5 weeks or so.
I don't have enough knowledge to offer anything more. Hopefully some others can help you sooner.
Best, :-) Marko
<snip sig stuff>
HTH
William L. Maltby wrote:
On Sun, 2009-01-25 at 23:14 +0100, Marko Vojinovic wrote:
<snip>
To partially answer my own question, it appears that g_timeout_add_seconds was introduced in glib2 library, starting from version 2.14, while my current CentOS installation has version 2.12.3-2. Now, it turns out that glib2 depends on glibc, gamin and libselinux, my current versions being 2.5.24, 0.1.7-8 and 1.33.4-5 respectively.
So, to reformulate the question: is there a clean way to upgrade glib2 from 2.12 to 2.14 without having to upgrade glibc and friends (and glibc has *a lot* of friends installed on the system :-) ...).
This is a desktop machine which is not quite important for production etc, so I wouldn't mind customizing it if it isn't too much hassle.
I am open to suggestions on what to do ---
- update glib2 and possibly glibc and its dependencies?
- temper with the cairo-dock source to remove references to new functions and
make it compatible with glib2 v2.12 (this is possible, but not easy)?
- wait for CentOS 5.3 hoping that it has more recent glib2?
- give up?
Appreciate any help!
If you can wait, some recent posts in other threads indficate that glibc is to be upgraded in 5.3 (which RH has recently released ?). So CentOS should offer the updates in around 5 weeks or so.
Glib2 hasn't been updated in 5.3 - it's still at version 2.12.3-2 as per the original release.
Hi,
On Sun, Jan 25, 2009 at 17:14, Marko Vojinovic vvmarko@panet.co.yu wrote:
- update glib2 and possibly glibc and its dependencies?
Bad idea. If you do that, what you will have at the end will no longer be CentOS, and if you break it, you got to keep the pieces.
- temper with the cairo-dock source to remove references to new functions and
make it compatible with glib2 v2.12 (this is possible, but not easy)?
Agreed, possible, but I think it's going to be really hard.
- wait for CentOS 5.3 hoping that it has more recent glib2?
CentOS 5.3 (or any other 5.x) should not introduce any major upgrades to glibc or glib2, although minor updates with mainly bug fixes are expected, it should not bump to another version just like that.
- give up?
Or try it under Fedora. If you want cutting-edge software, that is what you should be looking for anyway.
Or yet, you could try to get version 1.x of cairo-dock to build under CentOS, as that one is more likely to be built than the newer 2.x.
HTH, Filipe
Yea, I'm pretty sure.
_____________________________________ "He's no failure. He's not dead yet." William Lloyd George
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Marko Vojinovic Sent: Sunday, January 25, 2009 5:15 PM To: centos@centos.org Subject: Re: [CentOS] Problem compiling cairo-dock under CentOS 5.2
On Sunday 25 January 2009 17:10, Marko Vojinovic wrote:
I am trying to compile cairo-dock from source (failing to find an
existing
package for CentOS). I believe all dependencies are satisfied, but
while
doing "make", at some point it says (I can provide the full make
output if
it's needed):
[snip]
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock.c:724:
undefined
reference to `g_timeout_add_seconds'
To partially answer my own question, it appears that g_timeout_add_seconds was introduced in glib2 library, starting from version 2.14, while my current CentOS installation has version 2.12.3-2. Now, it turns out that glib2 depends on glibc, gamin and libselinux, my current versions being 2.5.24, 0.1.7-8 and 1.33.4-5 respectively.
So, to reformulate the question: is there a clean way to upgrade glib2 from 2.12 to 2.14 without having to upgrade glibc and friends (and glibc has *a lot* of friends installed on the system :-) ...).
This is a desktop machine which is not quite important for production etc, so I wouldn't mind customizing it if it isn't too much hassle.
I am open to suggestions on what to do ---
* update glib2 and possibly glibc and its dependencies? * temper with the cairo-dock source to remove references to new functions and make it compatible with glib2 v2.12 (this is possible, but not easy)? * wait for CentOS 5.3 hoping that it has more recent glib2? * give up?
Appreciate any help!
Best, :-) Marko
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos