On 03/03/2012 07:29 PM, David C. Rankin wrote:
Tim,
Working my way through the packages based on Tqt3, I've run into a build issue
with avahi-tqt. I've gone back through Jay and Darrell's messages on the list,
so I know there were problems with the packages -- but is it still broke or is
it on my end??
The config.log error I get is:
configure:19151: $PKG_CONFIG --exists --print-errors " tqt-mt "
Package tqt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `tqt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tqt-mt' found
I don't understand the error, I have:
/opt/tqt3/lib/pkgconfig/tqt-mt.pc
which should be found given the /etc/profile/tqt.sh setting $QTDIR. Any quick
hacks to get around this one?
Fixed the tqt-mt.pc path location issue with an export of PKG_CONFIG_PATH and
the configure goes fine:
## adjust pkgconfig path
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/tqt3/lib/pkgconfig"
msg "Starting configure..."
./autogen.sh --prefix=${TDEDIR} \
--sysconfdir=/etc \
--localstatedir=/var/run
However, now the make fails:
==> Building - tde-avahi-tqt...
make all-recursive
make[1]: Entering directory `/build/src/avahi-tqt'
Making all in avahi-tqt
make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt'
GEN qt-watch.moc3
TQt meta object compiler
moc: Too many input files specified
Usage: moc [options] <header-file>
-o file Write output to file rather than stdout
-f[file] Force #include, optional file name
-p path Path prefix for included file
-i Do not generate an #include statement
-k Do not stop on errors
-nw Do not display warnings
-v Display version of moc
make[2]: *** [qt-watch.moc3] Error 1
make[2]: Leaving directory `/build/src/avahi-tqt/avahi-tqt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/avahi-tqt'
make: *** [all] Error 2
This is the same issue that Jay and Darrell were seeing. 'find opt -name
qt-watch.moc3' turns up nothing :( Tim - any black magic yet??
--
David C. Rankin, J.D.,P.E.