View previous topic :: View next topic |
Author |
Message |
ealfert Tux's lil' helper
Joined: 17 Jul 2002 Posts: 86 Location: Weston, FL, US
|
Posted: Wed Jul 17, 2002 7:56 pm Post subject: Python bindings for gtk+ |
|
|
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 |
|
|
Pyke n00b
Joined: 19 Jun 2002 Posts: 11
|
Posted: Sat Aug 03, 2002 3:56 pm Post subject: |
|
|
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 |
|
|
ealfert Tux's lil' helper
Joined: 17 Jul 2002 Posts: 86 Location: Weston, FL, US
|
Posted: Thu Aug 15, 2002 2:32 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|