I'm using Crux 2.3 and cannot get the hp-toolbox to come up so I can configure my scanner. One site I found said that kdebindings was necessary for it to work properly, so I've set to to build it. Here's where I run into trouble:
Code:
/usr/share/qt/bin/moc ./dcop_imp.h -o dcop_imp.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I./../.. -I/usr/share/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -Wno-unused -MT dcop_imp.lo -MD -MP -MF ".deps/dcop_imp.Tpo" -c -o dcop_imp.lo dcop_imp.cpp; \
        then mv -f ".deps/dcop_imp.Tpo" ".deps/dcop_imp.Plo"; else rm -f ".deps/dcop_imp.Tpo"; exit 1; fi
In file included from dcop_imp.cpp:29:
dcop_imp.moc:12:2: error: #error "The header file 'dcop_imp.h' doesn't include <QObject>."
dcop_imp.moc:40: error: 'const QMetaObject KJSEmbed::Bindings::JSDCOPInterface::staticMetaObject' is not a static member of 'class KJSEmbed::Bindings::JSDCOPInterface'
dcop_imp.moc:40: error: variable 'const QMetaObject KJSEmbed::Bindings::JSDCOPInterface::staticMetaObject' has initializer but incomplete type
dcop_imp.moc:45: error: prototype for 'const QMetaObject* KJSEmbed::Bindings::JSDCOPInterface::metaObject() const' does not match any in class 'KJSEmbed::Bindings::JSDCOPInterface'
dcop_imp.h:55: error: candidate is: virtual QMetaObject* KJSEmbed::Bindings::JSDCOPInterface::metaObject() const
dcop_imp.moc:45: error: 'const QMetaObject* KJSEmbed::Bindings::JSDCOPInterface::metaObject() const' cannot be overloaded
dcop_imp.h:55: error: with 'virtual QMetaObject* KJSEmbed::Bindings::JSDCOPInterface::metaObject() const'
dcop_imp.moc: In member function 'const QMetaObject* KJSEmbed::Bindings::JSDCOPInterface::metaObject() const':
dcop_imp.moc:47: error: cannot convert 'QMetaObject* (*)()' to 'const QMetaObject*' in return
dcop_imp.moc: At global scope:
dcop_imp.moc:50: error: no 'void* KJSEmbed::Bindings::JSDCOPInterface::qt_metacast(const char*)' member function declared in class 'KJSEmbed::Bindings::JSDCOPInterface'
dcop_imp.moc: In member function 'void* KJSEmbed::Bindings::JSDCOPInterface::qt_metacast(const char*)':
dcop_imp.moc:57: error: 'qt_metacast' is not a member of 'KJSEmbed::Bindings::BindingObject'
dcop_imp.moc: At global scope:
dcop_imp.moc:60: error: 'int KJSEmbed::Bindings::JSDCOPInterface::qt_metacall' is not a static member of 'class KJSEmbed::Bindings::JSDCOPInterface'
dcop_imp.moc:60: error: incomplete type 'QMetaObject' used in nested name specifier
dcop_imp.moc:60: error: expected primary-expression before 'int'
dcop_imp.moc:60: error: expected primary-expression before 'void'
dcop_imp.moc:60: error: initializer expression list treated as compound expression
dcop_imp.moc:61: error: expected ',' or ';' before '{' token
make[3]: *** [dcop_imp.lo] Error 1
make[3]: Leaving directory `/usr/ports/kde/kdebindings/work/src/kdebindings-3.5.7/kjsembed/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/ports/kde/kdebindings/work/src/kdebindings-3.5.7/kjsembed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/ports/kde/kdebindings/work/src/kdebindings-3.5.7'
make: *** [all] Error 2
=======> ERROR: Building '/usr/ports/kde/kdebindings/kdebindings#3.5.7-1.pkg.tar.gz' failed.
prt-get: error while install

-- Packages where install failed
kdebindings
I've found almost nothing while Googling for an answer. Any insights, thoughts or solutions appreciated.