[Clam-devel] Problem after upgrading MacOSX

Han, Yushen yushen.han at gmail.com
Fri Aug 1 18:41:59 PDT 2008


Hi, Francisco

I remember that I encountered a similar problem with specifying QTDIR
in my OS X 10.5.x.
I only vaguely remember that you can set QTDIR by "export QTDIR=..."
You can check those environment variables  by "env".
Eventually it should be able to find it but I don't remember how exactly...

Best regards,
Han, Yushen


On Fri, Aug 1, 2008 at 12:19 PM, Francisco Tufró <nictuku at gmail.com> wrote:
> I did, but it was the wrong path.
> Sorry for the noise.
>
> Another problem:
> nictukus-imac:NetworkEditor nictuku$ scons
> scons: Reading SConscript files ...
>
> scons: warning: QTDIR variable is not defined, using moc executable as a
> hint (QTDIR=/opt/local)
> File "/Users/nictuku/clam/trunk-oficial/share/clam/sconstools/qt4.py", line
> 207, in _detect
> Loading nsis tool...
> Loading Bundle tool
> Lodading dmg tool...
> Version:  1.2.1
> Package version:  1.2.1~svn11781
> scons: done reading SConscript files.
> scons: Building targets ...
> == Compiling src/main.cxx
> src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory
> src/main.cxx:23:30: error: QtCore/QTranslator: No such file or directory
> src/main.cxx:24:26: error: QtCore/QLocale: No such file or directory
>
> But the files are there.
> The only thing i see is that they're on /opt/local/include/qt4-mac/ not
> directly on /opt/local/include.
>
> On Fri, Aug 1, 2008 at 1:01 PM, Francisco Tufró <nictuku at gmail.com> wrote:
>>
>> I did, but it was the wrong path.
>> Sorry for the noise.
>>
>> On Fri, Aug 1, 2008 at 12:47 PM, David García Garzón <dgarcia at iua.upf.edu>
>> wrote:
>>>
>>> Yes, it seems that you didn't installed clam (scons install) or you
>>> didn't
>>> provide the clam_prefix option you must provide at least the first time
>>> you
>>> compile a sandbox.
>>>
>>>
>>> El Friday 01 August 2008 17:37:21 Francisco Tufró va escriure:
>>> > Hi, i'm having a problem compiling NE after reinstalling my imac.
>>> > Now i'm using leopard.
>>> >
>>> > nictukus-imac:NetworkEditor nictuku$ scons
>>> > scons: Reading SConscript files ...
>>> > EnvironmentError: No module named qt4:
>>> >   File
>>> >
>>> > "/Users/nictuku/Documents/programacion/clam/trunk-oficial/NetworkEditor/SCo
>>> >nstruct", line 44:
>>> >     env.Tool('qt4', toolpath=[clam_sconstoolspath])
>>> >   File "/opt/local/lib/scons-0.98.4/SCons/Environment.py", line 1582:
>>> >     tool = apply(SCons.Tool.Tool, (tool, toolpath), kw)
>>> >   File "/opt/local/lib/scons-0.98.4/SCons/Tool/__init__.py", line 89:
>>> >     module = self._tool_module()
>>> >   File "/opt/local/lib/scons-0.98.4/SCons/Tool/__init__.py", line 140:
>>> >     raise SCons.Errors.EnvironmentError, e
>>> >
>>> > maybe i miss some step on the clam installation, but don't know what...
>>> > any idea?
>>>
>>>
>>
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>
>




More information about the clam-devel mailing list