LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2003, 02:20 AM   #1
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Rep: Reputation: 0
Unhappy Pango install problem


checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.2, but GLIB (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
[jrel@localhost pango-1.2.3]$
______________________________________________________

This is the error i get when trying to ./configure pango-1.2.3, any suggestions?....
 
Old 08-20-2003, 03:51 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Remove the old version of glib (2.2.1).
regards,
hfawzy.
 
Old 08-20-2003, 03:34 PM   #3
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
how would i go about doing that tho?

Ok update: i checked a few sites, said to export PKG_CONFIG_PATH=/usr/local/bin/pkg-config
So thats what i did, and then i ran ldconfig. And this is the new error
______________________________________________________
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.3... no
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
_______________________________________________________

Any suggestions?


Last edited by JreL; 08-20-2003 at 04:08 PM.
 
Old 08-20-2003, 04:11 PM   #4
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
did you install the new glib (2.2.2) from source or from an rpm package ?
 
Old 08-20-2003, 04:43 PM   #5
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
from source, trying to do everything from source, so i might accually even change to slackware. Because i read some post and what not, that RPMs install in different dir, so things get confusing when trying to find each other. Personally i'd rather mess w/ the sources, its funner =D And im running mandrake 9.1 right now.
 
Old 08-20-2003, 07:16 PM   #6
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
Ok, not much help, so i'll add another Q:, so this stays up on top =D. Ok, when using RPM files, if they're for RH, can i also use them for mandrake?.. Because alotta applications ive found only give RPMs listed for RH and Deb but none for mandrake.
 
Old 08-20-2003, 08:31 PM   #7
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
I'll help you keep this at the top.

I'm not sure the PKG_CONFIG_PATH you defined is correct but it wouldn't account for glib-2.0 not being found. Did you uninstalle it?

If you installed from source you should be able to do a "make uninstall" in the directory from which you built and installed the kit. If you no longer have the build directory you can try re-creating it by downloading the kit again (this is why I backup the build directory after installation). You'll have to do the ./configure and make commands again before executing the "make uninstall".

Something seems wrong though. I would have thought that installing glib-2.0 version 2.2.2 would have overwritten glib-2.0 version 2.2.1. If you haven't already done it you should uninstall both versions then re-install v2.2.2 from a new build directory.
 
Old 08-20-2003, 10:37 PM   #8
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
Well, my older version of glib came w/ the install CD. So what im going to do next is try to do the RPM uninstall, and then reinstall the new version of glib, and see how the fares out. I'll keep it informed, this can be reference for anyone w/ same problem.
 
Old 08-21-2003, 12:12 AM   #9
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Hi,
Try to follow this steps :
1-If you already uninstalled the new glib, install it again.
2-rpm -e --nodeps glib-2.2.1 (the old glib)
3-export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
4-Compile pango-1.2.3

HTH,
hfawzy
 
Old 08-21-2003, 03:12 PM   #10
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Unhappy

I Have the exact same problem, could you explain How to uninstall the old GLIB?.....I also have tried installing everythin, GLIB, Pango, ATK, but I get an awful error with freetype (that is requiered for fontconfig, which is also required for Pango)...

What should I do, install everything from scratch?....keep on trying this way?

I am confused.....



 
Old 08-21-2003, 08:17 PM   #11
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
hfa, still the same problem, any other suggestions?....
 
Old 08-22-2003, 01:37 AM   #12
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
When you 'say still the same problem', do you mean the error with "pkg-config --modversion glib-2.0 returned 2.2.2, but GLIB (2.2.1)
was found! etc..." or the other one with glib could not be found? Also when you erased the old rpm, did it output any thing ?
and are you sure that you set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and not /usr/local/bin/pkg-config?
 
Old 08-22-2003, 10:56 AM   #13
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Question

Hi everybody,

I followed your instructions (removed glib rpm) and also other files such as /lib/glib/glibconfig.h as well as the gtk rpm (with the -e --nodeps option). Then I could install pango beautifully, atk, and even the newest version of glib. then I installed the latest version of gtk and found all the new dependencies!.

Of course all the apps that were linked to the old dependencies are not working now, so when trying to install the latest (gaim or ethereal for example) I keep getting the following error about gtk 2.0 not detected:

checking for GLIB - version >= 2.0.0... yes (version 2.2.0)
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.

I did the export PKG_CONFIG_PATH=usr/local/lib/pkgconfig, and still cant get the apps to recognize GTK......

Thanks for your help in advance
 
Old 08-22-2003, 12:57 PM   #14
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Quote:
PKG_CONFIG_PATH=usr/local/lib/pkgconfig
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig (notice the first slash).
Also, if you ended your session (typing exit in the command line or exiting the terminal ends the session) after you compiled gaim dependencies, you should re-export the PKG_CONFIG_PATH before compiling gaim (or you could add it in your ~/.bash_profile).
 
Old 08-22-2003, 01:14 PM   #15
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Question

Thanks for your reply......I did the export they way it should be since the beginning, but still I get the same error. Somehow, the pkg-config file states that GTK 2.X is not installed:

checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no

so i checked and I have different pkg-config files:

/usr/bin/pkg-config
/usr/local/bin/pkg-config
/usr/local/pkgconfig-0.15.0/pkg-config

I suspect that the /usr/bin/pkg-config is the one that was installed before because GTK+ - 2 installs everything on the /usr/local/ directory...

Do you recommend that I remove the usr/bin one?
How about the one in usr/local/pkgconfig-0.15.0/ ?

regards
manuel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 08:06 PM
pango install fails on make install Seph64 Linux From Scratch 1 10-15-2005 11:17 PM
Can't install pango-1.6.0 ns_sanish Linux - Software 3 10-20-2004 07:29 AM
Pango - Xft install problem the_ref Linux - Software 1 12-02-2003 05:10 PM
Trying to install pango... psyklops Linux - General 8 08-26-2003 06:17 AM


All times are GMT -5. The time now is 06:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration