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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-20-2003, 02:20 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Tracy, California
Posts: 17
Rep:
|
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?....
|
|
|
08-20-2003, 03:51 AM
|
#2
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
Remove the old version of glib (2.2.1).
regards,
hfawzy.
|
|
|
08-20-2003, 03:34 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Tracy, California
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
08-20-2003, 04:11 PM
|
#4
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
did you install the new glib (2.2.2) from source or from an rpm package ?
|
|
|
08-20-2003, 04:43 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Location: Tracy, California
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
08-20-2003, 07:16 PM
|
#6
|
LQ Newbie
Registered: Aug 2003
Location: Tracy, California
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
08-20-2003, 08:31 PM
|
#7
|
Member
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100
Rep:
|
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.
|
|
|
08-20-2003, 10:37 PM
|
#8
|
LQ Newbie
Registered: Aug 2003
Location: Tracy, California
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
08-21-2003, 12:12 AM
|
#9
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
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
|
|
|
08-21-2003, 03:12 PM
|
#10
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
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.....

|
|
|
08-21-2003, 08:17 PM
|
#11
|
LQ Newbie
Registered: Aug 2003
Location: Tracy, California
Posts: 17
Original Poster
Rep:
|
hfa, still the same problem, any other suggestions?....
|
|
|
08-22-2003, 01:37 AM
|
#12
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
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?
|
|
|
08-22-2003, 10:56 AM
|
#13
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
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
|
|
|
08-22-2003, 12:57 PM
|
#14
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
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).
|
|
|
08-22-2003, 01:14 PM
|
#15
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 06:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|