Message: previous - next
Month: August 2010

Re: [trinity-devel] tqtinterface compilation problem

From: Darrell Anderson <humanreadable@...>
Date: Mon, 30 Aug 2010 18:36:53 -0700 (PDT)
--- On Mon, 8/30/10, Serghei Amelian <serghei@...> wrote:

> From: Serghei Amelian <serghei@...>
> Subject: Re: [trinity-devel] tqtinterface compilation problem
> To: trinity-devel@...
> Date: Monday, August 30, 2010, 6:12 PM
> Actually --enable-qt4 is not recognized by configure script
> at all. I tried 
> with plain "./configure", without parameters.
> > If you are compiling for Qt3, then something might be
> amiss in your build
> > setup.� Please make sure you have all Qt
> development headers installed,
> > and if you don't mind posting the full output of the
> commands you listed
> > above I may be able to shed more light on the
> problem.
> I using gentoo and I have already KDE-3 installed, so my
> QT-3 setup is fine, I 
> think.
> I attached folowing files:
> log1.txt is output of "make -f admin/Makefile.common"
> log2.txt is output of "./configure"
> log3.txt is output of "make"
> Also, I attached config.log
> I'm not sure what meaning the message "You are attempting
> to compile Trinity 
> without the Trinity Qt Interface installed.� Please
> install 
> libtqtinterface-dev and try again!"

I discovered the hard way that trying to build the Trinity packages with KDE 3.5.10 installed will cause many headaches.

I created a virtual machine without KDE installed and I built tqtinterface there. You still need qt3 installed.

Also, you need to rebuild the make files with each package. Much is changed with Trinity include files and these make files need to be rebuilt.

On my system I run the following commands in my build scripts:

cp -Rp /usr/lib/build/libtool.m4 admin/
cp -Rp /usr/lib/build/ admin/
make -f admin/Makefile.common

Locations might be different for Gentoo.

I'm attaching the build script I used to create a tqtinterface package for Slackware. Hopefully that provides some ideas of what you need in Gentoo.

I hope that helps.