[CLAM] Clam-NetworkEditor compilation problems (ArchLinux)

David García Garzón dgarcia at iua.upf.edu
Mon Mar 30 01:16:55 PDT 2009

A Diumenge 29 Març 2009 10:05:41, Maciej Ciemborowicz va escriure:
> > There should not be any QTDIR problem as long as Qt is installed with the
> > proper .pc files in /usr/lib/pkg-config or whatever place pkg-config
> > program expect them. You can try that by doing "pkg-config --list-all |
> > grep Qt". If that lists a bunch of Qt libraries, just undefine QTDIR and
> > let pkg-config do its magic.
> QTDIR=/usr is essential, becouse pkg-config is pointing at qt3 which is
> in /opt.

> > If no pkg-config file is provided, i guess that the proper QTDIR is the
> > one you are issuing but the QTINC, if it has some effect, should point to
> > /usr/include without the Qt/ part.
> I changed QTINC. No results. It is strange, becouse directories are
> looking fine. Here is list of all qt(4) files:
> http://wierzba.wzks.uj.edu.pl/~ciembor/qt

If QtCore.pc, QtGui.pc, QtOpenGL.pc... point to /opt, it is a bug and i 
suggest you to report it to your distribution packager. So, could you send us 
the content of /usr/lib/pkgconfig/QtCore.pc
and the output of:
$ pkg-config --cflags --libs QtOpenGL

Maybe we could fix it by hand.

On the other hand, having QTDIR defined just makes CLAM's SCons scripts ignore 
pkg-config and suposing a very weird setup that is not ArchLinux's one. To 
undefine QTDIR:
$ export -n QTDIR
Try compiling CLAM after that.

David García Garzón
(Work) dgarcia at iua dot upf anotherdot es

More information about the clam-users mailing list