Hi all
I'm having trouble compiling both qtella-0.4.2 and qtella-0.5.1. I'm not very experienced with compiling c++, so this might not be a problem with the qtella code, but rather that I have not set up the environment for c++ compiling properly?
Anyway I use SUSE 7.0, KDE 2.2.2. "configure" runs just fine, and "make" too to begin with. But when it comes to linking the .o files:
c++ -g -O2 -o qtella -L/usr/lib/qt2/lib -L/opt/kde2/lib BAddApplication.o BBlockHost.o BDeleteDialog.o ... ... ... HashTable.o -lqt-mt -lkdecore -lkdeui -lkio -lkfile
I get the folowing warnings:
/usr/i486-suse-linux/bin/ld: warning: libDCOP.so.1, needed by /opt/kde2/lib/libkdecore.so, not found (try using --rpath)
/usr/i486-suse-linux/bin/ld: warning: libkdesu.so.1, needed by /opt/kde2/lib/libkio.so, not found (try using --rpath)
/usr/i486-suse-linux/bin/ld: warning: libkssl.so.2, needed by /opt/kde2/lib/libkio.so, not found (try using --rpath)
/usr/i486-suse-linux/bin/ld: warning: libksycoca.so.3, needed by /opt/kde2/lib/libkfile.so, not found (try using --rpath)
The funny thing is that I have all of these installed:
>locate libDCOP
/opt/kde2/lib/libDCOP.la
/opt/kde2/lib/libDCOP.so
/opt/kde2/lib/libDCOP.so.1
/opt/kde2/lib/libDCOP.so.1.0.0
>locate libkdesu
/opt/kde2/lib/libkdesu.la
/opt/kde2/lib/libkdesu.so
/opt/kde2/lib/libkdesu.so.1
/opt/kde2/lib/libkdesu.so.1.0.0
>locate libkssl
/opt/kde2/lib/libkssl.la
/opt/kde2/lib/libkssl.so
/opt/kde2/lib/libkssl.so.2
/opt/kde2/lib/libkssl.so.2.0.2
>locate libksycoca
/opt/kde2/lib/libksycoca.la
/opt/kde2/lib/libksycoca.so
/opt/kde2/lib/libksycoca.so.3
/opt/kde2/lib/libksycoca.so.3.0.0
and after this a whole bunch errors like these occur:
QtellaSub.o: In function `QtellaSub::launchFile(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)':
/opt/kde2/include/krun.h:278: undefined reference to `KOpenWithHandler:
OpenWithHandler'
QtellaSub.o: In function `QtellaSub::launchFile(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)':
/home/andreas/Download/Music/qtella-0.5.1/src/QtellaSub.cpp:1055: undefined reference to `KRun::KRun(KURL const &, unsigned int, bool, bool)'
Any help would be much appreciated,
Cheers,
Andreas Jonsson