hi david/clam list,

so, i'm trying to install this again, the binary downloads and opens ok. it seems the binary is ok although i haven't tried to do anything with it yet. but i still get the same errors when trying to compile the source. i downloaded and installed a fresh clam source which installed and compiled without error, but when i try and install the network editor from source i still get the same errors.

my platform is os x intel macbook pro tiger 10.4.11

on the scons install output it looks to include files in the $QTDIR/ include/qt4/.... directory, but there is no directory in $QTDIR/ include named qt4....

juan-vesas-computer:~ plantiginate$ ls $QTDIR/include
Qt              QtDBus          QtNetwork       QtSvg           QtXml
Qt3Support QtDesigner QtOpenGL QtTest QtXmlPatterns
QtAssistant     QtGui           QtScript        QtUiTools       phonon
QtCore          QtHelp          QtSql           QtWebKit

so i guess the qt4 is not meant to be there but i'm quite clueless when it comes to scons and the sconstruct files, where does it specify where to look for includes? does this happen to other people or do i have an unusual setup?

thanks again and regards,

l
======================
output:
juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate $ scons install prefix=/usr/local clam_prefix=/usr/local
scons: Reading SConscript files ...
Loading nsis tool...
Loading Bundle tool
Lodading dmg tool...
Version:  1.2.1
Package version:  1.2.1~svn11608
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG - DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB - DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG - DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 - DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1 -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 - DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB - I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/ Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/ QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/local/ Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/ Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/ qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/ usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/jack - Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/monitors -Isrc/ monitors/generated -Isrc/widgets -Isrc/widgets/generated -Isrc/ clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -I/usr/local/ include -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/ clamWidgetsPlugin/generated 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
In file included from src/MainWindow.hxx:1,
                 from src/main.cxx:26:
src/generated/uic_MainWindow.hxx:13:27: error: QtCore/QVariant: No such file or directory src/generated/uic_MainWindow.hxx:14:25: error: QtGui/QAction: No such file or directory src/generated/uic_MainWindow.hxx:16:30: error: QtGui/QButtonGroup: No such file or directory src/generated/uic_MainWindow.hxx:17:29: error: QtGui/QHBoxLayout: No such file or directory src/generated/uic_MainWindow.hxx:18:29: error: QtGui/QMainWindow: No such file or directo

etc...etc.......

On 11/07/2008, at 8:17 PM, David García Garzón wrote:

Your are specifiying the wrong option:

$ scons install clam+path=$CLAM_PATH
should be:
$ scons install clam_path=$CLAM_PATH

It is weird that, with such an option badly set, scons doesn't complaint about
not finding qt4.py tool.

If you get further problems, please specify your platform. It has been hard to figure out that you are on Mac. I think you have last stable version binaries available for your platform on the dowload section of the web. Have you tried
them?


On Divendres 11 Juliol 2008, Juan Vesa wrote:
Hello,
I'm trying to compile the various clam apps + source from an svn
checkout for the fisrt time. i have managed to compile the smstools
example with qt3, but i cannot get networkeditor to compile. i have
qt-4.4.0 installed via source downloaded from their website, and have
it installed and QTDIR set to:

juan-vesas-computer:~ plantiginate$ echo $QTDIR
/usr/local/Trolltech/Qt-4.4.0

and $CLAM_PATH set to /usr/local. also my evironment $PATH is set as
thus:

/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/opt/
local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/
plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/
Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/bin:/
usr/X11R6/bin

however i get the following errors (actually a whole bunch of "file
not found" errors associated with qt4). i remember once when i
compiled the example i got an error saying i needded qt-4.3.8 but was
unable to reproduce the error. can anyone please help me resolve this
compilation issue?

regards,
juan.

juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
$ scons install clam+path=$CLAM_PATH
scons: Reading SConscript files ...
Loading nsis tool...
Loading Bundle tool
Lodading dmg tool...
Version:  1.2.1
Package version:  1.2.1~svn11552
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
-DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/ local/
Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/ jack - Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample - Isrc/
prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets -
Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
generated src/main.cxx
src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory

_______________________________________________
CLAM mailing list
[email protected]
http://clam.iua.upf.edu



--
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia


_______________________________________________
CLAM mailing list
[email protected]
http://clam.iua.upf.edu

Reply via email to