LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-03-2002, 07:17 PM   #1
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Unhappy 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.
 
Old 12-03-2002, 07:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Gidday!

Just to make sure ...

could you do a "rpm -aq | grep -i qt" and post the output?

Cheers,
Tink
 
Old 12-03-2002, 08:35 PM   #3
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Original Poster
Rep: Reputation: 15
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.
 
Old 12-03-2002, 11:10 PM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Re: Failed compile of KCommander

Quote:
Originally posted by Obi Perrin
Downloaded KCommander and went to compile it. ./configure seemed to go fine, but when I run make, it gives me this:
Exactly which package did you download? I got both the binary (kcommander3-3.0-Beta2.i686.rpm) and the tarball (kcommander3-3.0Beta2.tar.gz). Did you get one of these or did you get it off of CVS?


Quote:

/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,
Looks like you're missing both qptrlist.h & qpair.h. Chances are that these files reside in a different location on your Mandy box than they do on the developers box (I would of guessed SuSE, but it doesn't work for me either. Hmmm, just not for 8.1it seems, he uses an older version of SuSE...).

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
 
Old 12-04-2002, 06:03 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
Originally posted by Obi Perrin
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.
No worries :)

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
program failed to compile, now what? Blocko Suse/Novell 2 03-31-2005 07:18 PM
ndiswrapper failed to compile r_squared Linux - Wireless Networking 3 11-08-2004 07:50 AM
uclibc buildroot failed to compile tcma Linux - Software 0 10-06-2004 12:01 AM
compile an X-Qt-KDE application-- failed paulten Linux - Software 1 01-25-2003 10:16 AM
Sysvinit compile failed rverlander Linux From Scratch 3 07-22-2002 05:11 AM


All times are GMT -5. The time now is 10:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration