Changes

From Gramps

Solaris Platforms

619 bytes added, 23:37, 22 June 2008
no edit summary
Although the GRAMPS 3.0.1 package requires a python version of 2.5 or later. The Solaris build of python 2.4 works well with GRAMPS 3.0.1 and no issues have been noticed. '''Note:''' This change negates the need install a later release of python ;-)
Change '''line 6297''' of this file to readfrom:
minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
Change '''line 6329''' to readfrom:
minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
=====src/gramps.py=====
Change '''line 97''' of this from to readm fromread:
MIN_PYTHON_VERSION = (2, 4, 0, '', 0)
Unlike other UNIX/Linux versions the default /bin/sh under Solaris is the older bourne shell. In order to allow the script to work we need to modify the first line of this file from sh to ksh (or bash if you prefer):
#!/bin/ksh
 
=====src/gen/db/base.py=====
Change '''line 39''' to read:
from bsddb3 import db
 
====src/gen/db/dbdir.py====
Change '''line 39''' to read:
from bsddb3 import dbshelve, db
 
====src/Editors/_EditFamily.py====
Change '''line 28''' to read:
from bsddb3 import db as bsddb_db
 
====src/GrampsDbUtils/_GrampsBSDDB.py====
Change '''line 38' to read:
from bsddb3 import dbshelve, db
 
====src/GrampsLogger/_ErrorReportAssistant.py====
Change '''line 5''' to read:
import sys, os,bsddb3
Change '''line 102''' to read:
str(bsddb3.__version__),
 
====src/plugins/Leak.py====
Change '''line 34' to read:
from bsddb3.db import DBError
41
edits

Navigation menu