Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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
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)
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.