[CLAM] Re: Building NetworkEditor on Gentoo

Anders Dahnielson anders at dahnielson.com
Sun Nov 9 13:55:35 PST 2008

On Sun, Nov 9, 2008 at 21:52, Anders Dahnielson <anders at dahnielson.com>wrote:

> I'm trying to build the NetworkEditor on Gentoo with SCons v1.0.0.r3266.
> But I'm getting this error:
> scons: Reading SConscript files ...
> EnvironmentError: No module named qt4:
>   File "/home/anders/builds/NetworkEditor-1.3.0/SConstruct", line 44:
>     env.Tool('qt4', toolpath=[clam_sconstoolspath])
>   File "//usr/lib64/scons-1.0.0/SCons/Environment.py", line 1582:
>     tool = apply(SCons.Tool.Tool, (tool, toolpath), kw)
>   File "//usr/lib64/scons-1.0.0/SCons/Tool/__init__.py", line 89:
>     module = self._tool_module()
>   File "//usr/lib64/scons-1.0.0/SCons/Tool/__init__.py", line 140:
>     raise SCons.Errors.EnvironmentError, e

BTW, the above is from building manually.

If I try to emerge the NetworkEditor I get the instead:

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:
line 91:
  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))

I do have Qt Designer 4.3.3 installed but I can't find any QtDesigner.pc on
my system!

Anders Dahnielson
<anders at dahnielson.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20081109/856c8bfd/attachment.html>

More information about the clam-users mailing list