Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-23-2004, 04:50 PM   #1
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Rep: Reputation: 30
how do I check if glib is on my comp..

I'm trying to narrow down this problem i'm having with a mail client installation (xfmail). It stops the ./configure by giving me two errors:

** Cannot find glib

** Must have working mmap.

I know that i have mmap installed, because 'man mmap' works. Typing it in as a command doesn't work, but the man page says it has to do with a function for programming, not a command.

Now for glib... I am almost 95% sure this is on my comp, because I have compiled so many programs in the past. I have never run into this error (or any failed dependencies with a config script), and it seems that glib is pretty important for compiling stuff, so i'm just guessing I have it installed.

But just to make sure, how would i find out if either of these work properly? I'm hoping its just a problem with the program i'm trying to install.
Old 02-23-2004, 06:21 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Do you have the glib-config program in your path? That is usually how a program checks to see if you have it. Adding `glib-config --libs --cflags` to a gcc command will automatically link all the glib libraries and include files in.
Old 02-23-2004, 06:41 PM   #3
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Original Poster
Rep: Reputation: 30
Well, that command works on my system, but how would i add it to the gcc command? Does the configure script use the gcc command to check for my glib? How would i edit the ./configure file to recognize where my glib lives?

thanks for the reply.

Edit: Well, what ever that command did, it worked. I typed it in as root, and then did the ./configure again for the program. It then configured and compiled successfuly. Thanks a bunch.

Last edited by veritas; 02-23-2004 at 06:54 PM.


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
how to do: using a linux comp to act as router for a windows comp grimhammer Linux - Networking 8 02-10-2005 09:56 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
New comp v's old comp SirLaughAlot General 12 12-21-2003 11:39 AM
couldn't ping a WinXp comp from Fedora Comp tanbetien Fedora 5 12-04-2003 06:03 AM
How to check version of glib? LooseCanon Linux - Software 5 08-31-2003 05:05 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration