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 09-10-2004, 09:18 PM   #1
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Rep: Reputation: 15
Help with a progrm install please


Hi Im tring to install a program called gramps, when I run configure I get the error

checking Python bindings for gtk... configure: error:

**** The python bindings for gtk 2.4 (pygtk2) could not be found.


so I downloaded

pygtk-2.0.0.tar.bz2

and installed it. I'm still geeting pygtk2 not found error when I run configure. any ideas what I need to do to correct this ? btw Im running slackware 10
 
Old 09-10-2004, 09:28 PM   #2
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
i have a feeling pygtk 2.0 doesn't work with gtk 2.4. try the newest version of pygtk - remove the old, install the new, then try gramps.
 
Old 09-10-2004, 09:49 PM   #3
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
I gave that a shot that didn't seem to help any. I also tried
Quote:
export PKG_CONFIG_PATH=/usr/local/lib/python2.3/site-packages/gtk-2.0
Im fairly new at this I'm not sure what to do
 
Old 09-10-2004, 09:57 PM   #4
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
which version of pygtk did you try? perhaps the pygtk version number has to correspond to the gtk version number. you might also want to try to reinstall gtk, but that's a bit overkill and not exactly safe or practical.
 
Old 09-10-2004, 10:32 PM   #5
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
Im not sure which version of gtk I have whtever came with slckware 10 i belive its 2.4 I hve a program that needed at least gtk 2.4. so its at least that I tried pygtk2.0 and py gtk2.2 2.2 is the newest version. ohh nd acording to the site I downloaded gramps from odds are I should have it installed already

Last edited by BM Fan; 09-10-2004 at 10:33 PM.
 
Old 09-10-2004, 10:38 PM   #6
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
here is what i have that came with the slackware install
gtk+2-2..4.9
looks like pygtk wasn't pre installed

Last edited by BM Fan; 09-10-2004 at 10:39 PM.
 
Old 09-10-2004, 10:42 PM   #7
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
looks like you need the following packages to install it:
python 2.2 http://www.python.org/2.2/
gnome-python http://freshmeat.net/projects/gnome-python/
and pygtk 2.2 http://www.pygtk.org/downloads.html (which you should already have of course).

try installing all of those and try gramps again. make sure you get the newest version of everything.
 
Old 09-10-2004, 11:01 PM   #8
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
I have the python installed already I can't install the gynome python because it says I dont have pygtk
 
Old 09-10-2004, 11:08 PM   #9
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
congratulations, you've encountered dependency hell.

that's pretty weird. first try an older version of gnome-python. then you might want to try installing different versions of all of those, like in between 2.0 and the newest. the gramps page says at least 2.0 for all of them, so try starting with 2.0 on all of those packages and then keep moving up till it works.

that's about the only solution i have for now, just play around with it. i'm sorry i can't suggest anything else.
 
Old 09-10-2004, 11:08 PM   #10
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
Here is what I get if I try and install gynome-python

checking for pygtk-2.0 >= 2.0.0... Requested 'pygtk-2.0 >= 2.0.0' but version of PyGTK is 1.99.12

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.
so looks like I already had an older version istalled how do I uninstall that so I can install the new one again
 
Old 09-10-2004, 11:20 PM   #11
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
Code:
# cd /var/log/packages
# removepkg pygtk-1.99.12
is what i would guess. change "pygtk-1.99.12" to whatever it's called exactly.
then install the newer pygtk and then gnome-python, etc. etc.
 
Old 09-10-2004, 11:31 PM   #12
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
there is no log for pygtk in there any version of it. if I do locate pygtk-1.99.12 I get nothing but if I do locate pygtk I get

