This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't find X includes. Please check your installation and add the correct paths!

Tags: None
(comma "," separated)
lnthai2002
Registered Member
Posts
6
Karma
0
I tried to compile amarok from source using:

./configure --prefix=`kde-config --prefix` --disable-amazon --without-gstreamer --without-helix --with-xine

and this is what i got

Can't find X includes. Please check your installation and add the correct paths!

I guess that i have ton install the x-devel but i cant find any devel package for x on yum!!! I am using fedora 5 with xine-libs compiled from source too.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Asking google, it tells me FC5 has a
xorg-x11-proto-devel-7.1-2.1.i386.rpm
packet. There are a couple of more packets with devel in it
(see e.g. http://download.fedora.redhat.com/pub/f ... dora/RPMS/).
I am not sure about detail, I am not using FC.

Does this help?
lnthai2002
Registered Member
Posts
6
Karma
0
I install the xorg-x11-proto-devel and all of its dependencies but some how amarok still can not compile. I got the same error: can not find x included.
Compiling xine-lib as dependencies for amarok also give warning that XFree86-devel or something similar must be installed. However, it's just the warning, xine-lin was compiled. But amarok doesn't.
Any other suggestion?
Thanks in advance
PS: I dont wanna use the recompiled amarok shipped with fedora since it use helix engine only and helix does not have enough codecs to play most of media file i need.

Last edited by lnthai2002 on Thu Jul 20, 2006 9:35 pm, edited 1 time in total.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
There are all kinds of devel packages for xorg, have you installed all of them?
I am not using FC, so I cannot give you better hints on this, sorry.
lnthai2002
Registered Member
Posts
6
Karma
0
OK, checking the log file, i managed to install all devel packages and compile amarok successfully. Here is the list of packages needed to build amarok, since i'm using fedora without intension to compile anything from source, i must install most of the devel package and some binary package for kde :(
Installing:
xorg-x11-proto-devel    i386      7.0-6            core              263 k
Installing for dependencies:
libX11-devel            i386      1.0.0-3.FC5.0    updates          662 k
libXau-devel            i386      1.0.0-2.2        core              11 k
libXdmcp-devel          i386      1.0.0-2.2        core              7.1 k
mesa-libGL-devel        i386      6.4.2-6.FC5.3    updates          116 k
---------------------------------------------------------------------------
Installing:
libXt-devel            i386      1.0.0-2.2        core              338 k
Installing for dependencies:
libICE-devel            i386      1.0.0-2.2        core              13 k
libSM-devel            i386      1.0.0-2.2        core              9.3 k
---------------------------------------------------------------------------
Installing:
libXext-devel          i386      1.0.0-3.2        core              58 k
----------------------------------------------------------------------------
Installing:
qt-devel                i386      1:3.3.6-0.4.fc5  updates            14 M
Installing for dependencies:
fontconfig-devel        i386      2.3.94-1        core              168 k
freetype-devel          i386      2.1.10-5.2.1    core              576 k
libXcursor-devel        i386      1.1.5.2-2.2      core              14 k
libXft-devel            i386      2.1.8.2-3.2      core              16 k
libXinerama-devel      i386      1.0.1-1.2        core              5.0 k
libXrandr-devel        i386      1.1.0.2-2.2      core              15 k
libXrender-devel        i386      0.9.0.2-3.2      core              8.6 k
libjpeg-devel          i386      6b-36.2.1        core              106 k
libmng-devel            i386      1.0.9-3.2.1      core              53 k
libpng-devel            i386      2:1.2.8-2.2.1    core              180 k
mesa-libGLU-devel      i386      6.4.2-6.FC5.3    updates            13 k
----------------------------------------------------------------------------
Installing:
kdebase-devel          i386      6:3.5.3-0.4.fc5  updates          113 k
Installing for dependencies:
alsa-lib-devel          i386      1.0.11-4.rc2    updates          1.4 M
arts-devel              i386      8:1.5.3-0.1.fc5  updates          215 k
audiofile-devel        i386      1:0.2.6-2.2.1    core              91 k
bzip2-devel            i386      1.0.3-2.2.1      core              38 k
e2fsprogs-devel        i386      1.38-12          core              544 k
esound-devel            i386      1:0.2.36-2.2.1  core              32 k
gamin-devel            i386      0.1.7-1.2.1      core              34 k
glib2-devel            i386      2.10.3-1        updates          1.2 M
htdig                  i386      3:3.2.0b6-6.4.2.1  core              1.0 M
kdebase                i386      6:3.5.3-0.4.fc5  updates            28 M
kdelibs-devel          i386      6:3.5.3-0.4.fc5  updates          1.3 M
krb5-devel              i386      1.4.3-4.1        core              957 k
libacl-devel            i386      2.2.34-1.2      core              82 k
libart_lgpl-devel      i386      2.3.17-2.2.1    core              72 k
libattr-devel          i386      2.4.28-1.2      core              33 k
libgcrypt-devel        i386      1.2.2-1.2.1      core              270 k
libgpg-error-devel      i386      1.1-1.2.1        core              15 k
libidn-devel            i386      0.6.2-1.1        core              229 k
libogg-devel            i386      2:1.1.3-1.2      core              80 k
libtiff-devel          i386      3.7.4-7          updates          483 k
libvorbis-devel        i386      1:1.1.2-1.2      core              563 k
libxml2-devel          i386      2.6.23-1.2      core              2.1 M
libxslt-devel          i386      1.1.15-1.2.1    core              284 k
lm_sensors              i386      2.9.2-1          core              481 k
openssl-devel          i386      0.9.8a-5.2      core              1.9 M
pcre-devel              i386      6.3-1.2.1        core              195 k
xorg-x11-xdm            i386      1:1.0.1-2        updates          116 k
----------------------------------------------------------------------------
Installing:
taglib                  i386      1.4-2.fc5        extras            137 k
---------------------------------------------------------------------------
Installing:
taglib-devel            i386      1.4-2.fc5        extras            767 k
----------------------------------------------------------------------------
Installing:
ruby                    i386      1.8.4-6.fc5      updates          253 k
Installing for dependencies:
ruby-libs              i386      1.8.4-6.fc5      updates          1.5 M
----------------------------------------------------------------------------
Installing:
faad2-devel            i386      2.0-8.fc5        freshrpms          17 k
----------------------------------------------------------------------------------
NOW THE QUESTIONS IS: WILL AMAROK BE WORKING AFTER I REMOVE ALL THE PACKAGES ABOVE? Most of the packages above are header, lib, and some binary(kdebase). BTW, i use amarok on GNOME so i dont need konqueror-sidebard support, how can i tell amarok compile without it?
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
lnthai2002 wrote:NOW THE QUESTIONS IS: WILL AMAROK BE WORKING AFTER I REMOVE ALL THE PACKAGES ABOVE? Most of the packages above are header, lib, and some binary(kdebase).


You can savely remove all the devel packages, they are just needed for comilation. You will needs the libs used by amarok

BTW, i use amarok on GNOME so i dont need konqueror-sidebard support, how can i tell amarok compile without it?


I checked ./configure --help and there seems to be no option to remove KDE sidebar support.
lnthai2002
Registered Member
Posts
6
Karma
0
The installation instruction says that KDEbase pakage is optional, but when i compile amarok, i got error message asking for KDEbase-devel which will install KDEbase as it dependencies. How can i disable suport for KDEbase? Should i change the prefix--kde --prefix` to something else? One more thing, now i have a working binary amarok file, how can i put it in a rpm package to install other fedora machines so that i dont have to install all the devel package on those computer just to recompile amarok again?
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
wrong place here to ask for how to make a fedore package. You should find some howtos out there (use your favorite search engine) or find a way to adjust existing packages (which is probably easier).


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]