<div dir="ltr">The QTDIR is being guessed ok by scons.<br>It's just that the include files are inside the qt4-mac directory and scons is looking for it on include path.<br>I could symlink the content of qt4-mac, but is a dirty solution, i would like to know if someone had exactly this problem or if we need to change the way clam includes everything on Leopard.<br>
Bye<br><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 10:41 PM, Han, Yushen <span dir="ltr"><<a href="mailto:yushen.han@gmail.com">yushen.han@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, Francisco<br>
<br>
I remember that I encountered a similar problem with specifying QTDIR<br>
in my OS X 10.5.x.<br>
I only vaguely remember that you can set QTDIR by "export QTDIR=..."<br>
You can check those environment variables  by "env".<br>
Eventually it should be able to find it but I don't remember how exactly...<br>
<br>
Best regards,<br>
Han, Yushen<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On Fri, Aug 1, 2008 at 12:19 PM, Francisco Tufró <<a href="mailto:nictuku@gmail.com">nictuku@gmail.com</a>> wrote:<br>
> I did, but it was the wrong path.<br>
> Sorry for the noise.<br>
><br>
> Another problem:<br>
> nictukus-imac:NetworkEditor nictuku$ scons<br>
> scons: Reading SConscript files ...<br>
><br>
> scons: warning: QTDIR variable is not defined, using moc executable as a<br>
> hint (QTDIR=/opt/local)<br>
> File "/Users/nictuku/clam/trunk-oficial/share/clam/sconstools/qt4.py", line<br>
> 207, in _detect<br>
> Loading nsis tool...<br>
> Loading Bundle tool<br>
> Lodading dmg tool...<br>
> Version:  1.2.1<br>
> Package version:  1.2.1~svn11781<br>
> scons: done reading SConscript files.<br>
> scons: Building targets ...<br>
> == Compiling src/main.cxx<br>
> src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory<br>
> src/main.cxx:23:30: error: QtCore/QTranslator: No such file or directory<br>
> src/main.cxx:24:26: error: QtCore/QLocale: No such file or directory<br>
><br>
> But the files are there.<br>
> The only thing i see is that they're on /opt/local/include/qt4-mac/ not<br>
> directly on /opt/local/include.<br>
><br>
> On Fri, Aug 1, 2008 at 1:01 PM, Francisco Tufró <<a href="mailto:nictuku@gmail.com">nictuku@gmail.com</a>> wrote:<br>
>><br>
>> I did, but it was the wrong path.<br>
>> Sorry for the noise.<br>
>><br>
>> On Fri, Aug 1, 2008 at 12:47 PM, David García Garzón <<a href="mailto:dgarcia@iua.upf.edu">dgarcia@iua.upf.edu</a>><br>
>> wrote:<br>
>>><br>
>>> Yes, it seems that you didn't installed clam (scons install) or you<br>
>>> didn't<br>
>>> provide the clam_prefix option you must provide at least the first time<br>
>>> you<br>
>>> compile a sandbox.<br>
>>><br>
>>><br>
>>> El Friday 01 August 2008 17:37:21 Francisco Tufró va escriure:<br>
>>> > Hi, i'm having a problem compiling NE after reinstalling my imac.<br>
>>> > Now i'm using leopard.<br>
>>> ><br>
>>> > nictukus-imac:NetworkEditor nictuku$ scons<br>
>>> > scons: Reading SConscript files ...<br>
>>> > EnvironmentError: No module named qt4:<br>
>>> >   File<br>
>>> ><br>
>>> > "/Users/nictuku/Documents/programacion/clam/trunk-oficial/NetworkEditor/SCo<br>
>>> >nstruct", line 44:<br>
>>> >     env.Tool('qt4', toolpath=[clam_sconstoolspath])<br>
>>> >   File "/opt/local/lib/scons-0.98.4/SCons/Environment.py", line 1582:<br>
>>> >     tool = apply(SCons.Tool.Tool, (tool, toolpath), kw)<br>
>>> >   File "/opt/local/lib/scons-0.98.4/SCons/Tool/__init__.py", line 89:<br>
>>> >     module = self._tool_module()<br>
>>> >   File "/opt/local/lib/scons-0.98.4/SCons/Tool/__init__.py", line 140:<br>
>>> >     raise SCons.Errors.EnvironmentError, e<br>
>>> ><br>
>>> > maybe i miss some step on the clam installation, but don't know what...<br>
>>> > any idea?<br>
>>><br>
>>><br>
>><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Clam-devel mailing list<br>
> <a href="mailto:Clam-devel@llistes.projectes.lafarga.org">Clam-devel@llistes.projectes.lafarga.org</a><br>
> <a href="https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel" target="_blank">https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Clam-devel mailing list<br>
<a href="mailto:Clam-devel@llistes.projectes.lafarga.org">Clam-devel@llistes.projectes.lafarga.org</a><br>
<a href="https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel" target="_blank">https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel</a><br>
</blockquote></div><br></div>