LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-14-2005, 10:31 PM   #1
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Rep: Reputation: 15
Kdevelop HELP!


I wanted to install Kdevelop on my system, so I downloaded the source (unable to find a suitable RPM or binary, ) and I find that I need QT to install it. So, download the free version of QT and install that, but find that I need xlib.h, xuitil.h, xos.h, and xatom.h to make it. The compilation of QT went fine, but I get this error when I try to make it:

In file included from kernel/qtaddons_x11.cpp:25:
kernel/qt_x11_p.h:66:22: X11/Xlib.h: No such file or directory
kernel/qt_x11_p.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11_p.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11_p.h:73:23: X11/Xatom.h: No such file or directory
gmake[2]: *** [.obj/release-shared/qtaddons_x11.o] Error 1
gmake[2]: Leaving directory `/home/bacher/Desktop/sources/qt/qt-x11-free-3.3.3/src'
gmake[1]: *** [sub-src] Error 2
gmake[1]: Leaving directory `/home/bacher/Desktop/sources/qt/qt-x11-free-3.3.3'
gmake: *** [init] Error 2
[bacher@localhost qt-x11-free-3.3.3]$

I'm new to linux, and I don't really know where to go from here. I need these files, obviously, but I dont know where to get them. I googled it, but it wasnt much help. If anyone could be of assistance I would greatly appreciate it. Not only on the problem at hand (missing header files on make of QT) but also in the more general endevour of installing Kdevelop.

Thanks in advance!
 
Old 01-15-2005, 02:07 AM   #2
CARTMAN
Member
 
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 16
You need x11-devel package installed.
 
Old 01-15-2005, 10:39 PM   #3
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Where do I find this "x-11 devel package"?
 
Old 01-15-2005, 11:10 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
It will be on your installation cd's somewhere. Use urpmi, yum, or rpmdrake (i think thats the name of it ). If you do not know what these tools are or how to use them, head over to the Mandrake forums on this board as I'm sure lots of people there can show you the best way to use them and some tips and tricks also.
 
Old 01-17-2005, 09:11 PM   #5
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
I couldn't find anything labeled "x-11 development package" or anything like that in RPM drake on any of my CDs. I installed everything in the development group, but I still get the same error...am I missing it somewhere, or is there somewhere else i can get the package?
 
Old 01-19-2005, 02:26 PM   #6
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Well? Any help? I installed everying on my installation CDs from the development category, but no luck. Anyone have any ideas?
 
Old 01-19-2005, 02:34 PM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
is there a package named xorg-devel through urpmi/rpmdrake?

also it probably won't be in the development catagory, I'd look for it in the same category as the
Xorg packages themselves.

Last edited by __J; 01-19-2005 at 02:46 PM.
 
Old 01-19-2005, 03:36 PM   #8
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
No, nothing that looks like that. The only packages with x11 or xorg in their nams are:
xorg-x11-Xvfb
xorg-x11-cyrillic-fonts
xorg-x11-Xnest
xorg-x11-100dpi-fonts
xorg-x11-glide-module

the only thing containing "devel" is:
perl-Devel-Symdump

Any ideas?
 
Old 01-19-2005, 03:40 PM   #9
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
http://mandrakeusers.org/lofiversion...hp/t21805.html
 
Old 01-19-2005, 05:26 PM   #10
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
The installation is going much better now, but I hit a minor snag, and if anyone could help me out quickly I'd appreciate it alot. I got as far as compiling kdevelop, but I need to know where my kde and qt are installed. How can I find this out? (I apologize, but I'm really new to linux)
 
Old 01-19-2005, 08:21 PM   #11
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Got past that particular problem, but ran into a new one (isn't life fun?). When I ./configure Kdevelop, it claims that it can't find my QT libraries or headers/includes:

checking for Qt... configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

But I installed QT just today, so I know it's on here. I even tried, instead of the standard ./configure, doing:
./configure LDFLAGS=-L/home/bacher/Desktop/sources/qt/qt-x11-free-3.3.3/lib CPPFLAGS=-I/home/bacher/Desktop/sources/qt/qt-x11-free-3.3.3/include

Unfortunately I get the same problem both times. While I was looking over my config log, I noticed alot of this:

configure: failed program was:
| /* confdefs.h. */

Could that have anything to do with this? If anyone who thinks they can help needs more info, let me know, ill be happy to supply it.
 
Old 01-20-2005, 05:20 AM   #12
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
did you compile qt from source? If so, you must export a couple of environmental variables:

Code:
export QTDIR=/home/bacher/....../qt/qt-x11-free-3.3.3
also if you have problems linking against the qt libs:

Code:
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
which sets /home/bacher/..../qt/qt-x11-free-3.3.3/lib as the first directory the library linker will search for libraries.

on the above examples, add the rest of the path where the periods are.
 
Old 01-20-2005, 07:22 PM   #13
Phalloides
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Allright. I edited my profile to export those variables all the time, now the install recognizes that I have QT, unfortunately I get the error now:
checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

I have several files in my lib directory containing "qt-mt", am I missing something? How would I know? How would I install it?
 
  


Reply



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
KDevelop PhuckFonix Linux - Software 1 05-11-2004 11:43 AM
KDevelop Pedroski Linux - Software 4 11-01-2003 12:47 PM
using kdevelop 2.0 vytalelementz Linux - Software 0 02-07-2003 12:54 PM
need help with Kdevelop and QT!!! FreakboY Programming 9 01-13-2003 10:27 PM
KDevelop 2.0 solar_neutrino Linux - Software 1 11-12-2002 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration