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-20-2003, 11:24 PM   #1
Mehul_Sangani
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
GLIB error while installing giFTcurs


I'm trying to install client for giFT, I spend pretty much all day today but wasn't able to get it work.

While running ./configure I get below errors:
:
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... 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: You need glib-2.0 to compile giFTcurs

I did install glib and for weird reason it installed in /usr/share/doc directory but it is there.

[root@localhost doc]# pwd
/usr/share/doc
[root@localhost doc]# ls | grep "glib"
glib-1.2.10
glib2-2.2.3
glibc-2.3.2
glibc-common-2.3.2

I looked at the configure source, and it seems like it fails while running pkg-config, so I tried running from command line

[root@localhost giFTcurs-0.6.1]# pkg-config --modversion glib-2.0
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

And yes I even tried setting environment varibale PKG_CONFIG_PATH to /usr/share/doc with no luck

I hope I have presented enough information to get it fixed. Really need your help guys.
 
Old 09-21-2003, 01:23 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
/usr/share/doc is really what it sounds like, a documentation directory. There shouldn't be any binaries in there. Instead, it looks like you might want to try to upgrade your pkg-config package instead. You can usually find decent documentation from your distro on upgrading things as major as glib and it's relatives (glib, gtk, pkg-config) or if not, and you want to from source, definitely read up from the page where you get the files from.

Cool
 
Old 09-21-2003, 01:23 AM   #3
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
install the development files of glib, most likely to be
libglib1.2-dev
libglib2.0-dev
glib1.2-dev
glib2.0-dev

or something like that, you get the picture right?
 
Old 09-27-2003, 12:18 PM   #4
johnewing
Member
 
Registered: Jul 2003
Location: Scotland
Posts: 34

Rep: Reputation: 16
I had the exact same problem which was driving me crazy

To fix it you should install the glib2-devel rpm
for your distro. Should be on the install cd's somewhere

I use redhat so the filename for the rpm was
glib2-devel-2.2.11.rpm( got from www.rpmfind.net)

so to install
$ su
(enter root password)
#rpm -iv glib2-devel-2.2.11.rpm

after this run ./configure again and it should work

hope this helps you

J
 
  


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
giFTcurs-0.5.7 Error - Missing giftlib Jose Muņiz Linux - Software 7 04-02-2005 04:35 PM
Installing XMMS Error with glib Egan Linux - Software 4 12-21-2004 10:31 AM
GLIB error while installing an application abdullahgee Linux - Software 1 06-04-2004 05:10 AM
giFTcurs cant find right version of glib Sephiroth Linux - Software 5 02-11-2004 08:48 PM
giFTcurs requires gLib.. do I have it? whoistom Linux - Software 20 09-17-2003 04:16 PM


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