The gtk module in canberra-0.10 uses x11, but ./configure doesn't
check for x11 and the -I and -L/-i flags to support this usage aren't
set. Looks like canberra is relying on other dependent libraries to
publish x11 flags, which is not reliable. I am able to compile
canberra-gtk-module.c only because gtk-2.0's pkg-config exports
"-I/usr/X11R6/include". And linking of libcanberra-gtk-module.la fails
because "-lX11" is *not* published by gtk-2.0 (or any other lib). If I
manually add that (and get lucky that some dependent's pkg-config
publishes "-L/usr/X11R6/lib") I can link that .la successfully.

The problem is worse though...looks like both canberra-gtk.c and
canberra-gtk-module.c *only* work if the GUI is x11ish, whereas gdk
might be build for quartz instead. I don't object to "only works with
x11 GUI at this time", but if so, need to make sure that is checked
and the x11 flags needed directly by canberra are explcitly set and
passed within canberra.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks

_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss

Reply via email to