trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] avahi-tqt - any progress?

From: Darrell Anderson <humanreadable@...>
Date: Fri, 9 Mar 2012 19:34:59 -0800 (PST)
>   In my rebuild tonight, I forgot to removed avahi-tqt
> from the build array, so
> my build script attempted to build it. It still fails. Any
> progress on figuring
> the following out:
> 
> ==> 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

Same failure.

Configure seems okay but make stumbles with creating qt-watch.moc3.

"moc: Too many input files specified" seems to be one of those error message that nobody on the planet helps with. Lots of people asking, nobody explaining. Of course, all of these non-answers are replicated a couple hundred times all over the web. Google is a POS the past couple of years.

/usr/bin/moc-tqt, /usr/bin/tmoc, /opt/trinity/bin/moc, /usr/bin/tqt-replace-stream, /usr/bin/tqt-replace all exist.

I'm building like this:

CFLAGS="$CPUOPT" \
CXXFLAGS=$CPUOPT \
./autogen.sh \
  --prefix=${PREFIX} \
  --sysconfdir=${SYSCONFDIR} \
  --libdir=${LIBDIR} \
  --mandir=${MANDIR} \
  --enable-compat-libdns_sd || exit 1


Maybe this only builds on ooboontoo.

Darrell