LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 04-10-2005, 03:25 PM   #1
trumpetdork
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Rep: Reputation: 0
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?
 
Old 04-10-2005, 03:47 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
install this package ( from your install cd's/dvd)
xorg-x11-devel-6.8.2-1.FC3.13
 
Old 05-04-2005, 06:47 PM   #3
koodoo
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: Reputation: 32
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
 
Old 05-05-2005, 02:40 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
xfree86-devel or something similar.
 
Old 05-05-2005, 09:08 AM   #5
koodoo
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: Reputation: 32
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
 
Old 05-05-2005, 09:56 AM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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.
 
Old 05-05-2005, 10:07 AM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You need to install kdelibs-devel.
 
Old 05-05-2005, 02:35 PM   #8
koodoo
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: Reputation: 32
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.
 
Old 05-05-2005, 02:46 PM   #9
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 05-06-2005, 10:17 AM   #10
koodoo
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: Reputation: 32
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.
 
Old 05-06-2005, 01:39 PM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you are missing libaudiofile ( it comes with audiofile).
 
Old 05-06-2005, 03:55 PM   #12
koodoo
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: Reputation: 32
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.
 
Old 05-06-2005, 04:59 PM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 05-07-2005, 05:19 PM   #14
koodoo
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: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
no x includes invinciblegod Linux - General 5 07-19-2005 07:08 PM
X includes? fredws Mandriva 3 04-11-2005 09:27 PM
x includes Sc0pE Linux - Newbie 8 02-20-2005 07:35 AM
where can i get X includes from? worf Mandriva 4 01-31-2005 10:36 AM
X includes : what, and where ? Rnd227 Mandriva 0 05-19-2004 12:52 AM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration