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. |
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.
|
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. |
All times are GMT -5. The time now is 03:10 PM. |