LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting X includes (https://www.linuxquestions.org/questions/linux-software-2/getting-x-includes-311767/)

trumpetdork 04-10-2005 03:25 PM

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?

__J 04-10-2005 03:47 PM

install this package ( from your install cd's/dvd)
xorg-x11-devel-6.8.2-1.FC3.13

koodoo 05-04-2005 06:47 PM

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

reddazz 05-05-2005 02:40 AM

xfree86-devel or something similar.

koodoo 05-05-2005 09:08 AM

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 : :scratch:

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. :cry:
Please help.

Thanx again

PTrenholme 05-05-2005 09:56 AM

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.

reddazz 05-05-2005 10:07 AM

You need to install kdelibs-devel.

koodoo 05-05-2005 02:35 PM

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 : :cool:

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 : :cry:

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

__J 05-05-2005 02:46 PM

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.

koodoo 05-06-2005 10:17 AM

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. :cry:
Tried Googling on laudiofile and I couldn't make much of it. :scratch:

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.

__J 05-06-2005 01:39 PM

you are missing libaudiofile ( it comes with audiofile).

koodoo 05-06-2005 03:55 PM

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 :D but it would not have been possible without the expert help you offered :cool:

I also googled for the missing laudiofile error and found a few more explanations. :study:

Thanx again you've helped a great deal and saved me a lot of trouble.

__J 05-06-2005 04:59 PM

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.

koodoo 05-07-2005 05:19 PM

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.


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