/usr/local/bin/pygtk-codegen-2.0
/usr/local/lib/python2.3/site-packages/pygtk.pth
/usr/local/lib/python2.3/site-packages/pygtk.py
/usr/local/lib/python2.3/site-packages/pygtk.pyc
/usr/local/lib/python2.3/site-packages/pygtk.pyo
/usr/local/lib/pkgconfig/pygtk-2.0.pc
/usr/local/include/pygtk-2.0
/usr/local/include/pygtk-2.0/pygtk
/usr/local/include/pygtk-2.0/pygtk/pygtk.h
/usr/local/include/pygtk-2.0/pygobject.h
/usr/local/share/pygtk
/usr/local/share/pygtk/2.0
/usr/local/share/pygtk/2.0/codegen
/usr/local/share/pygtk/2.0/codegen/__init__.py
/usr/local/share/pygtk/2.0/codegen/argtypes.py
/usr/local/share/pygtk/2.0/codegen/codegen.py
/usr/local/share/pygtk/2.0/codegen/definitions.py
/usr/local/share/pygtk/2.0/codegen/defsparser.py
/usr/local/share/pygtk/2.0/codegen/docextract.py
/usr/local/share/pygtk/2.0/codegen/docgen.py
/usr/local/share/pygtk/2.0/codegen/h2def.py
/usr/local/share/pygtk/2.0/codegen/mergedefs.py
/usr/local/share/pygtk/2.0/codegen/mkskel.py
/usr/local/share/pygtk/2.0/codegen/override.py
/usr/local/share/pygtk/2.0/codegen/scmexpr.py
/usr/local/share/pygtk/2.0/codegen/__init__.pyc
/usr/local/share/pygtk/2.0/codegen/argtypes.pyc
/usr/local/share/pygtk/2.0/codegen/codegen.pyc
/usr/local/share/pygtk/2.0/codegen/definitions.pyc
/usr/local/share/pygtk/2.0/codegen/defsparser.pyc
/usr/local/share/pygtk/2.0/codegen/docextract.pyc
/usr/local/share/pygtk/2.0/codegen/docgen.pyc
/usr/local/share/pygtk/2.0/codegen/h2def.pyc
/usr/local/share/pygtk/2.0/codegen/mergedefs.pyc
/usr/local/share/pygtk/2.0/codegen/mkskel.pyc
/usr/local/share/pygtk/2.0/codegen/override.pyc
/usr/local/share/pygtk/2.0/codegen/scmexpr.pyc
/usr/local/share/pygtk/2.0/codegen/__init__.pyo
/usr/local/share/pygtk/2.0/codegen/argtypes.pyo
/usr/local/share/pygtk/2.0/codegen/codegen.pyo
/usr/local/share/pygtk/2.0/codegen/definitions.pyo
/usr/local/share/pygtk/2.0/codegen/defsparser.pyo
/usr/local/share/pygtk/2.0/codegen/docextract.pyo
/usr/local/share/pygtk/2.0/codegen/docgen.pyo
/usr/local/share/pygtk/2.0/codegen/h2def.pyo
/usr/local/share/pygtk/2.0/codegen/mergedefs.pyo
/usr/local/share/pygtk/2.0/codegen/mkskel.pyo
/usr/local/share/pygtk/2.0/codegen/override.pyo
/usr/local/share/pygtk/2.0/codegen/scmexpr.pyo
/usr/local/share/pygtk/2.0/defs
/usr/local/share/pygtk/2.0/defs/gtk.defs
/usr/local/share/pygtk/2.0/defs/gtk-types.defs
/usr/local/share/pygtk/2.0/defs/gtk-extrafuncs.defs
/usr/local/share/pygtk/2.0/defs/gdk.defs
/usr/local/share/pygtk/2.0/defs/gdk-types.defs
/usr/local/share/pygtk/2.0/defs/libglade.defs
/usr/local/share/pygtk/2.0/defs/pango.defs
/usr/local/share/pygtk/2.0/defs/pango-types.defs
/usr/local/share/pygtk/2.0/defs/atk.defs
/usr/local/share/pygtk/2.0/defs/atk-types.defs
I never installed pygtk 1.9 and acording to the slackware site slack dosent come with pygtk
 
Old 09-10-2004, 11:41 PM   #13
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
blah, this is crazy. nm about the removepkg thing, that only works with .tgz. sorry can't help. just keep playing with it till someone else jumps in to solve this problem. maybe i'll think of a solution lemme look....
 
Old 09-10-2004, 11:44 PM   #14
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
maybe this'll be it: http://www.linuxquestions.org/questi...hreadid=116454
 
Old 09-11-2004, 12:14 AM   #15
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
well I downloaded a pygtk package made for slackware from that link now gnome-python saw it and installed, but gramps still dosent see it . so I guess this is progress "maybe " lol
 
  


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
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 04:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 06:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM
ps2 mouse not detected on install or post install with mandrake 8.2 linux_learner Linux - Hardware 1 09-12-2002 09:31 AM

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

All times are GMT -5. The time now is 05:36 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