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.
Compiling all the dependencies for gdesklets, and all worked fine except for gnome-python. During the ./configure phase, I come across this error:
Code:
checking for pygtk-2.0 >= 2.0.0... Package pygtk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygtk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygtk-2.0' found
configure: error: Library requirements (pygtk-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
pygtk-2.0 is installed (I checked /var/log/packages), so I'm guessing I need to update this PKG_CONFIG_PATH environment variable? if I "echo $PKG_CONFIG_PATH", nothing comes up. Do I just use export, or should I be editing a config file somewhere? if there is no config file, how do I permanantly set the variable (because doesn't export just do it for the current session?)
it's looking for a file in a pkgconfig directory called pygtk-2.0.pc. you can use pkgconfig directly to see if you think you can see it. i forget exactly where these files get stored, but a "locate *.pc" should point you to somewhere like "/usr/lib/pkgconfig/" that'll be where the pygtk-2.0.pc is ideally meant to be. howver it might be in /usr/local/lib/pkgconfig/ for example, which i'd guess is more likely if you've installed pygtk from source...
now my only problem is when I run gdesklets, I get "You need a recent version of PyGTK to run this program." ... but I just installed the latest version (2.6.1) of PyGTK (and even copied the .pc file to /usr/lib/pkgconfig).
hm, this is getting a little messy now really... personally i would open up the configure script and look at the actual test that is being performed. this way you can see the REAL error message by recreating the test outside of the script.
Originally posted by egag did you run " #ldconfig " after installing PyGTK ?
egag
No, I didn't. I just ran it now (through ssh), but I won't be able to test gdesklets until I get home (3 hours from now!) After running it, and now looking it up on Google to read what it does, it sounds like this might do the trick. Here's hoping... and thank you
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.