I have tried several times to compile KDE programs but failed miserably. ./configure works without complaints but when I try a make they stop at en error that it can't find some includes. So I try with ./configure --with-extra-includes=/opt/kde2/include/ now it goes on for a while and then spews out a lot of comments like: /opt/kde/lib/libkdeui.so: undefined reference to `QString::find(char, int, bool) const' and then collect2: ld returned 1 exit status make[2]: *** [libkradioapplet.la.closure] Error 1 make[2]: Leaving directory `/bygg/KdeRadioApplet/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/bygg/KdeRadioApplet' make: *** [all-recursive-am] Error 2 And then stops. Can someone help me with this? I'm using KDE2.1 Olle Viksten
add also --with-extra-lib(or libs, don't remember, see ./configure --help)=/opt/kde2/lib It's possible that you have to issue a make clean before trying to compile again. hth,
From Olle Viksten to SuSE listserve about [SLE] Can't compile KDE progs...:
I have tried several times to compile KDE programs but failed miserably.
./configure works without complaints but when I try a make they stop at en error that it can't find some includes. So I try with ./configure --with-extra-includes=/opt/kde2/include/ now it goes on for a while and then spews out a lot of comments like:
/opt/kde/lib/libkdeui.so: undefined reference to `QString::find(char, int, bool) const'
and then
collect2: ld returned 1 exit status make[2]: *** [libkradioapplet.la.closure] Error 1 make[2]: Leaving directory `/bygg/KdeRadioApplet/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/bygg/KdeRadioApplet' make: *** [all-recursive-am] Error 2
And then stops.
Can someone help me with this?
I'm using KDE2.1
Olle Viksten
-- dieter
fredagen den 1 juni 2001 16:39 wrote dieter:
add also --with-extra-lib(or libs, don't remember, see ./configure --help)=/opt/kde2/lib It's possible that you have to issue a make clean before trying to compile again.
Thanks, but the result was the same errors Olle
Does stuff like using export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/kde2/lib or export LD_RUN_PATH=$LD_RUN_PATH:/opt/kde2/lib or putting /opt/kde2/lib in /etc/ld.so.conf and then running ldconfig help?
From Olle Viksten to dieter and SuSE listserve about Re: [SLE] Can't...:
fredagen den 1 juni 2001 16:39 wrote dieter:
add also --with-extra-lib(or libs, don't remember, see ./configure --help)=/opt/kde2/lib It's possible that you have to issue a make clean before trying to compile again.
Thanks, but the result was the same errors
Olle
-- dieter
lördagen den 2 juni 2001 00:10 wrote dieter:
Does stuff like using export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/kde2/lib or export LD_RUN_PATH=$LD_RUN_PATH:/opt/kde2/lib or putting /opt/kde2/lib in /etc/ld.so.conf and then running ldconfig help?
No luck with this either :-( I allready had /opt/kde2/lib in ld.so.conf, does the order in wich the paths are listed have any signicance? I have kde2 second from the top. Olle
I should have looked better to the output you mailed first. The linker seems to have problems with finding the qt libraries, not with the kde libraries. If you retry all the above with the location of your qt-libs it probably works. hth, From Olle Viksten to dieter and SuSE listserve about Re: [SLE] Can't...:
l�rdagen den 2 juni 2001 00:10 wrote dieter:
Does stuff like using export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/kde2/lib or export LD_RUN_PATH=$LD_RUN_PATH:/opt/kde2/lib or putting /opt/kde2/lib in /etc/ld.so.conf and then running ldconfig help?
No luck with this either :-(
I allready had /opt/kde2/lib in ld.so.conf, does the order in wich the paths are listed have any signicance? I have kde2 second from the top.
Olle
-- dieter
Hi: Do the following and your KDE programs should compile. export QTDIR=/usr/lib/qt-2.3.0 export KDEDIR=/opt/kde2 ./configure --prefix=/opt/kde2 make make install Also, you must have Qt-devel installed. HTH
lördagen den 2 juni 2001 18:07 wrote Jonathan Drews:
Hi:
Do the following and your KDE programs should compile.
export QTDIR=/usr/lib/qt-2.3.0 export KDEDIR=/opt/kde2 ./configure --prefix=/opt/kde2 make make install
Thanks, it was KDEDIR that was the culprit. Olle
participants (3)
-
dieter
-
Jonathan Drews
-
Olle Viksten