Dragan Noveski wrote:
Arnold Krille wrote:
2007/2/6, Dragan Noveski <perodog@xxxxxxx>:
Arnold Krille wrote:
> Maybe you can edit jackmix/SConstruct and replace the
env['jack_LIBS']
> with "-ljack"?
hmm, it gives an very fast error:
nowhiskey@murija2:~/software/nove/j_mix/jackmix-0.2$ scons
scons: Reading SConscript files ...
Checking for jack...yes
Checking for liblo...yes
KeyError: 'ljack':
File "SConstruct", line 53:
env.subdirs(['libcore','libgui','backend','libmatrix','libelements','jackmix'])
File "./admin/generic.py", line 619:
lenv.SConscript(lenv.join(i, 'SConscript'))
File "/usr/lib/python2.3/site-packages/SCons/Script/SConscript.py",
line 494:
return apply(_SConscript, [self.fs,] + files, {'exports' :
exports})
File "/usr/lib/python2.3/site-packages/SCons/Script/SConscript.py",
line 226:
exec _file_ in call_stack[-1].globals
File "jackmix/SConscript", line 15:
myenv.libs='jackmix_mixingmatrix jackmix_mixingelements jackmix_gui
jackmix_backend QtCore' + env['DEBUG'] + ' QtGui' + env['DEBUG'] + '
QtXml' + env['DEBUG'] + ' Qt3Support ' + env['ljack']
File "/usr/lib/python2.3/site-packages/SCons/Environment.py", line
295:
return self._dict[key]
nowhiskey@murija2:~/software/nove/j_mix/jackmix-0.2$
Please replace the full "env['jack_LIBS']" with "-ljack"!
env['ljack'] is definitly wrong and not what I meant.
Arnold
sorry, i did not get it, so the line looks now:
myenv.libs='jackmix_mixingmatrix jackmix_mixingelements jackmix_gui
jackmix_backend QtCore' + env['DEBUG'] + ' QtGui' + env['DEBUG'] + '
QtXml' + env['DEBUG'] + ' Qt3Support ' + 'ljack'
but:
nowhiskey@murija2:~/software/nove/j_mix/jackmix-0.2$ scons
scons: Reading SConscript files ...
Checking for jack...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
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 -lljack
/usr/bin/ld: cannot find -lljack
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$
or after running scons -c, than scons:
nowhiskey@murija2:~/software/nove/j_mix/jackmix-0.2$ scons
scons: Reading SConscript files ...
Checking for jack...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
Retrieved `backend/jack_backend.o' from cache
Retrieved `backend/libjackmix_backend.a' from cache
Retrieved `jackmix/main.o' from cache
Retrieved `jackmix/mainwindow.moc' from cache
Retrieved `jackmix/mainwindow.o' from cache
Retrieved `libmatrix/mixingmatrix.moc' from cache
Retrieved `libmatrix/mixingmatrix.o' from cache
Retrieved `libmatrix/libjackmix_mixingmatrix.a' from cache
Retrieved `libelements/stereo_elements.moc' from cache
Retrieved `libelements/stereo_elements.o' from cache
Retrieved `libelements/aux_elements.moc' from cache
Retrieved `libelements/aux_elements.o' from cache
Retrieved `libelements/libjackmix_mixingelements.a' from cache
Retrieved `libgui/channelselector.moc' from cache
Retrieved `libgui/channelselector.o' from cache
Retrieved `libgui/slider.moc' from cache
Retrieved `libgui/slider.o' from cache
Retrieved `libgui/qfloatcontrol.moc' from cache
Retrieved `libgui/qfloatcontrol.o' from cache
Retrieved `libgui/qfloatslider.moc' from cache
Retrieved `libgui/qfloatslider.o' from cache
Retrieved `libgui/qfloatpoti.moc' from cache
Retrieved `libgui/qfloatpoti.o' from cache
Retrieved `libgui/qtickmarks.moc' from cache
Retrieved `libgui/qtickmarks.o' from cache
Retrieved `libgui/volumeslider.moc' from cache
Retrieved `libgui/volumeslider.o' from cache
Retrieved `libgui/stereovolumeslider.moc' from cache
Retrieved `libgui/stereovolumeslider.o' from cache
Retrieved `libgui/qsynthKnob.moc' from cache
Retrieved `libgui/qsynthKnob.o' from cache
Retrieved `libgui/libjackmix_gui.a' from cache
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 -lljack
/usr/bin/ld: cannot find -lljack
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$
strange?
cheers,
doc