Fedora Linux Support Community & Resources Center
  #1  
Old 9th October 2008, 09:33 AM
fatnic Offline
Registered User
 
Join Date: Sep 2008
Posts: 4
X11 Path - F9

Hello all. 2-day Fedora newb here!

I'm currently having quite a bit if trouble manually compiling a downloaded app and trying to find the path to my X11 libraries (I think!)

At first I ran
Code:
./configure
and kept getting the message
Code:
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
So then after a bit of digging tried
Code:
./configure --x-includes=/etc/X11/ --x-libraries=/etc/X11/
as I assumed /etc/X11/ was the correct path. Obviously not as I now get
Code:
checking for X... libraries /etc/X11/, headers /etc/X11/
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
So, what is the correct path?
Reply With Quote
  #2  
Old 9th October 2008, 09:45 AM
newiLuvatar Offline
Registered User
 
Join Date: Aug 2007
Location: Switzerland
Posts: 479
if want to compile sth against x11, you probably need the devel-packages, so for starters try installing libXext and libXext-devel
p.s. the correct path is probably sth like /usr/share/X11/, /etc should only be used for config-files (if i'm not mistaken)

Last edited by newiLuvatar; 9th October 2008 at 09:47 AM.
Reply With Quote
  #3  
Old 9th October 2008, 09:48 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,867
What are you trying to compile?
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 9th October 2008, 09:56 AM
fatnic Offline
Registered User
 
Join Date: Sep 2008
Posts: 4
Quanta web development app.

I've just found it in gpk-application but would still like to be able to manually add apps.

I tried using /usr/share/X11 but no joy with that either. Still missing libXext and yum says already installed.
Reply With Quote
  #5  
Old 9th October 2008, 09:59 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,867
[glenn@coolhand ~]$ locate libXext
/usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0

/usr/share/doc/libXext-1.0.4
/usr/share/doc/libXext-1.0.4/AUTHORS
/usr/share/doc/libXext-1.0.4/COPYING
/usr/share/doc/libXext-1.0.4/ChangeLog
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #6  
Old 9th October 2008, 10:01 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
You need libXext-devel and probably other -devel packages. ./configure will find the headers and libraries without any extra options if the necessary packages are installed.
Reply With Quote
  #7  
Old 9th October 2008, 10:36 AM
fatnic Offline
Registered User
 
Join Date: Sep 2008
Posts: 4
OK. We're getting closer.

Now I get
Code:
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
Tried to install qt3-devel but now I get a load of dependency issues.
Code:
libSM-devel-1.0.2-5.fc9.i386 from fedora has depsolving problems
  --> Missing Dependency: libSM = 1.0.2-5.fc9 is needed by package libSM-devel-1.0.2-5.fc9.i386 (fedora)
mesa-libGLU-devel-7.1-0.29.fc9.i386 from fedora has depsolving problems
  --> Missing Dependency: mesa-libGLU = 7.1-0.29.fc9 is needed by package mesa-libGLU-devel-7.1-0.29.fc9.i386 (fedora)
freetype-devel-2.3.5-4.fc9.i386 from fedora has depsolving problems
  --> Missing Dependency: freetype = 2.3.5-4.fc9 is needed by package freetype-devel-2.3.5-4.fc9.i386 (fedora)
2:libpng-devel-1.2.24-1.fc9.i386 from fedora has depsolving problems
  --> Missing Dependency: libpng = 2:1.2.24-1.fc9 is needed by package 2:libpng-devel-1.2.24-1.fc9.i386 (fedora)
qt3-devel-3.3.8b-12.fc9.i386 from fedora has depsolving problems
  --> Missing Dependency: qt3 = 3.3.8b-12.fc9 is needed by package qt3-devel-3.3.8b-12.fc9.i386 (fedora)
Error: Missing Dependency: libpng = 2:1.2.24-1.fc9 is needed by package 2:libpng-devel-1.2.24-1.fc9.i386 (fedora)
Error: Missing Dependency: freetype = 2.3.5-4.fc9 is needed by package freetype-devel-2.3.5-4.fc9.i386 (fedora)
Error: Missing Dependency: mesa-libGLU = 7.1-0.29.fc9 is needed by package mesa-libGLU-devel-7.1-0.29.fc9.i386 (fedora)
Error: Missing Dependency: qt3 = 3.3.8b-12.fc9 is needed by package qt3-devel-3.3.8b-12.fc9.i386 (fedora)
Error: Missing Dependency: libSM = 1.0.2-5.fc9 is needed by package libSM-devel-1.0.2-5.fc9.i386 (fedora)
I still can't understand the reason the X things arn't being discovered automatically.
Reply With Quote
  #8  
Old 9th October 2008, 12:48 PM
newiLuvatar Offline
Registered User
 
Join Date: Aug 2007
Location: Switzerland
Posts: 479
why not installing qt4?
Reply With Quote
  #9  
Old 9th October 2008, 12:59 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
Quote:
Originally Posted by newiLuvatar View Post
why not installing qt4?
In F9, that should be simply qt (which should be REV. 4.x+), and he'll need qt-devel also.

qt3 and qt3-devel only if the app to compile requires such.

For the record, the --x-includes PATH should be /usr/include/... and --x-libraries PATH is /usr/lib/..., and the compiler should indeed find them all by itself - if they exist.

V

Last edited by Hlingler; 9th October 2008 at 01:02 PM.
Reply With Quote
  #10  
Old 9th October 2008, 05:01 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
Quote:
Originally Posted by fatnic View Post
I still can't understand the reason the X things arn't being discovered automatically.
If they don't exist on your system they can't be discovered. Install the required packages first.
Reply With Quote
  #11  
Old 9th October 2008, 05:22 PM
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 47
Posts: 3,948
and did you read the files " README " and "INSTALL " in the source folder for a list of REQUIRED software that MUST be installed first .
and when you install the -devel you also need to install the regular package
[quote]Error: Missing Dependency: libpng = 2:1.2.24-1.fc9 is needed by package 2:libpng-devel-1.2.24-1.fc9.i386 (fedora)[/code]
__________________
OpenSUSE 13.1-64bit & Scientific Linux 6.5-64bit ( fedora 4 to 11) and 19/20 on KVM
My Celestia Downloads

h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10
Reply With Quote
Reply

Tags
path, x11

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add path /usr/local/bin/lftp to user path nix4me Using Fedora 6 18th August 2010 12:31 AM
how to know the path munna_dude Servers & Networking 1 14th September 2007 04:51 PM
Path predator41464 Using Fedora 3 1st February 2005 04:49 AM
set path=?? seph Using Fedora 5 26th August 2004 03:32 AM


Current GMT-time: 01:26 (Monday, 22-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Crimson Hotel Resort & Spa Instagram Photos - Feira Internacional De Lisboa Travel Photos on Instagram - Mullik Ghat