Al 01/04/13 16:38, En/na Dominique Michel ha escrit:
> After a recent change to the svn code, I was not able to get the
> NetworkEditor to configure any more.
>
> First, it was not able to find shiboken.pc. That's normal because on
> gentoo, shiboken will install several .pc files, one for each
> supported python version. In my system they are shiboken-python-2.7
> and shiboken-python-3.2

Well if the point of doing pkg-config is to remove platform specifics,
they did it (pun). I would report that shiboken.pc should point to the
default python version for Gentoo.


> The following patching to SConstruct solved it:
>
> sed -i -e 's/shiboken/shiboken-python2.7/' SConstruct
>
>
> During compiling, I get this:
>
> == Linking library libclam_qtmonitors.so.1.4.1
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -lboost_python
>
> This is the same problematic. My fix is:
>
> sed -i -e 's/boost_python/boost_python-2.7/' SConstruct

It seems to be a quite a platform dependant issue so, please either:
- report Gentoo to include a versionless shiboken and boost pc files
- report Gentoo CLAM ebuild maintainer to apply such patches


> Another issue is that scons complain about QTDIR and QCore.pc not found.

It always complaints (as a warning) on QTDIR which is already used in
some environments. Not finding QtCore.pc is more critical. Could you
paste the literal message? It usually helps.


> If I remember well, they are relics from QT
> It is a long time ago gentoo dropped QT3, and now it is not even
> possible to install it any more from an overlay, because the qtlib v3
> fail to compile.
>
> Do you have any plan tu update the QT3 parts of CLAM to QT4?
>
>
> Best,
> Dominique
>
SMSTools is the only important piece that still depends on QT3. It is
not really required to get the most of CLAM. Several naive Qt4 ports
have been tried but the resulting binary is quite unstable so we kept it
in local. Indeed i guess that Qt3 based SMSTools could have the same
unstability but, well, it is clear that needs more work. If anyone is
interested on doing the port i could commit the partial port in a
SMSTools-Qt4 folder or you can start from scratch. Interested?

David.


_______________________________________________
clam-devel mailing list
clam-devel@lists.clam-project.org
http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org

Reply via email to