MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI, everyone, as you've seen the title, you all know that I'm a Newbie in Mandrake.
In fact, i'm doing a project in college with Gtk/Glade2. So i wish to install it in my Mandrake10.1. After downloading the source file, i ran ./configure as usual, but i got this error message:
Quote:
configure: error: Library requirements (libxml-2.0 >= 2.4.1 gtk+-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
so i first checked README ofGlade-2, and found it said: "If you have GNOME 2 you should already have this." and yes, i am using exactly GNOME2.6 now! This is the first thing i cannot understand.
i then looked into package installer in Mandrake, and found that there were 2 "libxml2" package. As i searched also on net, i knew that it was "libxml2-devel" which i must install. But i met the second chose that i don't understand: it said always an error of "zlib-devel" didn't satisfait, and it just couldn't continue. I also tried to download zlib-devel.rpm, but it said this time, that "zlib has installed already". So... I don't know how can do now.
Pls tell me where i was wrong, any suggestion is also welcome. Thx
PS: why glade-2 cannot be installed directly in Mandrake's installer? i saw it was contained with Fedora though...
And then you will need to get GTK+, which requires GLIB,ATK, and PANGO (I recommend installing to /usr by using the ./configure --prefix=/usr command) http://www.gtk.org/download/
In fact, i tried to download the source of libxml which was libxml2-sources-2.6.17.tar.gz. I always notice that men say "it needs libxml2-devel", but i did't find the source with "devel". so i picked that one, and do "./configure" "make" "make install". No errors during installation, but after, when i tried to install Glade-2 from source, i got the same error as before. so in my oppion, it was not because of the way to install. And i always have this question: as "libxml-2.0" and "gtk+" are the libaries needed by GNOME, and i have GNOME2.6 installed and run without problems, it dosn't mean these two have already been installed? but why can't pkg-config find them? sorry that i don't know much of the organisition of Linux, pls explain to me with more details as possible. Thanks.
Last edited by frank28_nfls; 02-28-2005 at 04:03 PM.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Quote:
Originally posted by frank28_nfls Thanks~
In fact, i tried to download the source of libxml which was libxml2-sources-2.6.17.tar.gz. I always notice that men say "it needs libxml2-devel", but i did't find the source with "devel". so i picked that one, and do "./configure" "make" "make install". No errors during installation, but after, when i tried to install Glade-2 from source, i got the same error as before. so in my oppion, it was not because of the way to install. And i always have this question: as "libxml-2.0" and "gtk+" are the libaries needed by GNOME, and i have GNOME2.6 installed and run without problems, it dosn't mean these two have already been installed? but why can't pkg-config find them? sorry that i don't know much of the organisition of Linux, pls explain to me with more details as possible. Thanks.
When you download a source file, there is no *-devel file.
The reason you are getting that error still is because you need two items - libxml and GTK+. Unfortunately, I believe that error message you get is just a generic dependency error. You already installed libxml (assuming it went correct), and now you need to get GTK (I know, you already have GNOME installed so what's going on, right). TRY going to your Mandrake control center --> software --> INstall and search for gtk. Install gtk if it isn't already, including gtk+-devel if it is there. If it is NOT there, then just get GTK+, and its dependencies, from source and just install it that way. I installed my GTK+ and dependencies into my /usr directory and never have had a problem finding GTK or GLIB or Pango or ATK. If you default install GTK+ and its dependencies, it goes into /usr/local, which gets REALLY messy because you have to start exporting this and that. You can try running as root, ldconfig, and see if that updates your library files or not. Exporting can get messy and I have seen a lot of threads in the Mandrake forum AND software forum about this problem.
but, i am sorry that i can't make it. i tried to download gtk and other packages as Glib, Pango, ATK. i followed the ordre to install them, and during that time, i was asked to install some other pakages...ok, i followed! but i was still locked after all installed! SAME ERROR that it can't find gtk/libxml installed! Is this something so called "Dependences Hell"?
but luckily, i find this guide , and use "Easyurpmi" introducted, i finally get Glade2 installed!! but,yes, it's a pity that there is actually only glade2-2.6.0's package, not the latest 2.6.8...however, so far so good, i am very happy already to be able to work again
Anyway, thanks Micro, thanks for your patience to a newbie like me.
PS: I just want to know if in Mandrake's PowerPack there is the latest Glade2? In fact, i find that Mandrake is just a great product for me, i want to stay with it, so according to you, is it valuable that PowerPack?
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Glad you got Glade2 working! I feel so stupid because I should have just told you to URPMI glade rather than have you get its dependencies and work with that. That's my fault and stupidity. *doh*
I have the PowerPack and to be honest, you don't really need it. You can always get your programs from URPMI, or from other sources. PowerPack just comes with additional programs on extra CD's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.