On 15.3.2015 23:27, Paul Rogers wrote:
Maybe "not your table", but I'm hoping for help here.On my way to making IcedTea-Web I had to build CUPS, so that seemed to drag in the rest of the printing stuff. I needed foomatic, which isn't actually in the book. I get this in the current foomatic-filters: ./configure: line 6152: syntax error near unexpected token `DBUS,' ./configure: line 6152: ` PKG_CHECK_MODULES(DBUS, dbus-1)' from this bit of configure code: # Use DBUS # Check whether --enable-dbus was given. if test "${enable_dbus+set}" = set; then : enableval=$enable_dbus; enable_dbus=$enableval else enable_dbus=yes fi if test x$enable_dbus = xyes; then BUILD_DBUS_TRUE= BUILD_DBUS_FALSE='#' else BUILD_DBUS_TRUE='#' BUILD_DBUS_FALSE= fi if test x$enable_dbus = xyes; then PKG_CHECK_MODULES(DBUS, dbus-1) fi I read about using PKG_CHECK_MODULES in /usr/share/doc...pkg-config-guide.html all it said is it was part of automake or pkgconfig, but not how to get to it, and that's all I can figure--it's not defined outside autoconfig. Do I have to rerun autoconfig? Is it an incompatibility between foomatic and the versions we install in LFS? Probably a good thing to have dbus support when dealing with printers.
PKG_CHECK_MODULES macro is provided in a .m4 file installed by pkg-config (pkg.m4 I think) and should be available in /usr/share/aclocal.
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
