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.
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.
Hello,
Ok, quick problem. I am trying to install cedega, but it says I need pygtk 2.6 or greater. However I have 2.10 so what is the issue? I am used to my Slackware box, and now I am playing around with PCLinuxOS. Any quick thoughts on how to fix this issue? My $PATH's are
Why don't you post the actual error message? I suspect that pkg-config is unable to find this file /usr/lib/pkgconfig/pygtk-2.0.pc, but who knows without the actual error message.
So, those are the last two lines of the configure script output? The next thing is your shell prompt? Usually posting the last 20-30 lines of output is what most people do.
Your PATH variable would only matter if pygtk provided a config script that was installed somewhere like /usr/bin. PyGtk doesn't provide a config script, it provides a metadata file in /usr/lib/pkgconfig. This *.pc file is used by other packages to determine the location, version, and other information needed.
It is your PKG_CONFIG_PATH variable that effects the locations that pkg-config looks for these metadata files. Is your PKG_CONFIG_PATH set to something odd? /usr/lib/pkgconfig is a default location, so if echo $PKG_CONFIG_PATH returns nothing, that's OK.
No, that is not the last two lines of the configure output, those are the ONLY two lines of the configure output. Yes the next thing is my shell prompt. I ran it in verbose mode and that is the only output it gives as well.
My $PKG_CONFIG_PATH is set to nothing. You did say that was ok.... but should I set it to something? My pkgconfig is in /usr/lib/pkgconfig just as you said. I looked in this directory, and pygtk-2.0.pc is in there.
DragonM15
I went ahead and made $PKG_CONFIG_PATH have the variable /usr/lib/pkgconfig and I ran the install again, and I now get the error message (The only message)
Code:
error: cannot get shared lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
and yes I am trying to install with root privileges.
An update from my previous post
I found out that a common reason why I would get the above error is because another user is logged in causing the shared lock error. So I closed all my console windows, logged out, and logged back in and I am back to my original error message. Also whenever I logged out the $PKG_CONFIG_PATH changed back to nothing. Is this normal? The command I used to add the /usr/lib/pkgconfig variable was this:
Code:
PKG_CONFIG_PATH=/usr/lib/pkgconfig
I am used to using 'setenv PKG_CONFIG_PATH /usr/lib/pkgconfig' but that apparently doesn't work in PCLinuxOS, so I had to do some looking around for that command.
Also, if I change pkg_config_path to be /usr/lib/pkgconfig again I no longer get the error from my last post, but my failed dependencies again. I know I have pygtk 2.10 installed, I should not be getting this error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.