Bug 766 - compile problem
Status:
RESOLVED WORKSFORME
Component:
Build-Env
Version:
1.8.5
Hardware:
PC Linux
Importance:
P5 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Jul 31 2008 21:57:03 UTC
by:
Thomas
Modified:
Jan 28 2009 19:45:38 UTC
| Id | Who | When | Size | Type |
|---|---|---|---|---|
| 137 | make output | |||
| Thomas | Jul 31 2008 21:57:03 UTC | 17936 | application/octet-stream | |
| 138 | config log | |||
| Thomas | Jul 31 2008 22:17:39 UTC | 168899 | text/x-log | |
| 139 | RHEL4 config.out | |||
| Thomas | Aug 11 2008 23:30:13 UTC | 155078 | text/x-log | |
| 140 | Make output RHEL 4 | |||
| Thomas | Aug 11 2008 23:30:57 UTC | 89953 | text/plain | |
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Rob Caelers | Aug 6 2008 17:50:46 UTC | status | NEW | RESOLVED |
| resolution | FIXED | |||
| Thomas | Aug 11 2008 23:31:41 UTC | status | RESOLVED | REOPENED |
| resolution | FIXED | |||
| Rob Caelers | Jan 28 2009 19:45:38 UTC | status | REOPENED | RESOLVED |
| resolution | WORKSFORME |
Description
Thomas Jul 31 2008 21:57:03 UTC
Created attachment 137 make output Hope someone can help.... I am trying to compile 1.8.5 on redhat rhel 3. I am getting the following error. gurator.o `test -f 'Configurator.cc' || echo './'`Configurator.cc; \ then mv -f ".deps/libworkrave_backend_a-Configurator.Tpo" ".deps/libworkrave_backend_a-Configurator.Po"; else rm -f ".deps/libworkrave_backend_a-Configurator.Tpo"; exit 1; fi In file included from Configurator.cc:32: GlibIniConfigurator.hh:57: syntax error before `*' token make[5]: *** [libworkrave_backend_a-Configurator.o] Error 1 make[5]: Leaving directory `/.automount/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/backend/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/.automount/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/backend/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/.automount/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/backend/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/.automount/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/backend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/.automount/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5' make: *** [all] Error 2 attached is the complete output for the make. Where am I going wrong?
Comment 1
Thomas Jul 31 2008 21:57:57 UTC
forgot to mention it is 64-bit
Comment 2
Thomas Jul 31 2008 22:17:39 UTC
Created attachment 138 config log looks like I had some issues on config. So I attached that log too.
Comment 3
Rob Caelers Jul 31 2008 22:54:32 UTC
What version of glib are you using? Your logs indicate that you are using header files of 2.4.7 and libraries of 2.6.6. Workrave needs at least 2.6 configure:25395: gcc -o conftest -Os -g -DNDEBUG -pthread -DORBIT2=1 -I/util/workrave/workrave-1.8.5/prereq/glib-2.4.7/include/glib-2.0 -I/util/workrave/workrave-1.8.5/prereq/glib-2.4.7/lib/glib-2.0/include -I/util/workrave/workrave-1.8.5/prereq/ORBit2-2.12.1/include/orbit-2.0 -g conftest.c -Wl,--export-dynamic -pthread -L/util/workrave/workrave-1.8.5/prereq/glib-2.4.7/lib -L/util/workrave/workrave-1.8.5/prereq/ORBit2-2.12.1/lib -lORBit-2 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lm >&5 /util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib/libgobject-2.0.so.0: undefined reference to `g_assert_warning' /util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib/libgobject-2.0.so.0: undefined reference to `g_return_if_fail_warning I will add a >= 2.6 dependency to our configure scripts.
Comment 4
Rob Caelers Aug 6 2008 17:50:46 UTC
Fixed dependency. Closing bug. Feel free to contact me if you still having problems compiling workrave.
Comment 5
Thomas Aug 11 2008 23:30:13 UTC
Created attachment 139 RHEL4 config.out
Comment 6
Thomas Aug 11 2008 23:30:57 UTC
Created attachment 140 Make output RHEL 4
Comment 7
Thomas Aug 11 2008 23:34:07 UTC
Thank you for the help I updated glib and am trying on RHEL4. I have attached the config.out and the output of them make. Where am I going wrong now??? gcc -Os -g -DNDEBUG -g -o workrave-applet workrave_applet-WorkraveApplet.o workrave_applet-Workrave-Control-common.o workrave_applet-Workrave-Control-skels.o workrave_applet-Workrave-Control-stubs.o workrave_applet-Workrave-Applet-common.o workrave_applet-Workrave-Applet-skels.o workrave_applet-Workrave-Applet-stubs.o -Wl,--export-dynamic -pthread -L/util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib -L/util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib -L/util/workrave/workrave-1.8.5/prereq/gtk+-2.6.6/lib -L/util/workrave/workrave-1.8.5/prereq/libart_lgpl-2.3.16//lib -L/usr/X11R6/lib64 -lpanel-applet-2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 /usr/lib64/libxml2.so -lz -lgnomecanvas-2 -lgnome-2 /usr/lib64/libpopt.so /util/workrave/workrave-1.8.5/prereq/libart_lgpl-2.3.16//lib/libart_lgpl_2.so /util/workrave/workrave-1.8.5/prereq/gtk+-2.6.6/lib/libgtk-x11-2.0.so /util/workrave/workrave-1.8.5/prereq/gtk+-2.6.6/lib/libgdk-x11-2.0.so -latk-1.0 /util/workrave/workrave-1.8.5/prereq/gtk+-2.6.6/lib/libgdk_pixbuf-2.0.so /util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib/libpangoxft-1.0.so /util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib/libpangox-1.0.so /util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib/libpangoft2-1.0.so /util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib/libpango-1.0.so /util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib/libgobject-2.0.so -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm /util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib/libgmodule-2.0.so -ldl /util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib/libgthread-2.0.so /util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib/libglib-2.0.so -lpthread -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/libart_lgpl-2.3.16//lib -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/gtk+-2.6.6/lib -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/libart_lgpl-2.3.16//lib -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/gtk+-2.6.6/lib -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/pango-1.8.2/lib -Wl,--rpath -Wl,/util/workrave/workrave-1.8.5/prereq/glib-2.6.6/lib workrave_applet-WorkraveApplet.o(.text+0x11ed): In function `workrave_applet_factory': /data/wkssup/twac/apps/workrave/workrave-1.8.5/frontend/gtkmm/src/gnome_applet/WorkraveApplet.c:1022: undefined reference to `panel_applet_set_background_widget' collect2: ld returned 1 exit status make[6]: *** [workrave-applet] Error 1 make[6]: Leaving directory `/net/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/frontend/gtkmm/src/gnome_applet' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/net/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/frontend/gtkmm/src/gnome_applet' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/net/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/frontend/gtkmm/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/net/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/frontend/gtkmm' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/net/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5/frontend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/net/vema.xcp.chevrontexaco.net/vol/vol0/utc_q1/users/twac/apps/workrave/workrave-1.8.5' make: *** [all] Error 2
Comment 8
Rob Caelers Jan 28 2009 19:45:38 UTC
I'm closing this bug because I think this is not a Workrave bug. Workrave just requires very recent versions of some libraries. Contact me via email if you require assistance (though you probably managed to compile workrave or gave up because of the silence from my side, sorry for that...)