[Clam-devel] Compiling Network Editor in MacOSX

David García Garzón dgarcia at iua.upf.edu
Wed Sep 12 06:15:52 PDT 2007


On Tuesday 11 September 2007 21:39:20 Francisco Tufró wrote:
> That's the problem, i tryed every single directory on my hd that had
> references to QT and didn't worked.

QTDIR should be the directory where 'includes', 'lib', 'mkspecs' and 'bin' 
directories for qt live.

Type:
locate 'mkspecs'

> I think maybe has something to do with the QT compiled as Framework,
> could be that?

No. It should be compiled as a framework.

> Or maybe the default qt installation from dmg doesn't installs the
> required files, only the library!

It works for us. Which dmg are you installing?

> (when i compiled qt myself it installed that directory)

I don't recommend to recompile qt. It takes so long and the standard packages 
on the web should work out the box.


> On 9/11/07, David García Garzón <dgarcia at iua.upf.edu> wrote:
> > Well, just take a look were qt is actually installed and define QTDIR
> > pointing there.
> >
> > If QTDIR must be different, please warn us.
> >
> > On Tuesday 11 September 2007 17:26:01 Francisco Tufró wrote:
> > > You put "Qt is installed in /usr/local/Trolltech//Qt-4.3.1 so you
> > > should define QTDIR accordantly"
> > > But that, at least in my case, is not true. That directory doesn't
> > > exists
> > >
> > > :(
> > >
> > > On 9/10/07, David García Garzón <dgarcia at iua.upf.edu> wrote:
> > > > Ok, the wiki didn't say nothing about QTDIR. I just added a line on
> > > > that on the precompiled package.
> > > >
> > > > On Monday 10 September 2007 16:01:15 Francisco Tufró wrote:
> > > > > Hello, my name is Francisco Tufró, from Argentina.
> > > > > I'm interested in music production and audio, so i decided (with
> > > > > Hernán Ordiales' recomendation) to learn about clam and start
> > > > > developing with it.
> > > > >
> > > > > When installing clam on MacOSX, i followed the instructions at the
> > > > > wiki and had no problem.
> > > > > Late when i tryed to install Network Editor the scons process throw
> > > > > this error:
> > > > >
> > > > > moc -I/Library/Qt/include -o
> > > > > src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx
> > > > > src/clamWidgetsPlugin/KeySpacePlugin.hxx
> > > > > src/clamWidgetsPlugin/KeySpacePlugin.hxx:33: Error: Undefined
> > > > > interface scons: ***
> > > > > [src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx] Error 1
> > > > > scons: building terminated because of errors.
> > > > >
> > > > > I know the problem was related to qt, so i tried to find de default
> > > > > QTDIR with no success, tryed every single directory in the disk
> > > > > that contained something about qt.
> > > > > Is this a common issue with CLAM and MacOSX with QT's default
> > > > > installation?.
> > > > >
> > > > > To solve the problem i downloaded the qt sources and compiled it
> > > > > with -no-framework and the same prefix as clam (inside my home
> > > > > directory), then recompiled NetworkEditor with the righ QTDIR and
> > > > > everything was ok.
> > > > >
> > > > > If the problem is that i miss the location of the default QTDIR
> > > > > (the one from the dmg compiled as framework), it would be usefull
> > > > > to put it somewhere in the wiki, i couldn't find it, neither clam's
> > > > > wiki nor google, so i decided to compile qt myself as to be sure of
> > > > > a working location.
> > > > >
> > > > > Hope this could help.
> > > > >
> > > > > :)
> > > > >
> > > > > _______________________________________________
> > > > > Clam-devel mailing list
> > > > > Clam-devel at llistes.projectes.lafarga.org
> > > > > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam
> > > > >-dev el
> >
> > _______________________________________________
> > 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






More information about the clam-devel mailing list