[Clam-devel] Re: clam 0.98 src and suse packages
David García Garzón
dgarcia at iua.upf.edu
Thu Feb 22 18:46:59 PST 2007
Ups... Sorry for not warning you about that. It seems that you don't have the
latests changes (svn 9740) we did yesterday on NetworkEditor/SConstruct.
Update your working copy and hopefully it will work (or i hope so...).
Those changes makes moc use the $QTDIR/include when available
and /usr/include/qt4 when not (Debian based). Before the changes, it
used /usr/include/qt4 for any linux.
After all the only -I that we needed is /usr/include which is not on the moc
command line but it is the first one on the g++ commandline.
The commit also removed a useless dependency on cppunit as suggested by Toni.
On Dijous 22 Febrer 2007, Fernando Lopez-Lezcano wrote:
> On Thu, 2007-02-22 at 13:54 -0800, Fernando Lopez-Lezcano wrote:
> > On Thu, 2007-02-22 at 21:51 +0100, David García Garzón wrote:
> > > On Thursday 22 February 2007 19:02:38 Fernando Lopez-Lezcano wrote:
> > > > On Thu, 2007-02-22 at 18:54 +0100, David García Garzón wrote:
> > > > > We did a commit for the NetworkEditor to use the QTDIR when
> > > > > available. In FedoraCore you should define QTDIR=/usr
> > > >
> > > > Do you also use QTINC? Because that seems to be part of the problem
> > > > in this case (ie: includes are in /usr/include/Qt, not
> > > > /usr/qt4/include)
> > >
> > > No. We tested it today in a FC6 and it works just by defining
> > > QTDIR=/usr. Yes, at last we have a FC to test on!
>
> Good!
>
> > > Don't get messed with /usr/include/Qt. It is like /usr/include/QtCore.
> > > I mean, in debian the same dir is at /usr/include/qt4/Qt. You don't
> > > have to specify it anywhere.
> > >
> > > In summary: Annotator and NetworkEditor need QTDIR=/usr but CLAM and
> > > SMSTools need QTDIR=/usr/lib/qt3.3 and that should be all.
>
> Should, but apparently is not :-(
> I must be missing something trivial (this is for version 0.4.4, just in
> case). I'm including the output of the build process just in case
> somebody spots the problem.
> The scons invocation is:
>
> scons install install_prefix=/var/tmp/scons-build/usr clam_prefix=/usr
>
> and I am exporting QTDIR=/usr
> It fails here:
>
> /usr/bin/moc-qt4 -I/usr/include/qt4 -o ...
>
> /usr/include/qt4 does not exist.
>
> If I add more '-I" statements to this last invocation (borrowed from the
> previous invocation of gcc) I can make it eventually link without
> errors...
--
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070223/1eb0fbf9/attachment-0001.sig>
More information about the clam-devel
mailing list