I just tried compiling BOINC Manager from SVN trunk, on Linux. The
configure step completed with no errors. When actually building,
taskbarex.cpp complained gtk/gtk.h and libnotify/notify.h couldn't be
found.

This is a bug. If the code requires some library's headers to be
installed, the configure script should check for them and error out if
they aren't found. If configure gives no errors, then I should be
pretty sure I already have all the requirements, and running make
shouldn't give any error caused by missing reqs.

When I went to install those libraries, I found that I already had
GTK. However, the makefile isn't adding the needed include path, so
gtk/gtk.h isn't found. gtk.h is in /usr/include/gtk-2.0/gtk/gtk.h, so
there should be a -I/usr/include/gtk-2.0 passed to the compiler
(getting the correct path from pkg-config of course).

libnotify requires glib, and it includes it as <glib.h>. I have that
header in /usr/include/glib-2.0/glib.h, so that's another missing
include path.

BOINC should probably use the macros in gtk-2.0.m4 instead of trying
to find GTK by itself using pkg-config...

-- 
Nicolas
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to