LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-28-2005, 03:06 PM   #1
frank28_nfls
LQ Newbie
 
Registered: Feb 2005
Location: TLS
Distribution: Mandrake 10.1/FreeBSD 5.3
Posts: 4

Rep: Reputation: 0
Problems of install Glade-2 in MDK10.1


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...
 
Old 02-28-2005, 03:13 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
I know I'm going to get yelled at from the Mandrake veterans for this, but go grab everything from source.

libxml: http://xmlsoft.org/downloads.html

Glade 2 source: http://glade.gnome.org/download.html

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/
 
Old 02-28-2005, 04:00 PM   #3
frank28_nfls
LQ Newbie
 
Registered: Feb 2005
Location: TLS
Distribution: Mandrake 10.1/FreeBSD 5.3
Posts: 4

Original Poster
Rep: Reputation: 0
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.

Last edited by frank28_nfls; 02-28-2005 at 04:03 PM.
 
Old 02-28-2005, 04:33 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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.

Last edited by Micro420; 02-28-2005 at 04:37 PM.
 
Old 03-01-2005, 04:21 AM   #5
frank28_nfls
LQ Newbie
 
Registered: Feb 2005
Location: TLS
Distribution: Mandrake 10.1/FreeBSD 5.3
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks again Micro

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?
 
Old 03-01-2005, 02:19 PM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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.

Last edited by Micro420; 03-01-2005 at 02:21 PM.
 
  


Reply



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
(ubuntu) Glade Problems blankdev Programming 4 12-26-2007 03:59 PM
Glade 2.5.0 and Perl-Glade-Two - a little help please Lake-end Programming 1 03-07-2005 04:47 AM
Help install MDK10.1. bchivers Linux - General 3 01-07-2005 08:17 PM
glade problems with autogen.sh tamtam Programming 5 07-29-2004 06:57 PM
GUI>>glade i want to install C++ compiler amr_azima Linux - Software 1 03-21-2002 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration