Getting Gramps to install on OS X (Tiger)
I have a new toy! A shiny new iBook. So I thought I would try to get gramps installed.
I chose to use the DarwinPorts route to get the required dependencies installed. It was not entirely plain sailing but I do now have a working gramps-2.0.8 on my iBook.
I thought about writing up a detailed howto covering how to overcome the small list of problems that I had but instead I decided to report the problems to the darwinports people and to submit a port for gramps for inclusion in darwinports.
So if you want to run gramps on OSX and don’t mind installing X11/gnome etc. then hang on a bit for the gramps port to be included and it should be a simple matter of typing: sudo port install gramps (and waiting a long time for everything to build).
If you can’t wait and sort of know what you are doing then this is the quick howto:
- make sure you have the X11 package installed from the OS X install CD
- install the Darwinports application
- grab the update to the py-gnome port from the darwinports bugzilla, search for py-gnome and look for the 2.11.3 update.
- grab the gramps port from darwinports bugzilla, search for gramps
- try sudo port install gramps, you may need to run this inside an xterm (start the X11 server) because part of the gramps dependency check needs a running X server to work.
You will find some problems with some of the dependant ports not installing because they do not correctly specify their own dependencies. You just have to work through each problem and manually install the missing packages then restart the gramps install.
I also had a small problem with missing fonts when I came to start gramps, search the darwinports bugzilla for fontconfig to find the paths you need to add to /opt/local/etc/fonts/fonts.conf to correct it.
One thing that might confuse is that gramps needs the version of python that darwinports installs in /opt/local/bin/python not the one that comes will OS X in /usr/bin/python. Make sure that your path has correct one in first.