SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I've been trying to get the GRAMPS genealogy program to work on Slackware using packages from linuxpackages.net and/or compiling my own but I've run into a problem that I haven't been able to figure out a solution to and I don't know for sure if it is a dependency problem, a configuration problem, or a bug somewhere.
I'm currently running Slackware 11.0 with Freerock Gnome 2.14.3
Regardless of whether I install the package from linuxpackages.net (gramps-2.0.9rc1-i486-2rsa.tgz), or any of the later versions that I built packages for myself that I have tried (gramps-2.0.10, 2.0.11, or 2.2.0rc1), whenever I run gramps I get:
----
$ gramps
Traceback (most recent call last):
File "/usr/share/gramps/gramps.py", line 43, in ?
import gtk.gdk
File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 45, in ?
File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1, in ?
from _cairo import *
ImportError: /usr/lib/python2.4/site-packages/cairo/_cairo.so: undefined symbol: cairo_pdf_surface_create
--------
I also get the same error if I just run python from the command line and just type 'import gtk.gdk'
I even get this error if I just type 'gramps --help'.
So, I'm not sure what package this gtk.gdk python module or whatever it is is supposed to be in.
As part of FRG I have installed:
gnome-python-2.16.0-i486-1frg
gnome-python-desktop-2.16.0-i486-1frg
gnome-python-extras-2.14.2-i486-1frg
pygtk-2.8.6-i486-1frg
pyorbit-2.14.1-i486-1frg
pygobject-2.10.1-i486-1frg
pycairo-1.0.2-i486-2frg
etc., etc.
The README in the GRAMPS sources says:
Requirements
--------------------------------
The following packages *MUST* be installed in order for Gramps to work:
Python 2.3 or greater
Gnome 2.8 or greater
PyGTK2 2.4 or greater
Gnome-python 2.6 or greater
Any help at all would be much appreciated as I would really like to get this program to work under Slackware.
I used to use a program called Personal Ancestral File (PAF) under Windows and I have a huge genealogy database that I'd like to import into GRAMPS. Unfortunatley the PAF program hasn't been usable under WINE, and I haven't used Windows since 1999 and don't intend to. GRAMPS looks like about the only program that comes even close to having the functionality I need under Linux.
I've googled and searched forums mailing lists and recompiled and checked dependencies, and asked on IRC etc. for hours and hours and hours trying to get this problem resolved.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
I tried -- and failed -- to get gramps working (more than once) and went to two alternatives: LifeLines (http://lifelines.sourceforge.net) and PhpGedView (http://www.phpgedview.net). If you've got a GEDCOM (not a PAF) file, either of those is quite useful; PhpGedView more so than LifeLines (which is a curses-based application, works fine, but it can be tricky).
PhpGedView imports your GEDCOM to a MySQL data base (this is a real plus), and you can have multiple data bases. It's a LAMP application, so it does not depend on any particular window manager (no GNOME problems or KDE problems to deal with). If your server is publicly available, any family member can use PhpGedView with any browser (you permit login and password for access).
Neither of these is PAF or FamilyTreeMaker (yet!), but they're a whole lot less screwing around to get going -- I'd give 'em a try.
Thanks for the suggestions, but I'd really like to get GRAMPS working. I've got other programs such as GeneWeb http://cristal.inria.fr/%7Eddr/GeneWeb/ which is good.
Anybody familiar with Python know what is up with this gtk.gdk module?
I, too, tried GRAMPS a few times unsuccessfully. I got the same errors even though I had the required gnome libs. I found FTree, which is very small, works in any GUI, supports GEDCOM5.5, add the Graphviz package to make visual reports. It might be ugly compared to GRAMPS but it works!
I think the difference may be in using the FRG gtk+2 package, instead of the Slackware package. I'm currently using a slackbuild I wrote to compile gramps & it works really well.
Regards,
Bill
Hi - Yeah I finally did get Gramps working with Slackware 11 and by upgrading Freerock GNOME to the newer 2.16.x version in frg-unstable compiled for Slackware 11. It works pretty good now. Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.