LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-26-2007, 07:53 AM   #1
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
need to install pygtk2.6?


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
Code:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/qt3//bin:/usr/lib
find / -name pygtk*

Code:
/usr/bin/pygtk-demo
/usr/bin/pygtk-codegen-2.0
/usr/lib/pygtk
/usr/lib/pygtk/2.0/pygtk-demo.py
/usr/lib/pygtk/2.0/pygtk-demo.pyc
/usr/lib/pygtk/2.0/pygtk-demo.pyo
/usr/lib/pkgconfig/pygtk-2.0.pc
/usr/lib/python2.4/site-packages/pygtk.py
/usr/lib/python2.4/site-packages/pygtk.pth
/usr/lib/python2.4/site-packages/pygtk.pyc
/usr/lib/python2.4/site-packages/pygtk.pyo
/usr/share/pygtk
/usr/share/gtk-doc/html/pygtk
/usr/share/gtk-doc/html/pygtk/pygtk-reference-copyright.html
/usr/share/gtk-doc/html/pygtk/pygtk-reference-format.html
/usr/share/gtk-doc/html/pygtk/pygtk-introduction.html
/usr/share/gtk-doc/html/pygtk/pygtk.devhelp
/usr/include/pygtk-2.0
/usr/include/pygtk-2.0/pygtk
/usr/include/pygtk-2.0/pygtk/pygtk.h
whereis pygtk

Code:
pygtk: /usr/lib/pygtk /usr/share/pygtk
Also, I added /usr/lib to my $PATH variables (As you will notice it is the last one )

Any Ideas please let me know. Thanks!

DragonM15
 
Old 03-27-2007, 06:07 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 03-27-2007, 04:25 PM   #3
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
Umm... ok, here is the exact error message:

error: Failed dependencies:
pygtk2 >= 2.6 is needed by cedega-small-5.2.3-1.i386
 
Old 03-27-2007, 06:14 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 03-31-2007, 01:29 PM   #5
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
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

Last edited by DragonM15; 03-31-2007 at 01:45 PM.
 
Old 03-31-2007, 01:46 PM   #6
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
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.

DragonM15

Last edited by DragonM15; 03-31-2007 at 01:50 PM.
 
Old 03-31-2007, 02:05 PM   #7
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
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.

DragonM15
 
  


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
pygtk2 installation gtclvr Linux - Software 1 02-05-2006 02:52 PM
pygtk2.6 for sarge linuxmandrake Debian 3 12-29-2005 11:49 AM
GLIB>=2.4.0 not install (when install pygtk2.4.0) phongnh0211k Red Hat 10 11-26-2004 06:47 AM
problems compiling pygtk2.0 edskes Linux - Software 0 08-30-2004 02:24 PM
gyach-enhanced and pygtk2/python2 install juzchillin Linux - Games 1 07-18-2004 10:22 PM

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

All times are GMT -5. The time now is 03:12 PM.

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