LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-01-2006, 01:18 PM   #1
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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)
 
Old 03-01-2006, 02:05 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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
 
Old 03-02-2006, 01:41 PM   #3
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
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.
 
Old 03-02-2006, 01:49 PM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
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
 
Old 03-03-2006, 02:42 PM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
Well, I eventually found an RPM release of Gkrellm from a repository, and it's working like a dream.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help installing gkrellm-2.2.7 tamoneya Linux - Software 6 03-03-2006 06:14 PM
Installing Gkrellm rlbewick Linux - Software 8 01-14-2005 12:55 PM
Help with installing Gkrellm phatboyz Linux - Software 5 08-09-2004 02:28 PM
problem installing gkrellm I gautam_borad Linux - Software 1 07-04-2004 07:16 AM
Installing gkrellm in mandrake 9.2 DevilsBrigade Mandriva 6 01-30-2004 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration