LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-03-2007, 01:15 PM   #1
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Rep: Reputation: 15
Installed software not recognized


I was trying to install gtk. I had to install pango and glib before that.
So I downloaded the source for glib-2.12.0. I downloaded glib-2.12.0.tar.bz2 and used

tar -xvjf glib-2.12.0.tar.bz2 .

I did this from my home directory. Compiled and installed it.

Then I dowloaded pango-1.16.0.tar.bz2, used the command

tar -xvjf pango-1.16.0.tar.bz2 . I did this too from my home directory only.

When trying to run the configure script it reported the following:

Quote:
configure: error:
*** Glib 2.12.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

It showed this although I had installed Glib 2.12.0.

What should I do?

Thank you.

Last edited by Carunkumar; 09-03-2007 at 01:18 PM.
 
Old 09-03-2007, 01:18 PM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Which path did you install it to? Did you install it to your home directory somewhere? If you installed it to an uncommon directory, you have to make sure that it's in your $PATH.
 
Old 09-04-2007, 12:24 AM   #3
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
The folder glib-2.12.0 was in my home directory. I did ./configure and did not pass any arguments to the script.

I found these information in the INSTALL file:

Quote:
Simple install procedure
========================

% gzip -cd glib-2.12.0.tar.gz | tar xvf - # unpack the sources
% cd glib-2.12.0 # change to the toplevel directory % ./configure # run the `configure' script
% make # build GLIB

[ Become root if necessary ]
% rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h
% make install # install GLIB
Quote:
Installation directories
========================

The location of the installed files is determined by the --prefix
and --exec-prefix options given to configure. There are also more
detailed flags to control individual directories. However, the
use of these flags is not tested.

One particular detail to note, is that the architecture-dependent
include file glibconfig.h is installed in:

$exec_prefix/lib/glib/include/

if you have a version in $prefix/include, this is out of date
and should be deleted.

.pc files for the various libraries are installed in
$exec_prefix/lib/pkgconfig to provide information when compiling
other packages that depend on GLib. If you set PKG_CONFIG_PATH
so that it points to this directory, then you can get the
correct include flags and library flags for compiling a GLib
application with:

pkg-config --cflags glib-2.0
pkg-config --libs glib-2.0
Where would have the file got installed?

Thank you.
 
Old 09-04-2007, 12:54 AM   #4
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
I gave

Code:
./configure --prefix /usr/local --exec-prefix /usr/local
and installed it.

Even then in the /usr/local/lib the folder is glib-2.0 . Is it because of this pango is saying that it needs glib-2.12.0??
 
Old 09-04-2007, 08:09 PM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
It looks like you already have glib-2.0 installed, you need to remove that first or when you run ./configure, look for something like --with-glibdir= or something like that and just point it to the new glib installation.
 
Old 09-05-2007, 12:59 PM   #6
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
I tried $./configure --help for options. But I didn't find anything corresponding to --with-glibdir= . When I tried installing the glib-2.12.0 in my home directory itself by setting --prefix=~/glib-2.12.0 ,even then when I run the configure script in the pango directory, I get that glib is missing.

When I tried to remove my old glib with the command:

#yum remove glib2.i386


it said some 500 files have to be erased for satisfying dependencies. I didn't know what to do? Is there anyway by which I can update my glib to the version glib-2.12.0?

Thank you.

Last edited by Carunkumar; 09-05-2007 at 01:00 PM.
 
Old 09-05-2007, 07:03 PM   #7
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
I'm not real familiar with Fedora Core, is there any way to do like
Code:
 #yum upgrade glib2.i386
And, by the way you really don't want to just uninstall glib, as some other packages are linked to it and will not work if it's not there. You'll end up with a ton of errors.
 
Old 09-14-2007, 07:38 AM   #8
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
No. I think my yum is not working properly. I used the command to list the softwares installed and removed earlier version of glib.

When I tried to install it again using yum, it said nothing to do. Now my gnome is not working properly. I am going to reinstall everything with the installation cd. Is there any way to repair it using the installation cd?
Thank you.
 
  


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
nVidia drivers installed but not recognized mmaleck Linux - Newbie 5 03-16-2007 02:28 PM
?? installed memory is not recognized kaz2100 Linux - General 6 07-13-2006 01:38 PM
wireless card not recognized? drivers installed using ndiswrapper jmroach Linux - Wireless Networking 3 03-04-2005 11:49 AM
Webcam module installed, recognized, but not working MikeOliveri Linux - Hardware 0 02-05-2005 06:46 PM
Ethernet card not recognized in xp after driver installed in red hat? Jawbreaker4Fs Linux - Networking 7 05-03-2004 06:28 AM

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

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