Can't find X includes - xorg-devels will not install!
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Can't find X includes - xorg-x11-devel will not install!
Hey All,
I know this has probably come up 1,000,000 times.
When I searched for this problem - there wern't any threads similar to this one...
I can't install anything - everytime I run:
% ./configure
The script dies with:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
Now I know that requires xorg-x11-devel.
However - when I try to install xorg-x11-devel it says it requires xorg-x11-libs.
I have xorg-x11-libs installed and up to date...
Thats your problem right there. AT RPMS replaces essential systems packages (other distros do not replace xorg and other system packages). I would disable AT RPMS and use the packages from the main FC repos.
Thats your problem right there. AT RPMS replaces essential systems packages (other distros do not replace xorg and other system packages). I would disable AT RPMS and use the packages from the main FC repos.
Ahh ok...
How do I disable AT RPMS packages?
Remove that entry from the YUM repository...
Even then - how do I fix up my xorg-x11-libs...
If I try and remove the libs file - it wants to remove all dependant software (all 400Mb worth)...
Thanks for the help mate!
No one else has picked that up!
:S
This is one part of linux that I am still learning
Thats your problem right there. AT RPMS replaces essential systems packages (other distros do not replace xorg and other system packages). I would disable AT RPMS and use the packages from the main FC repos.
By the way - when this is all sorted I will donate to your cause
I checked out the site in your sig.
Very noble - I was going to ask if you had an amazon wish list or anything...
How did you setup the atrpms repo? If you used an rpm, then uninstall it or if you did it manually, edit /etc/yum.conf and change the part that says enable=1 to enabled=0 in the atrpms section. If atrpms is not listed in /etc/yum.conf, check for an entry in /etc/yum.repos.d.
After disabling the atrpms repo, you can uninstall all xorg rpms by dropping to a console (CTRL-ALT-F1), login as root and do
Code:
#for i in `rpm -qa | grep -i xorg`; do rpm -e --nodeps "$i";done
Disabled ATRPMs.
Not sure why I enabled them to begin with...
Running the first bit of code now...
I am seeing this:
Quote:
/usr/X11R6/bin/mkfontscale: error while loading shared libraries: libfontenc.so.1: cannot open shared object file: No such file or directory
error: %postun(fonts-xorg-75dpi-6.8.2-1.noarch) scriptlet failed, exit status 127
warning: /etc/X11/fs/config saved as /etc/X11/fs/config.rpmsave
warning: /etc/security/console.apps/xserver saved as /etc/security/console.apps/xserver.rpmsave
It seems like one of the uninstall scripts is failing. Try the following,
Code:
#for i in `rpm -qa | grep -i xorg`; do rpm -e --nodeps --noscripts "$i";done
I ran that, then ran this...
% yum install xorg*
All packages installed fine...
However
I now get this when running ./configure
Quote:
checking for Qt... configure: error: Qt (>= Qt 3.0 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
I am going to look up this error - probably something else...
BTW - the X works now
Thanks mate!
Quote:
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
The right package to install is qt-devel. If you had upgraded qt using the atrpms repo, uninstall it and reinstall the fc version. By using wildcards with YUM you end up installing a lot of unnecessary packages so maybe its a good idea to just install the ones needed on your system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.