[LAD] jack-rack doesn't build against Debian 'etch's GTK+ libraries

From: Steven Chamberlain <steven@email-addr-hidden>
Date: Sat Jun 14 2008 - 18:43:19 EEST

Hi,

While trying to compile jack-rack on a fresh Debian 'etch' installation,
I ran into this problem:

   jack_rack-ui.o: In function `ui_init_gui':
   /usr/local/src/jack-rack-1.4.7/src/ui.c:249: undefined reference to
`gtk_tool_item_set_tooltip_text'

I eventually realised that this function isn't implemented in the
libgtk2.0-dev package in this Debian release (GTK+ v2.8.20). The
offending changes in CVS are here:

http://jack-rack.cvs.sourceforge.net/jack-rack/jack-rack/src/ui.c?r1=1.27&r2=1.28

The revision log shows that this change was introduced 1.4.7, and 1.4.6
builds fine, as expected.

jack-rack's 'configure' script only checks for GTK+ >= 2.0.0. According
to the documentation, the missing function didn't exist until 2.12:

http://library.gnome.org/devel/gtk/stable/GtkToolItem.html#gtk-tool-item-set-tooltip-text

Debian packages jack-rack anyway, and anyone compiling latest jack-rack
from source shouldn't mind installing newer GTK libs. But I thought I'd
mention it in case anyone else runs into this problem.

I imagine 'configure.ac' ought to be updated to reflect the dependency
on GTK+ >= 2.12.0 instead of 2.0.0 as previously.

Regards,

-- 
Steven Chamberlain
steven@email-addr-hidden
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sat Jun 14 20:15:03 2008

This archive was generated by hypermail 2.1.8 : Sat Jun 14 2008 - 20:15:04 EEST