Arnold Krille wrote:
2007/2/6, Thomas Kuther
<gimpel(a)sonnenkinder.org>rg>:
On Di, 06.02.07 00:01 Thomas Kuther
<gimpel(a)sonnenkinder.org> wrote:
> Hmm, fails here with:
> QTDIR=/usr \
> QLIBS=/usr/lib/qt4 \
> scons configure
Has to be 'QTDIR=/usr scons configure qtlibs=/usr/lib/qt4'.
Arnold
hi arnold,
i just found out, that on my system in /usr/bin there are some symlinks
showing to qt3.
that were: lrelease lupdate moc qmake uic.
they all have been showing to qt3, so i changed them now to show to qt4.
obviously i donĀ“t have to run scons configure, cause i have the path
declared in my .bash_profile, at least the error is the same if i run
scons-configure or not.
nowhiskey@murija2:~/software/nove/j_mix/jackmix-0.2$ scons
scons: Reading SConscript files ...
Checking for uic: uic was found as /usr/share/qt4/bin/uic
Checking for UIC version : fine - Qt User
Interface Compiler version 4.2.1
Checking for moc: moc was found as /usr/share/qt4/bin/moc
Checking for rcc: rcc was found as /usr/share/qt4/bin/rcc
Checking for the qt includes : ok /usr/share/qt4/include
Checking for jack...yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o backend/jack_backend.o -c -I/usr/share/qt4/include -Wall -fpic
-O2 -DNDEBUG -DNO_DEBUG -Ibackend -I. -Ibackend backend/jack_backend.cpp
ar rc backend/libjackmix_backend.a backend/jack_backend.o
ranlib backend/libjackmix_backend.a
g++ -o jackmix/main.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ijackmix -Ilibgui -Ilibelements -Ilibcore
-Ilibmatrix -Ibackend jackmix/main.cpp
/usr/share/qt4/bin/moc -o jackmix/mainwindow.moc jackmix/mainwindow.h
g++ -o jackmix/mainwindow.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ijackmix -Ilibgui -Ilibelements -Ilibcore
-Ilibmatrix -Ibackend jackmix/mainwindow.cpp
/usr/share/qt4/bin/moc -o libmatrix/mixingmatrix.moc
libmatrix/mixingmatrix.h
g++ -o libmatrix/mixingmatrix.o -c -I/usr/share/qt4/include -Wall -fpic
-O2 -DNDEBUG -DNO_DEBUG -Ilibmatrix -I. -Ilibmatrix -Ibackend -Ilibgui
libmatrix/mixingmatrix.cpp
ar rc libmatrix/libjackmix_mixingmatrix.a libmatrix/mixingmatrix.o
ranlib libmatrix/libjackmix_mixingmatrix.a
/usr/share/qt4/bin/moc -o libelements/stereo_elements.moc
libelements/stereo_elements.h
g++ -o libelements/stereo_elements.o -c -I/usr/share/qt4/include -Wall
-fpic -O2 -DNDEBUG -DNO_DEBUG -Ilibelements -I. -Ilibelements
-Ilibmatrix -Ilibgui -Ibackend libelements/stereo_elements.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
/usr/share/qt4/bin/moc -o libelements/aux_elements.moc
libelements/aux_elements.h
g++ -o libelements/aux_elements.o -c -I/usr/share/qt4/include -Wall
-fpic -O2 -DNDEBUG -DNO_DEBUG -Ilibelements -I. -Ilibelements
-Ilibmatrix -Ilibgui -Ibackend libelements/aux_elements.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
ar rc libelements/libjackmix_mixingelements.a
libelements/stereo_elements.o libelements/aux_elements.o
ranlib libelements/libjackmix_mixingelements.a
/usr/share/qt4/bin/moc -o libgui/channelselector.moc
libgui/channelselector.h
g++ -o libgui/channelselector.o -c -I/usr/share/qt4/include -Wall -fpic
-O2 -DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/channelselector.cpp
/usr/share/qt4/bin/moc -o libgui/slider.moc libgui/slider.h
g++ -o libgui/slider.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/slider.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
/usr/share/qt4/bin/moc -o libgui/qfloatcontrol.moc libgui/qfloatcontrol.h
g++ -o libgui/qfloatcontrol.o -c -I/usr/share/qt4/include -Wall -fpic
-O2 -DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/qfloatcontrol.cpp
/usr/share/qt4/bin/moc -o libgui/qfloatslider.moc libgui/qfloatslider.h
g++ -o libgui/qfloatslider.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/qfloatslider.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
/usr/share/qt4/bin/moc -o libgui/qfloatpoti.moc libgui/qfloatpoti.h
g++ -o libgui/qfloatpoti.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/qfloatpoti.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
/usr/share/qt4/bin/moc -o libgui/qtickmarks.moc libgui/qtickmarks.h
g++ -o libgui/qtickmarks.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/qtickmarks.cpp
/usr/share/qt4/bin/moc -o libgui/volumeslider.moc libgui/volumeslider.h
g++ -o libgui/volumeslider.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/volumeslider.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
/usr/share/qt4/bin/moc -o libgui/stereovolumeslider.moc
libgui/stereovolumeslider.h
g++ -o libgui/stereovolumeslider.o -c -I/usr/share/qt4/include -Wall
-fpic -O2 -DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui
libgui/stereovolumeslider.cpp
libgui/float_base.h:26: warning: 'class FloatElement' has virtual
functions but non-virtual destructor
/usr/share/qt4/bin/moc -o libgui/qsynthKnob.moc libgui/qsynthKnob.h
g++ -o libgui/qsynthKnob.o -c -I/usr/share/qt4/include -Wall -fpic -O2
-DNDEBUG -DNO_DEBUG -Ilibgui -I. -Ilibgui libgui/qsynthKnob.cpp
ar rc libgui/libjackmix_gui.a libgui/channelselector.o libgui/slider.o
libgui/qfloatcontrol.o libgui/qfloatslider.o libgui/qfloatpoti.o
libgui/qtickmarks.o libgui/volumeslider.o libgui/stereovolumeslider.o
libgui/qsynthKnob.o
ranlib libgui/libjackmix_gui.a
g++ -o jackmix/jackmix jackmix/main.o jackmix/mainwindow.o -Llibgui
-Llibelements -Llibcore -Llibmatrix -Lbackend -L/usr/share/qt4/lib
-ljackmix_mixingmatrix -ljackmix_mixingelements -ljackmix_gui
-ljackmix_backend -lQtCore -lQtGui -lQtXml -lQt3Support
-l-L/usr/local/lib -ljack
/usr/bin/ld: cannot find -l-L/usr/local/lib
collect2: ld returned 1 exit status
scons: *** [jackmix/jackmix] Error 1
scons: building terminated because of errors.
nowhiskey@murija2:~/software/nove/j_mix/jackmix-0.2$
..............
perhaps the symlink-thing brings you to another idea, what could be
wrong here?
cheers,
doc