moc is the 'meta object compiler' that is included in the QT distribution.
It is used to compile header files that define classes that use QT signals
or slots.  In converts affected .h files to .c(pp) files that are then
compiled with the C++ compiler.  If you upgraded to QT 2.0.2 via binary
RPM, you'll need to get a "non-binary" RPM, or the source bundle that
includes moc.  The source tar ball is available at Troll Tech's web site
(www.trolltech.com).  Once you have moc, you should be able to build
LinCVS, as long as moc is in your path where make can find it.  BTW, the
current version of QT is 2.1, so you may have to go with that version.

-- Lynn

Chris Carbaugh wrote:

> Hello all,
>
> I'm trying to install LinCVS.  I have the source for QT 2.0.2 and the
> source for LinCVS 0.2.5.  I have my QTDIR enviro variable set correctly.
>
> When I go to compile CVS, I get an error about not being able to find
> the 'moc' program.
>
> The install docs for QT mention setting a variable for moc, but I don't
> know what moc is, what package it is from or anything.
>
> Also, this is my first time compiling a QT based program.  Do I need to
> compile the QT library as well, or will LinCVS be statically linked
> against QT?
>
> I'm working on RH 6.1, which had a 1.x QT version installed.  I upgraded
> to 2.0.2 via RPM, so the library is available if LinCVS is linked
> dynamically (which I would assume)
>
> I just can't get it to compile.
>
> Any body have experience with this?
>
> Thanks,
>
> Chris

--
---------------------------------------------------------------------
 __
/ /\/  Lynn Clark                     Direct Dial: 303-544-5447
\ \    Staff Software Engineer        Fax: 303-442-0198
/ /    Software Integration           Email: [EMAIL PROTECTED]
\_\/\  Xilinx Boulder                 http://www.indra.com/~lclark
---------------------------------------------------------------------
"The big computer industry battle of the future will be waged between
Linux and Windows NT."
 -- Rob Pike, researcher at Lucent Technologies' Bell Labs unit

"There appear to be few if any technical reasons to move from UNIX to
Windows NT. The performance of Linux exceeds that of NT 4.0 and Linux
appears to be more reliable."
 -- David Korn, AT&T, author of ksh

"Those who fail to understand Unix are destined to reimplement it,
poorly." -- Henry Spencer



Reply via email to