October 3, 2012

Gentoo Evolution 3.4.4 won’t build

By Geekphreek

I hit the wall the other day with Gentoo where I couldn’t get Evolution 3.4.4 to build although 3.4.3 would build absolutely fine.  The error out message was:

.libs/libeutil_la-e-util.o: In function `e_restore_window’:
e-util.c:(.text+0x7a5): undefined reference to `gdk_screen_get_monitor_workarea’
collect2: ld returned 1 exit status
make[3]: *** [libeutil.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/mail-client/evolution-3.4.4/work/evolution-3.4.4/e-util’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mail-client/evolution-3.4.4/work/evolution-3.4.4/e-util’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/evolution-3.4.4/work/evolution-3.4.4′
make: *** [all] Error 2
* ERROR: mail-client/evolution-3.4.4 failed (compile phase):
*   emake failed

It was driving me nuts.  Low and behold, the fix was quite simple as they usually are.  I needed to emerge GTK+ 3.4.4 which is masked.