Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-10-2005, 03:25 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2005
Posts: 18
Rep:
|
getting X includes
I'm trying to build a bunch of different MP3 players from source. Everytime I run the configure script for the different files, I get output saying
Code:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
This is Fedora Core 3. What do I do?
|
|
|
|
04-10-2005, 03:47 PM
|
#2
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
install this package ( from your install cd's/dvd)
xorg-x11-devel-6.8.2-1.FC3.13
|
|
|
|
05-04-2005, 06:47 PM
|
#3
|
|
Member
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345
Rep:
|
Hi,
Sorry for posting in somebody else's thread. But I did not want to create a new thread on the same topic.
I am also getting the same error when I tried to install k3b and kaffiene from source.The only difference being that I am using Fedora Core 1.
Does anybody know what package to install for Fedora Core 1 for these X includes
Thanx in anticipation
|
|
|
|
05-05-2005, 02:40 AM
|
#4
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
xfree86-devel or something similar.
|
|
|
|
05-05-2005, 09:08 AM
|
#5
|
|
Member
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345
Rep:
|
Yup figured that out. Thanx
However I need more help to install k3b.
Now if I do a ./configure in the k3b-0.11.23 folder (extracted from the tarball package), I get the following error :
Code:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
[koodoo@localhost k3b-0.11.23]$
I don't know what this means or how to rectify this.
Please help.
Thanx again
|
|
|
|
05-05-2005, 09:56 AM
|
#6
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,958
|
Do you have the KDE development packages installed? From my yum list:
Code:
kdebase-devel.i386 6:3.4.0-0.fc3.1 installed
kdebindings-devel.i386 3.4.0-0.fc3.0 installed
kdeedu-devel.i386 3.4.0-0.fc3.0 installed
kdegames-devel.i386 6:3.4.0-0.fc3.0 installed
kdegraphics-devel.i386 7:3.4.0-0.fc3.0 installed
kdelibs-devel.i386 6:3.4.0-0.fc3.0 installed
kdemultimedia-devel.i386 6:3.4.0-0.fc3.0 installed
kdenetwork-devel.i386 7:3.4.0-0.rc1.2 installed
kdepim-devel.i386 6:3.4.0-0.fc3.0 installed
kdesdk-devel.i386 3.4.0-0.fc3.0 installed
kdeutils-devel.i386 6:3.4.0-0.fc3.0 installed
kdewebdev-devel.i386 6:3.4.0-0.fc3.0 installed
(You probably don't need all of these. I'd suggest that you start with kdebase, kdedsk and kdeutils.)
Oh, in case you're wondering, I did a "full" install of FC3, so I've got a lot of stuff for which I have, as yet, no use.
|
|
|
|
05-05-2005, 10:07 AM
|
#7
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You need to install kdelibs-devel.
|
|
|
|
05-05-2005, 02:35 PM
|
#8
|
|
Member
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345
Rep:
|
Hi,
Thanx for the response guys.
I installed arts-devel and kdelibs-devel and configure went fine.
But I now have another error.
When I do ./configure it works fine and in the end gives a Configuration results report as well :
Code:
[koodoo@localhost k3b-0.11.23]$ ./configure
--------------------------------------------------------------
---------------lots of output------------------------------
--------------------------------------------------------------
--------------------------------------------------------------
--------------------------------------------------------------
--------------------------------------------------------------
Configure results:
------------------------------------------
Ogg Vorbis support: yes
Mp3 decoding support (libmad): no
You are missing the libmad headers and libraries
The Mp3 decoding plugin won't be compiled.
FLAC support: yes
Audio resampling: using K3b version
Resmgr support: no
Audioplayer available (aRts) yes
Compile K3bSetup 2: yes
------------------------------------------
Good - your configure finished. Start make now
[root@localhost k3b-0.11.23]#
But when I do make it gives an error :
Code:
[koodoo@localhost k3b-0.11.23]$make
------------------------------------------------------------------------
---------------again lots of output-------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
/usr/bin/ld: cannot find -lart_lgpl_2
collect2: ld returned 1 exit status
make[3]: *** [libk3bdevice.la] Error 1
make[3]: Leaving directory `/home/koodoo/k3b-0.11.23/src/device'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/koodoo/k3b-0.11.23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koodoo/k3b-0.11.23'
make: *** [all] Error 2
[koodoo@localhost k3b-0.11.23]$
Anyone??
I then installed all the packages available under kde-software development in Fedora Core 1 namely :
Code:
qt-devel
arts-devel
kdelibs-devel
kdesdk-devel
libxslt-devel
kdegraphics-devel
kdbg
kdesdk
qt-designer
kde-utils-devel
cdparanoia-devel
pilot-link-devel
kdepim-devel
PyQt-devel
sane-backends-devel
kdebase-devel
kdenetwork-devel
sip-devel
cups-devel
I know that only very few of these are needed but I installed the complete kde-software development package and then tried MAKE again but to no avail
I got the same error message.
Any ideas??
Please guys help me in this. I've heard about k3b a lot and really want to get it to work.
I seem to be bugging you people a lot. Please bear with me.
Thanx again in anticipation.
Last edited by koodoo; 05-05-2005 at 02:38 PM.
|
|
|
|
05-05-2005, 02:46 PM
|
#9
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
you should really try to find a package available for your distro, using your distro's package manager. what you are missing is libart_lgpl ( and the -devel), install it and you should be good.
|
|
|
|
05-06-2005, 10:17 AM
|
#10
|
|
Member
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345
Rep:
|
Hi,
Thanx for the suggestion but I always thought installing from source was the best option.
I don't know how to use Yum but I'll try to configure it and use it for installing packages. Till then I don't have much options.
I also installed libart_lgpl and then tried make on k3b. I got another error :
Code:
/usr/bin/ld: cannot find -laudiofile
collect2: ld returned 1 exit status
make[3]: *** [k3b] Error 1
make[3]: Leaving directory `/home/koodoo/k3b-0.11.23/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/koodoo/k3b-0.11.23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koodoo/k3b-0.11.23'
make: *** [all] Error 2
[root@localhost k3b-0.11.23]#
The make went for a long time before this error was encountered.
So much trying and just when I thought I had made it I got this error.
Tried Googling on laudiofile and I couldn't make much of it.
I am very grateful for the help which I got.
Just a little more of it and I may be through.
Thanx again in anticipation.
|
|
|
|
05-06-2005, 01:39 PM
|
#11
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
you are missing libaudiofile ( it comes with audiofile).
|
|
|
|
05-06-2005, 03:55 PM
|
#12
|
|
Member
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345
Rep:
|
Hi,
You are GREAT!!! man.
Thanx for the help.
I installed all the nvftools from sourceforge namely:
audiofile
audiofile-devel
nvftools
and everything went fine. I was finally able to run k3b
Hardwork paid in the end  but it would not have been possible without the expert help you offered
I also googled for the missing laudiofile error and found a few more explanations.
Thanx again you've helped a great deal and saved me a lot of trouble.
|
|
|
|
05-06-2005, 04:59 PM
|
#13
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
a good place to look when you need something :
http://lfs.osuosl.org/blfs/view/stable/
it doesn't have everything, but it has a good amount of stuff as well as what dependencies apps/libraries need and optional dependencies. if you are going to be compiling from source, I also recommend you learn how to make packages of your builds to make life easier. when you want to upgrade or remove a package, you can do it with a single command as opposed to either keeping the source around to uninstall it or manually pulling things out of your filesystem. The second benefit of making packages deals with the way rpm works, since you are running an rpm distro. rpm will search it's database for dependencies, the database does not get upgraded when you install from source, but making a package and installing it will resolve this. look into rpmbuild or checkinstall for instructions how to build rpm's.
|
|
|
|
05-07-2005, 05:19 PM
|
#14
|
|
Member
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345
Rep:
|
Thanx for the link.
It has a whole lot of information.
Thanx also for the advice.
Package management using RPM's seems to be a better option.
I'll also try to learn how to build packages.
Looks like I have got to do a bit of reading...
Thanx again for the help.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|