SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241
Rep:
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.
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.