Linux - SoftwareThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
For some days now i'm trying to install xine (ui & gxine). The engine has been fired up and xine-ui has been added - they work. But now i'm trying to install gxine.
"./configure" went well but with " make" it stops half way trough.
I got the following messages:
"checking for glib-2.0 >= 2.0.0.... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory contains "glib-2.0.pc" to the PKG_CONFIG_PATH enviroment variable.
No Package "glib-2.0" found.
... consider adjusting the PKG_CONFIG_PATH enviroment variable if your liberies are in a nonstandard prefix so pkg-config can find them"
I'm working with RedHat 9.0 (with the latest kernel updates. The packages i'm installing are:
gxine-0.3.3 ; xine-lib-1-beta12 ; xine-ui-0.9.21
What can i do to solve this problem? Who do i know that i haven't got the "glib-2.0" package. Or is the problem that i have a higher version of glib?
Can somebody give this newbie some push in the right direction?
Marcel (Netherlands > that's why the English is that good)
Ive got exactly the same problem. I know that RH9 already includes GLIB (and a bunch of libraries part of GTK such as Pango and ATK). But when I try to install a new app I always find the same error that GLIB is not installed. Since I am installing everything on my /usr/local directory I might think that somehow PKG_CONFIG_PATH should be updated somehow on where to look for the new libraries. I have tried installing all the newest versions and still no luck. If you find the solution please let me know...this is what ive found so far.
Would like to find information on how to edit the PKG_CONFIG_PATH, i am able to find my "missing" libraries with $locate <filename> so i see that they are all indeed there, but pkg-config doesnt see them any help for a newbie trying to learn Linux, C/C++, and compile stuff that isnt in RPM form please post if you have an answer.
Thanks in advance,
Hmm, looks like I've come to the right place. A few of the games I'm trying to install (Quadra, fooBilliards) will go through the cofigure process almost all the way, then it tells me that Glib isn't found....I've tried a few of the options to have it look in different paths, but it's no use : \ . Anyway, I'll keep an eyeball on this thread, and if I find anything else out, I'll certainly post on here to let you guys know!
Hmm....I've got a *ton* of glib files, but none with the ".pc" extension on them....I've got quite a few of them with ".so" and some other stuff, I can either e-mail you or paste the results up on here if you'd like...
After doing some checking, I realized... *slaps forehead* actually, it's libpng that is the issue on the game I was trying to install. I'm going to try the same thing with your advice though, as I *believe* it should work no matter what the library right?
... I really should learn to stop jumping the gun eh? OK...I went to try to ./configure on the game I'm trying to install. Pardon the long post, but here's the results. Just to let you know, I *do* have PNG installed, not only that, but I went and actually D/L'ed PNG and RE-installed it to make sure... anyway, here's the results of my attempt to ./configure :
[root@Hades quadra-1.1.8]# ./configure
creating cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for X... no
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... no
checking for vga_init in -lvga... no
checking for gl_setcontext in -lvgagl... no
checking for vga.h... no
checking for vgagl.h... no
checking for vgamouse.h... no
checking for vgakeyboard.h... no
checking for zlib.h... yes
checking for png.h... no
configure: error: libpng is required and could not be found!
Also, reading back through... anyone have a clue as to why it thinks I don't have X? I'm assuming that it's talking about the x-server (gui)?
you were wondering if I did it from RPM or from source. Well, afaik, PNG is supposed to come with the RH9.0 install, and again afaik, it did, it says I've got the pnglib installed when I "locate" it, it's just that this program isn't picking it up...*continues scratching his head* could you tell me how this program (or any program for that matter) "knows" where/how to find the necessary libraries when it goes to compile something?
I downloaded and installed from tarball pkg-config 0.12 and have the exact same problems as i had to start with, i also gained a new problem in the process, now <$pkg-config --list-all> command no longer works /shrug, beats the hell outta me. I was able to successfully compile my own kernel, so that said, i guess maybe its time for me to ditch the RH distro entirely and go with Gentoo or maybe even LFS.
I will keep checking back here, and it will probably take me a week or so to get somthing together before i even attepmt Gentoo or LFS, if pkg-config works well for me on one of those distro's i will post back my results.
GL and Talk to you all later,
Interesting thought and one of the minor irritations about *Nix that I've had so far is that what is "supported" on one dist isn't on another. YIM comes quickly to mind. It didn't work correctly (I got 2 point font on EVERYTHING) on Mandrake, but it works just fine w/RH... I just wanted to play a couple o' games lol.....anyway, I'll keep checking back.