Failed compile of KCommander
Downloaded KCommander and went to compile it. ./configure seemed to go fine, but when I run make, it gives me this:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt2/include -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -c mailer.cpp In file included from /opt/kde3/include/kiconloader.h:34, from options.h:30, from mailer.h:35, from mailer.cpp:1: /opt/kde3/include/kicontheme.h:20:22: qptrlist.h: No such file or directory In file included from /opt/kde3/include/kdialogbase.h:27, from /opt/kde3/include/kicondialog.h:24, from options.h:31, from mailer.h:35, from mailer.cpp:1: /opt/kde3/include/kjanuswidget.h:23:22: qptrlist.h: No such file or directory In file included from /opt/kde3/include/kdialogbase.h:29, from /opt/kde3/include/kicondialog.h:24, from options.h:31, from mailer.h:35, from mailer.cpp:1: /opt/kde3/include/kstdguiitem.h:26:19: qpair.h: No such file or directory In file included from /opt/kde3/include/kicondialog.h:24, from options.h:31, from mailer.h:35, from mailer.cpp:1: /opt/kde3/include/kdialogbase.h:30:22: qptrlist.h: No such file or directory This seems strange really...the configure detected QT libs and headers in /usr/lib/qt2/lib and /usr/lib/qt2/include - yet, it's using kde3. It says in the g++ compile bit that it's using qt2 includes, but I've searched for the missing files on package manager and locate and they're only part of the qt3 devel package files. Sensing that this was just a problem of using kde3 along with qt2 instead of qt3, I changed the include and lib directories from the qt2 to qt3 ones in the Makefiles. Didn't work though, it gives exactly the same error, and the g++ line is actually unchanged, still citing the /usr/lib/qt2/include as before. Can anyone help with this? I'm totally stumped what to do now. It's Mandrake 8.2 with the KDE 3 official RPMs. |
Gidday!
Just to make sure ... could you do a "rpm -aq | grep -i qt" and post the output? Cheers, Tink |
Aye sure:
libqt3-devel-3.0.4-1mdk libqt2-2.3.1-29mdk libqt2-devel-2.3.1-29mdk qt2-designer-2.3.1-29mdk libqt3-3.0.4-1mdk Sorry it took a while...I rebooted and X decided to go on a respawning frenzy, which was fun for about 2 seconds but quickly became tiring. |
Re: Failed compile of KCommander
Quote:
Quote:
Hmmm, the binary dies with a "relocation error" on "__ti7QWidget" on my box. This might be a good time to ask the developer for some pointers. He seems to be helpful... :) (And they do have a phorum: http://www.kcommander.org/phorum/list.php?f=1) Since you seem to be so close, one option would be to copy these files (qptrlist.h & qpair.h) to where the ./configue file expects them to be (wherever that might be). But keep in mind that it was developed on a SuSE box and that there might be other problems with the build. John |
Quote:
I recommend you make a little shell-script (or two) that sets the paths, includes and such since you appear to have both qt3 and 2 installed.... when compiling KCommander source the one pointing to Qt3... Cheers, Tink |
All times are GMT -5. The time now is 08:25 AM. |