[Clam-devel] Compiling Network Editor in MacOSX
David García Garzón
dgarcia at iua.upf.edu
Wed Sep 12 09:53:31 PDT 2007
Maybe this has changed on 4.3. We are using 4.2.2 in the power pc desktop and
maybe some earlier version on Pau's macbook. We'll give it a look.
On Wednesday 12 September 2007 18:18:09 Francisco Tufró wrote:
> sudo find / -iname mkspecs
> /Users/nictuku/clam/mkspecs
> /Users/nictuku/Documents/programacion/clam/trunk/qt-mac-opensource-src-4.3.
>1/mkspecs /usr/local/Qt4.3/mkspecs
>
> the first two are the ones that i compiled.
> The lastone is the one that the dmg installed, but i tried
> QTDIR=/usr/local/Qt4.3 before and it didn't work.
>
> It seems that the files required are spreaded around the disk, and not
> in that directory, see:
>
> Bluebubble-2:/usr/local/Qt4.3 nictuku$ ls
> mkspecs q3porting.xml
> Bluebubble-2:/usr/local/Qt4.3 nictuku$
>
> There is no include, no lib, no bin. :(
>
> I'm using the dmg that is linked at the clam wiki on Devel/MacOSX
>
> for me it's ok, the network editor is working since i've compiled qt,
> but if another person wants to install the network editor using the
> description in the wiki he would have problems as i had.
>
> On 9/12/07, David García Garzón <dgarcia at iua.upf.edu> wrote:
> > 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-d
> > > >evel
> > >
> > > _______________________________________________
> > > Clam-devel mailing list
> > > Clam-devel at llistes.projectes.lafarga.org
> > > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-dev
> > >el
More information about the clam-devel
mailing list