Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Paladin9 on 8 February 2004, 06:34

Title: I need pkg-config help!
Post by: Paladin9 on 8 February 2004, 06:34
When I try to install glib (in x11 under os x) I get an error that it could not find pkg-config even though I already intalled it by using "./config" then "make" and then "make install".  After doing all of that, glib thinks it is still not there. Help?
Title: I need pkg-config help!
Post by: WMD on 8 February 2004, 08:29
"./config"?  isn't it "./configure"?
Title: I need pkg-config help!
Post by: insomnia on 8 February 2004, 08:43
...and OS X just isn't Linux.
Title: I need pkg-config help!
Post by: Stryker on 8 February 2004, 11:39
it doesnt matter if its config or configure, its just the name given to some program its irrelevant.

what's the error you get (quote it please)?
Title: I need pkg-config help!
Post by: Paladin9 on 9 February 2004, 02:30
"pkg-config not found" or something.  I already intalled the latest version. And I ment to say "./configure" in that first post.
Title: I need pkg-config help!
Post by: KernelPanic on 9 February 2004, 14:44
Is there an option you can pass to config to tell it where pkg-config is? It would be in the README or INSTALL docs, it you have them.
Title: I need pkg-config help!
Post by: Paladin9 on 10 February 2004, 03:44
that is what I would like to know.  I also already looked around in the INSTALL and README documents and found nothing usefull
Title: I need pkg-config help!
Post by: flap on 10 February 2004, 04:19
Are you sure pkg-config installed correctly? Can you run it?

[ February 09, 2004: Message edited by: flap ]

Title: I need pkg-config help!
Post by: Paladin9 on 10 February 2004, 21:10
how the hell do I run it?
Title: I need pkg-config help!
Post by: Stryker on 10 February 2004, 13:50
type in pkgconfig

do this as root:

updatedb
whereis pkgconfig


then make sure the binary is in $PATH when configuring.
Title: I need pkg-config help!
Post by: Paladin9 on 11 February 2004, 08:04
ARGHHH!

I did that and now every time I do ./configure with ANYTHING it says something like "C compiler can not create executables".  What am I doing wrong?  Please help!! I am getting very frustrated with this stuff.  I am new to doing these things so I do not really know what I am doing.  I know very little, if anything, about UNIX but I would like to learn much more.