Difference between revisions of "Solaris Platforms"
Line 9: | Line 9: | ||
You will need to install these dependencies before you can move forward and install GRAMPS. | You will need to install these dependencies before you can move forward and install GRAMPS. | ||
− | + | ====Berkeley DB==== | |
* Download the latest BSDDB core from [http://www.oracle.com/technology/software/products/berkeley-db/db www.oracle.com]. | * Download the latest BSDDB core from [http://www.oracle.com/technology/software/products/berkeley-db/db www.oracle.com]. | ||
* Unpack, build and install | * Unpack, build and install | ||
Line 21: | Line 21: | ||
'''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. | '''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 [http://pybsddb.sourceforge.net pybsddb.sourceforce.net]. | * Download bsddb3-4.7.0.tar.gz (version at the time of writing), from [http://pybsddb.sourceforge.net pybsddb.sourceforce.net]. | ||
* Unpack, build and install | * Unpack, build and install | ||
Line 39: | Line 39: | ||
'''Note:''' You must download and build a version of the Python BSDDB Interface which supports the version of Berkeley DB installed on your system. | '''Note:''' You must download and build a version of the Python BSDDB Interface which supports the version of Berkeley DB installed on your system. | ||
− | + | ====Python ReportLab==== | |
* Download Report 2.1 (latest version at the time of writing), from [http://www.reportlab.org/ftp www.reportlab.org/ftp] | * Download Report 2.1 (latest version at the time of writing), from [http://www.reportlab.org/ftp www.reportlab.org/ftp] | ||
* Unpack, build and install | * Unpack, build and install | ||
Line 51: | Line 51: | ||
===Installing GRAMPS=== | ===Installing GRAMPS=== | ||
− | + | ====Download & Unpack==== | |
* Download GRAMPS 3.0.1 (latest version at time of writing) from the GRAMPS [http://sourceforge.net/project/showfiles.php?group_id=25770&package_id=109309 sorceforge.net] page. | * Download GRAMPS 3.0.1 (latest version at time of writing) from the GRAMPS [http://sourceforge.net/project/showfiles.php?group_id=25770&package_id=109309 sorceforge.net] page. | ||
* Unpack | * Unpack | ||
Line 57: | Line 57: | ||
% cd gramps-3.0.1 | % cd gramps-3.0.1 | ||
− | + | ====Prebuild Changes==== | |
A small number of changes are needed prior to compiling and installing GRAMPS 3.0.1 on the Solaris platform | A small number of changes are needed prior to compiling and installing GRAMPS 3.0.1 on the Solaris platform | ||
+ | |||
+ | =====Modify gramps.sh.in===== | ||
+ | Change the first line of this file from: | ||
+ | #! /bin/sh | ||
+ | to: | ||
+ | #!/bin/ksh |
Revision as of 20:41, 22 June 2008
Contents
Solaris Platforms
GRAMPS 3.0.1 has been successfully installed and tested on both the latest releases of Solaris 10 SPARC and Solaris X86 (OpenSolaris 2008.05) by building GRAMPS from source.
Installing 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 www.oracle.com.
- 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 pybsddb.sourceforce.net.
- Unpack, build and install
% gtar zxfB bsddb3-4.7.0.tar.gz % cd bsddb3-4.7.0 % python setup.py 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 setup.py install
Note: You must download and build a version of the Python BSDDB Interface which supports the version of Berkeley DB installed on your system.
Python ReportLab
- Download Report 2.1 (latest version at the time of writing), from www.reportlab.org/ftp
- Unpack, build and install
% gtar zxfB ReportLab_2_1.tgz % cd reportlab_2_1/reportlab % python setup.py build % su # python setup.py install
Installing GRAMPS
Download & Unpack
- Download GRAMPS 3.0.1 (latest version at time of writing) from the GRAMPS sorceforge.net page.
- Unpack
% gtar zxvf gramps-3.0.1.tar.gz % cd gramps-3.0.1
Prebuild Changes
A small number of changes are needed prior to compiling and installing GRAMPS 3.0.1 on the Solaris platform
Modify gramps.sh.in
Change the first line of this file from:
#! /bin/sh
to:
#!/bin/ksh