LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-10-2003, 08:35 PM   #1
cooljay
LQ Newbie
 
Registered: Apr 2003
Location: Inside my computer
Distribution: Mandrake 9.1/Windows XP
Posts: 19

Rep: Reputation: 0
pango install problome


Hello,
after installing glib 2.2.1 I get this error when I try to install pango:
checking for GLIB - version >= 2.1.3... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

now Glib installed just fine but for some reason pango isnt detecting it

pls help. I am trying to install all this for Mplayer
 
Old 04-10-2003, 08:41 PM   #2
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
try running

#/sbin/ldconfig
 
Old 04-10-2003, 08:51 PM   #3
cooljay
LQ Newbie
 
Registered: Apr 2003
Location: Inside my computer
Distribution: Mandrake 9.1/Windows XP
Posts: 19

Original Poster
Rep: Reputation: 0
nope didnt work. I reinstalled glib just to make sure it was installed correctly.
 
Old 04-11-2003, 04:27 AM   #4
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
Exclamation Similiar problem

I'm getting similar problems with pango except mine are a little more elusive.

What I've done so far is rpm -e anything that could be old gtk-2.* (managing to break many many things).

glib compiles and installs fine. I *finally* figured out how pkg-config works and found the file that it was referencing. I've replaced the glib-2.0.pc file with the one that is made during the build. so now it's correct.

I've installed it, checked it and the file is referencing the correct libraries. or it should be anyway...

so here it the errors that I get:

checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.4)
*** was found! If pkg-config was correct, then it is best
...snip...

That's from ./configure in pango

config.log says:

configure:9721: checking for GLIB - version >= 2.1.3
configure:9837: gcc -o conftest -g -O2 -Wall -I/usr/local/glib-2.2.1/include/gli
b-2.0 -I/usr/local/glib-2.2.1/lib/glib-2.0/include conftest.c -Wl,--export-d
ynamic -L/usr/local/glib-2.2.1/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
>&5
configure:9840: $? = 0
configure:9842: ./conftest
configure:9845: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 9760 "configure"
#include "confdefs.h"
...snip...


I'm thinking that it can't find this file "confdefs.h" but I did a locate on it and wasn't able to find it anywhere.

any help or suggestions?
 
Old 04-11-2003, 06:32 AM   #5
dfbreyes
LQ Newbie
 
Registered: Apr 2003
Location: Makati, Philippines
Distribution: RedHat, SuSE, Gentoo
Posts: 25

Rep: Reputation: 15
I had a similar problem, as I'm currently trying to build from source tar.gz and bz2 files the GNOME2 desktop environment on my RedHat 8.

By default red hat installs the old glib and some other older gnome libraries...so in /usr/lib ...you see libglib-1.2.so.0 or something like that....or somewhere in /usr/local/lib

these so files are links to shared objects....old libraries

you'll have to remove these links...to make them point to the newer glib-2.2.1 ....

also you have to install a new pkg-config version .15 or higher....and export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig".....your path could be different

once I got pkgconfig properly installed, I was able to install atk and pango....

not yet done with gtk+ though....

damn....gnome-2.2.1 has more than 52 packages....
 
Old 04-11-2003, 06:42 AM   #6
dfbreyes
LQ Newbie
 
Registered: Apr 2003
Location: Makati, Philippines
Distribution: RedHat, SuSE, Gentoo
Posts: 25

Rep: Reputation: 15
place the RH8 CD or your distro CD in your drive....

try this useful command

rpm -qp --filebypkg *.rpm > /home/david/filesbypkg

or when you do it again ....

rpm -qp --filebypkg *.rpm >> /home/david/filesbypkg

doing this can tell you what exactly are installed ...
helps determine the dependencies

just vi filesbypkg.....

Try reading Running Linux ...the chapter on Shared Libraries...or also Rute Linux....they've got a chapter also on same topic....

in the directory /etc is a file ld.so.conf

here are the locations where the libraries are located

you can add more directories like /usr/local/lib/pkgconfig ...for example
 
Old 04-11-2003, 06:44 AM   #7
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
Thumbs up

Thanks. Removing the glib so links did the trick.
 
Old 04-18-2003, 05:29 AM   #8
dfbreyes
LQ Newbie
 
Registered: Apr 2003
Location: Makati, Philippines
Distribution: RedHat, SuSE, Gentoo
Posts: 25

Rep: Reputation: 15
That answer I gave previously about removing the link was just a quick fix....

I experienced more problems subsequently....

I found a link which explains how to setup your directories first before starting the installation process.

http://beyond.linuxfromscratch.org/v...ib-config.html

the next time I tried installing gnome2. I was successful. And I didn't need to delete those symbolic links. Gnome2.2 can coexist with the older glib libraries....
 
  


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 09:06 PM
pango install fails on make install Seph64 Linux From Scratch 1 10-16-2005 12:17 AM
Can't install pango-1.6.0 ns_sanish Linux - Software 3 10-20-2004 08:29 AM
Pango install problem JreL Linux - Software 24 09-05-2003 01:46 PM
Trying to install pango... psyklops Linux - General 8 08-26-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration