Quote:
Originally posted by dorakyura
Ok, in order to install a proper version of GTK I went to www.gtk.org and downloaded the files for:
glib-1.2.10
gtk+-1.2.10
untared them and tried to install them (I hope these files are the right ones?).
[...]
Nevertheless a new ./configure found a suitable version of glib *hurray* but returned yet another error *booh*
[...]
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.
Isn't X the base of the whole desktop system? It should be there, shouldn't it?
|
Hm, is it true that you run
debian? Why are you going to gtk.org to download the tarball? If you are going to install the tarball, you'll need to compile it, an thus you'll need the development packages of XFree. That's the reason of the message: "X libraries or include files not found"
Some basics on linux software: Usually developers split whatever they write into two files: a header and a c/c++ file. Compiling uses both files to make an object file. These object files are linked to make a programm you can run. Now a pre-compiled package is basically the programm and some additional stuff.
However, some programms are linked against other packages when compiled. To be able to link against these packages you need the header files. These header files are in the development packages. That's why you often have two or more
packages out of one
tarball: a programm and a development package (the gtk tarball is coming in five packages under debian, for example)!
Getting these development packages is a really easy thing; no need to install and compile tarballs. In fact, chances are you can bring your system into an unusable state if you have no plan what to do.
Then central question is now: What Debian distribution are you using (Sorry. I haven't seen it before.)?
If you're using sarge (testing) or sid (unstable), imply use:
Code:
apt-get install xmule
and there you go! If you're using woody, you'll need a backport. Add the following lines to your "/etc/apt/sources.list":
Then, use "apt-get update" as root to update your package information and then use the above command to install xMule.
Everything is just simple under Debian.
Note: Only install tarballs if there's absolutly no other way. Best way under woody is to use a backport, if there's none, you can make yourself one (this is also rather simple). If you have no backport or no sources in testing or unstable to make yourself one, then there is the "checkinstall" way to make a debian package out of tarballs!