LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-05-2006, 09:24 AM   #1
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Rep: Reputation: 0
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...

So right now I am stuck.
Any options?
Tips?


Thanks!

Last edited by neester; 06-05-2006 at 10:22 AM.
 
Old 06-05-2006, 09:30 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What Linux distro are you using?
 
Old 06-05-2006, 09:35 AM   #3
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
What Linux distro are you using?

Ahh sorry mate.
Totally forgot that info:

% uname -a
Linux localhost.localdomain 2.6.16-1.2111_FC4 #1 Sat May 20 19:59:40 EDT 2006 i686 i686 i386 GNU/Linux

ie.
Fedora Core 4
 
Old 06-05-2006, 09:46 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install xorg-x11-devel using yum.
 
Old 06-05-2006, 09:56 AM   #5
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the helping out - this has been bugging me for a week!!


Quote:
Originally Posted by reddazz
You need to install xorg-x11-devel using yum.
Sorry typo in my thread.
Yeah I tried...
Doens't work.

Here is the message I get from YUM:

Quote:
Error: Missing Dependency: xorg-x11-libs = 6.8.2-37.FC4.49.2.1_5.rhfc4.at is needed by package xorg-x11-devel
However I have pretty much the exact thing installed already...

Quote:
xorg-x11-libs.i386 6.8.2-37.FC4.49.2_4.rh installed
Matched from:
xorg-x11-libs
Note the underlined difference...
Would that make a difference?
If not - why can't I install xorg-x11-devel?

Last edited by neester; 06-05-2006 at 09:58 AM.
 
Old 06-05-2006, 10:00 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 06-05-2006, 10:08 AM   #7
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
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
 
Old 06-05-2006, 10:14 AM   #8
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
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...
 
Old 06-05-2006, 11:27 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
To install the Fedora Core xorg packages do
Code:
#yum install xorg-x11-server-Xorg xorg-x11-drivers
Post back if you have any problems.
 
Old 06-05-2006, 05:46 PM   #10
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
Hey Reddazz,

Thanks for the help!

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
 
Old 06-05-2006, 06:15 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
 
Old 06-05-2006, 07:41 PM   #12
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
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

Last edited by neester; 06-05-2006 at 07:52 PM.
 
Old 06-05-2006, 07:47 PM   #13
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
I did this:

% yum install qt-*

but I still get the version error...
:S

What can I install to upgrade the version?
 
Old 06-05-2006, 08:08 PM   #14
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 06-05-2006, 08:18 PM   #15
neester
LQ Newbie
 
Registered: Jun 2006
Distribution: Fedora Core 4 // CentOS 4
Posts: 19

Original Poster
Rep: Reputation: 0
How can i remove QT without effecting the other programs.
I do:

% yum remove qt*

Quote:
Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
qt i386 1:3.3.4-15.5 installed 8.6 M
qt i386 1:3.3.4-15.4 installed 8.7 M
qt-MySQL i386 1:3.3.4-15.5 installed 47 k
qt-ODBC i386 1:3.3.4-15.5 installed 104 k
qt-PostgreSQL i386 1:3.3.4-15.5 installed 71 k
qt-config i386 1:3.3.4-15.5 installed 224 k
qt-designer i386 1:3.3.4-15.5 installed 4.7 M
qt-devel i386 1:3.3.4-15.5 installed 41 M
Removing for dependencies:
SDL_mixer i386 1.2.6-3.fc4 installed 194 k
amarok i386 1.3.9-1.fc4 installed 17 M
arts i386 8:1.5.2-0.1.fc4 installed 4.3 M
arts i386 8:1.5.1-0.1.fc4 installed 4.3 M
camstream i386 0.26.3-8 installed 2.9 M
gl-117 i386 1.3.2-2.fc4.rf installed 5.8 M
gnome-applets i386 1:2.10.1-9 installed 28 M
gnome-media i386 2.10.2-4 installed 5.0 M
gnome-session i386 2.10.0-2 installed 1.2 M
gnome-volume-manager i386 1.3.1-1 installed 737 k
gstreamer-plugins i386 0.8.8-9 installed 3.6 M
gstreamer-plugins-extra-audio i386 0.8.8-2.2.fc4 installed 157 k
k3b i386 0.12.14-0.FC4.1 installed 21 M
kdeartwork i386 3.5.2-0.1.fc4 installed 8.6 M
kdebase i386 6:3.5.1-0.3.fc4 installed 52 M
kdebase i386 6:3.5.2-0.1.fc4 installed 52 M
kdelibs i386 6:3.5.2-0.1.fc4 installed 44 M
kdelibs i386 6:3.5.1-0.1.fc4 installed 44 M
kdemultimedia i386 6:3.5.2-0.1.fc4 installed 18 M
kdepim i386 6:3.5.2-0.2.fc4 installed 48 M
kdocker i386 1.3-6.fc4 installed 201 k
libao i386 0.8.6-0_2.rhfc4.at installed 54 k
mplayer i386 4:1.0-52_pre7try3.rhfc4.at installed 25 M
oprofile i386 0.8.2-4 installed 5.1 M
rhythmbox i386 0.8.8-2 installed 3.3 M
sound-juicer i386 2.10.1-1 installed 1.1 M
timidity++ i386 2.13.2-1 installed 11 M
totem i386 1.0.4-1 installed 3.1 M
videolan-client i386 0.8.4a-2.2.fc4.rf installed 15 M
vorbis-tools i386 1:1.0.1-6 installed 497 k
xine i386 0.99.4-5.fc4.rf installed 3.5 M
xine-lib i386 1.1.1-2.fc4.rf installed 9.1 M
 
  


Reply

Tags
error



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find X includes Anden008 Linux - Software 9 06-05-2006 10:57 PM
Xorg includes mailbinoy Mandriva 7 05-16-2005 06:34 PM
glib-devels gkt-devels ? shanenin Linux - Software 5 04-27-2005 03:31 PM
Can't find X includes linmix Linux - Software 2 06-19-2004 01:48 PM
KDE install can't find X includes elevators_out Linux - Newbie 1 01-23-2004 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:00 AM.

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