LinuxQuestions.org
Visit Jeremy's Blog.
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 05-06-2003, 04:06 PM   #1
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 30
Trouble installing glib 2.2.1 from source


It goes through the configure, make, and make install fine. However, whenever I try to install pango-1.2.0, it says I don't have glib! What's the deal here?

I'm using Mandrake 9.1. I'm somewhat new to Linux (at least what Linux has become today; I started out with Redhat 6, got bored, and later started using FreeBSD on an old laptop for fun).
 
Old 05-06-2003, 04:12 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
/sbin/ldconfig
 
Old 05-06-2003, 04:51 PM   #3
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
I'm assuming you mean for me to run that - and I did (had to SU for it). Still no go, pango doesn't know where glib is.
 
Old 05-06-2003, 05:12 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Read man ldconfig and make sure your /etc/ld.so.conf is set up correct. If still no joy then you can run "./configure --help" in the top level of the pango source, there may be an option to state explicitly where glib is.
 
Old 05-06-2003, 07:33 PM   #5
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
Yeah, my /etc/ld.so.conf is set up correctly. No option to state where glib is (however it is in /usr/local/lib). I added a line in my ld.so.conf, "/usr/local/lib/glib-2.2.1", the location of the glib install, too. Still no go. I need to get pango and atk-1.2.0 to install the latest GTK+ for a slew of programs. Is there any hope of getting around this perhaps?
 
Old 05-06-2003, 08:02 PM   #6
llee
LQ Newbie
 
Registered: Apr 2003
Posts: 23

Rep: Reputation: 15
type "locate glib" it will give your clues.
 
Old 05-06-2003, 10:16 PM   #7
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
Feh. I'm going to try reinstalling... I dunno, maybe it'll work then. :/
 
Old 05-06-2003, 11:20 PM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Have run
make distclean
in pango directory? If you ran it previously w/o glib installed the configuration is stored in config.cache file to clean it up most developers provide make distclean target, or in the worst case scenario you should unpack pango tarball again, and as far as /etc/ld.so.conf goes make sure /usr/local/lib is there if you are positive glib libs are in /usr/local/lib directory and run ldconfig again to make the system aware of new shared libs. Good luck.
 
Old 05-07-2003, 07:22 PM   #9
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
It seems, in the grand scheme of things, I can't get ANYTHING installed through compiling the source. I think that may be the problem, at least...

I have GTK+ (1.2 I think), but nothing seems to see it in compiling. The only thing I have managed to compile and install is WINE, but it doesn't really work all that well :/

Feh, I think I'm just overdramatizing the situation.

I have glib 2.0.0 installed, should I try and remove that somehow before I try to install the latest? I never had a problem like this with FreeBSD.

If it comes in the Mandrake RPM form I can usually get it installed - I have installed Ayttm through RPMs (even though I couldn't compile it and install with the source), as well as some other stuff.

I'll do a hunt for an RPM for glib and see if that works. If I need to, I can re-install - it won't be that huge of an issue since I haven't done that much serious configuration yet.
 
Old 05-07-2003, 08:17 PM   #10
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
If you want to compile anything, you need the development files of quite a few libraires, like glib, gtk, ...
Search for glib-dev or something like that on you cd's
 
Old 05-07-2003, 09:02 PM   #11
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
I have glib-dev on already. It's ordinary glib that isn't being recognized as being installed.

What I might try is finding some software that only requires glib 2.0.0, since that is what I have installed.
 
  


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
Trouble with glib while installing xchat Kossu^2 Linux - Newbie 1 04-03-2005 11:25 PM
Trouble installing XMMS, gtk/glib issues. MDBlueIce Linux - Newbie 11 02-26-2005 10:00 PM
trouble installing gtk, on glib pkgconfig returned 2.4.2 but 2.2.3 was found uv1 Linux - Newbie 7 08-02-2004 10:42 AM
trouble installing anything that relies on glib 2 alphisb0t Linux - Software 1 06-03-2004 10:45 AM
Trouble with installing programs from source xtree Linux - Software 4 03-03-2004 07:42 AM


All times are GMT -5. The time now is 06:21 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