Arnold Krille wrote:
2007/2/6, Dragan Noveski <perodog(a)gmx.net>et>:
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
This line above shows that scons already gets the right paths for qt4...
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 ...
<snip>
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
That is what worries me. Why are these clashed together? They seem not
to come from the qt-checks as your qt isn't in /usr/local. It seems
the check for jack produces these.
Maybe you can edit jackmix/SConstruct and replace the env['jack_LIBS']
with "-ljack"?
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?
The symlinking shouldn't be the culprit...
Arnold
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$
is python2.3 ok? python2.3 is the rest from my old demudi and is not
debian at all, but i dont want to update cause i am in the middle of
production.
cheers,
doc