Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python bindings for gtk+
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ealfert
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 86
Location: Weston, FL, US

PostPosted: Wed Jul 17, 2002 7:56 pm    Post subject: Python bindings for gtk+ Reply with quote

I'm trying to install gramps (family tree program... that i used in mandrake)...

#emerge gramps

Code:

checking Python bindings for gtk+... Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
  File "conftest.py", line 2, in ?
    import gtk
  File "/usr/lib/python2.2/site-packages/gtk.py", line 34, in ?
    _gtk.gtk_init()
RuntimeError: cannot open display
cat: conftest.out: No such file or directory
./configure: test: YES: unary operator expected
ok
checking Python bindings for GNOME... configure: error:

**** The python interpreter can't find the python bindings for GNOME.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4, Exitcode 1
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-misc/gramps/gramps-0.7.0.ebuild .


but then tried

#emerge pygtk

installed successfully, then i rebooted the computer and tried #emerge gramps again, but got the same error...

any ideas? thanks
_________________
Edward Alfert
RootMode, LLC
http://www.rootmode.com/
Back to top
View user's profile Send private message
Pyke
n00b
n00b


Joined: 19 Jun 2002
Posts: 11

PostPosted: Sat Aug 03, 2002 3:56 pm    Post subject: Reply with quote

I got the same error a month ago when trying to install gramps. However, the ebuild seems to have been corrected, since I have just installed it after doing an rsync. It installed without errors, but there is still something wrong: it installs all the files in /usr/share not in /usr/share/gramps, so I unmerged it again. Must be easy to correct but I do not know how.

Pyke
Back to top
View user's profile Send private message
ealfert
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 86
Location: Weston, FL, US

PostPosted: Thu Aug 15, 2002 2:32 pm    Post subject: Reply with quote

I upgraded to gnome 2 when it came out and couldn't install gramps because of dependencies that needed gnome 1.4 and they conflicted with gnome 2.

Code:

[blocks B    ] gnome-base/gnome-session (from pkg gnome-base/gnome-core-1.4.1)
[blocks B    ] x11-terms/gnome-terminal (from pkg gnome-base/gnome-core-1.4.1)
[blocks B    ] gnome-base/gnome-desktop (from pkg gnome-base/gnome-core-1.4.1)
[ebuild  N   ] gnome-base/gnome-core-1.4.1 to /
[ebuild  N  ] app-misc/gramps-0.7.0 to /


My trick to getting it to work was to use
Code:
#emerge --nodeps gramps


It installed gramps into /usr/share/ instead of /usr/share/gramps.

So i created /usr/share/gramps directory and manually moved the files over.

IT WORKS!... doesn't crash... and doesn't seem to care about the unsatisfied dependencies...

I just wanted to mention this in case anybody had the same problem.
_________________
Edward Alfert
RootMode, LLC
http://www.rootmode.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum