[Clam-devel] Problem after upgrading MacOSX

Francisco Tufró nictuku at gmail.com
Sat Aug 2 08:17:22 PDT 2008


The QTDIR is being guessed ok by scons.
It's just that the include files are inside the qt4-mac directory and scons
is looking for it on include path.
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.
Bye

On Fri, Aug 1, 2008 at 10:41 PM, Han, Yushen <yushen.han at gmail.com> wrote:

> 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
> >
> >
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080802/db6f1486/attachment-0004.htm>


More information about the clam-devel mailing list