[CLAM] Building NetworkEditor on Gentoo

David García Garzón dgarcia at iua.upf.edu
Sun Nov 9 15:01:54 PST 2008


On Diumenge 09 Novembre 2008, Anders Dahnielson wrote:
> On Sun, Nov 9, 2008 at 23:02, David García Garzón 
<dgarcia at iua.upf.edu>wrote:
> > Such qt4.py file is installed with the clam library. Frequent causes for
> > this
> > error are either not having a properly installed CLAM or not providing
> > the proper clam_prefix option when calling scons for the NetworkEditor.
> >
> > Could some of those reasons apply to your case?
>
> I emerged CLAM from the Pro-Audio Overlay but forgot to set the clam_prefix
> to /usr instead of /usr/local. D'oh!
>
> Now I'm getting this when building manually:
>
> scons: Reading SConscript files ...
> Loading nsis tool...
> Lodading dmg tool...
> Version:  1.3.0
> Package version:  1.3.0
> Package QtDesigner was not found in the pkg-config search path.
> Perhaps you should add the directory containing `QtDesigner.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'QtDesigner' found
> OSError: 'pkg-config QtCore QtGui QtOpenGL QtXml QtSvg QtUiTools QtDesigner
> --libs --cflags' exited 1:
>   File "/home/anders/builds/NetworkEditor-1.3.0/SConstruct", line 91:
>     crosscompiling=crosscompiling,
>   File "//usr/lib64/scons-1.0.0/SCons/Environment.py", line 183:
>     return apply(self.method, nargs, kwargs)
>   File "/usr/share/clam/sconstools/qt4.py", line 464:
>     self.ParseConfig('pkg-config %s --libs --cflags'% ' '.join(pcmodules))
>   File "//usr/lib64/scons-1.0.0/SCons/Environment.py", line 1371:
>     return function(self, self.backtick(command))
>   File "//usr/lib64/scons-1.0.0/SCons/Environment.py", line 549:
>     raise OSError("'%s' exited %d" % (command, status))

NetworkEditor requires Qt 4.4. Compiling it with 4.3 could be feasible but it 
is not that straight forward. Qt4.3 missed the pc file for QtDesigner module 
but also and CLAM uses some 4.4 features that should be backported to 4.3.

I would look on how to upgrade to Qt 4.4 in gentoo.


-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia





More information about the clam-users mailing list