LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2005, 12:32 PM   #1
umgambit
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
problem during ./configure


When compiling amarok 1.3.1 from source, i got the following error:

checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

I solved this by:
./configure --x-includes='/usr/X11/include' --x-libraries='/usr/X11/lib'

which are the usual locations of these dependencies.

But then I got another error:

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.

I have no idea of how to correct this.
Furthermore, i have the files libXext.so.6 and libXext.so.6.4
in /usr/X11R6/lib ....!

Any ideas?
Thanks,
Filipe

Last edited by umgambit; 09-19-2005 at 12:34 PM.
 
Old 09-19-2005, 03:54 PM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
just edit your /etc/ld.so.conf file and include the needed $PATH variables

/usr/X11/include/lib
/usr/X11R6/lib

and then re-source it..........
Code:
ldconfig
 
Old 09-20-2005, 12:20 AM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
just edit your /etc/ld.so.conf file and include the needed $PATH variables
I don't think ldconfig and /etc/ld.so.conf have anything to do with the $PATH or any other environment variable. When you run ldconfig it goes through the entries in /etc/ld.so.conf (and /etc/ld.so.conf.d/) and uses those to update the /etc/ld.so.cache file, which in turn is used by the ld.so run-time linker.

Environment variables are set in /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc and so on and although the ld.so linker will pay attention to the LD_LIBRARY_PATH environment variable, if its set, this has nothing to do with ldconfig or /etc/ld.so.conf. See man ldconfig man ld.so

Quote:
/usr/X11/include/lib
/etc/ld.so.conf is only for directories which have libraries, the linking system can't do anything with include files



Quote:
umgambit:I solved this by:
./configure --x-includes='/usr/X11/include' --x-libraries='/usr/X11/lib'

which are the usual locations of these dependencies.
Well on my Mandriva system, which claims to be FHS and LSB compliant, its /usr/X11R6/include/ for the includes and /usr/X11R6/lib/ for the libs. Assuming those are the correct locations its probably just that the configure script was written before the FHS standard or something like that.


Quote:
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.

I have no idea of how to correct this.
Furthermore, i have the files libXext.so.6 and libXext.so.6.4
in /usr/X11R6/lib ....!
You're pointing the configure script to /usr/X11/lib - why are you pointing it there if you're X library files are in /usr/X11R6/lib? What's actually in /usr/X11/lib?
 
Old 09-20-2005, 05:33 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 the xorg development libraries and then configure amarok as follows,
Code:
$./configure --prefix=`kde-config --prefix`
 
  


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
./configure problem bruse Linux - Newbie 10 10-13-2005 04:28 AM
./configure problem neurotic85 Linux - Software 6 09-07-2005 07:50 PM
Problem with ./configure Chtiman Linux - Software 1 01-04-2005 09:53 AM
problem with ./configure vijay_souri Linux - Software 0 06-07-2004 12:04 PM
.\configure PROBLEM mla Linux - Software 13 10-13-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 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