Solaris Platforms

From Gramps
Revision as of 13:06, 22 June 2008 by Martinch (Talk | contribs)

Jump to: navigation, search

GRAMPS 3.0.1 has been successfully installed on both Solaris SPARC and X86 platforms by building from source, no known packages exist for installation. The latest release of the OpenSolaris X86 is available @

Install dependencies

Even with the latest releases of OpenSolaris a number of missing dependencies need to be resolved before you can install GRAMPS, namely Berkeley DB, Python BSDDB Interface and Python ReportLab.

You will need to install these dependencies before you can move forward and install GRAMPS.

Berkeley DB
  • Download the latest BSDDB core from
  • Unpack, build and install
% gtar zxfB db-4.7.25.tar.gz
% cd db-4.7.25/build_unix
% ../dist/configure --prefix=/usr
% gmake

% su
# gmake install

Note: Using the --prefix=/usr on the configure command-line is a must under Solaris, without installing the Berkeley DB in this location Python BSDDB interface fails to install.

Python BSDDB Interface
  • Download bsddb3-4.7.0.tar.gz (version at the time of writing), from Note: Download and install a version of the Python BSDDB Interface that supports the version of Berkeley DB installed.
  • Unpack, build and install
% gtar zxfB bsddb3-4.7.0.tar.gz
% cd bsddb3-4.7.0
% python build
Found Berkeley DB 4.7 installation.
  include files in /usr/include
  library files in /usr/lib
  library name is libdb-4.7
  running build
  running build_py
  running build_ext

% su
# python install
Python ReportLab
  • Download Report 2.1 (latest version at the time of writing), from
  • Unpack, build and install
% gtar zxfB ReportLab_2_1.tgz
% cd reportlab_2_1/reportlab
% python build

% su
# python install

Installing GRAMPS

  • Configure GRAMPS. All you need to do is run the configure script:

If you have built Gnome or Python with iconv libraries other than what Solaris comes with (the GNU version for example), you can specify to GRAMPS where to find them:

  ICONV=/dir/to/iconv ./configure

Other options to configure that are useful include telling it to setup GRAMPS to install in a directory of your choosing instead of the default:

  ./configure --prefix=/your/dest/dir
  • make and install
  make install