Linux - Software This 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. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-01-2006, 01:18 PM
|
#1
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Rep:
|
Installing gkrellm
I've been trying to install gkrellm, but I needed to install cairo, glib, atk, gtk+ and pango beforehand. So I do so, and everything seems fine, except when I go to install gtk+.
I get the following error:
Code:
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.8.5 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
For glib, atk, pango and cairo I've downloaded the source tarballs, unzipped them to their own directories in /opt/ and run "./configure && make && make install". Each of them have installed properly.
How do I modify PKG_CONFIG_PATH? (as I'm assuming that's my only issue here)
|
|
|
03-01-2006, 02:05 PM
|
#2
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
PKG_CONFIG_PATH is just a shell variable
export PKG_CONFIG_PATH=
is the usual way to adjust
if you already had glib gtk and freinds installed in /usr
and you installed new ones in /usr/local
you have a mess on your hands
better in situations like this to just use an older version of gkrellm
|
|
|
03-02-2006, 01:41 PM
|
#3
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Original Poster
Rep:
|
Sweet deal. Thanks for the reply man. Yeah, I don't think I had glib and gtk installed - as wierd as that may sound. I ran "pkg-config --modversion glib-2.0" before I installed the package I downloaded, and it said I didn't have glib (which I find really frightening). After I installed the downloaded tarball, the command returned the version I had just installed, so I'm not too worried about that.
After checking /usr/local, I found all the drivers and header files for atk, cairo, glib, and pango, but not the *.pc files that the configure script is complaining about, so, do I copy all the *.pc files from the unzipped tarballs into /usr/lib/pkgconfig?
Last edited by indienick; 03-02-2006 at 01:44 PM.
|
|
|
03-02-2006, 01:49 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Original Poster
Rep:
|
Please disregard that last question!
I scanned through my /usr/local folders again, and in /usr/local/lib/pkgconfig, I found all the *.pc files that the configure script has been complaining about.
So, do I set PKG_CONFIG_PATH to this:
Code:
# export PKG_CONFIG_PATH=PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
|
|
|
03-03-2006, 02:42 PM
|
#5
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Original Poster
Rep:
|
Well, I eventually found an RPM release of Gkrellm from a repository, and it's working like a dream.
|
|
|
All times are GMT -5. The time now is 06:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|