GENESIS: Documentation

Related Documentation:
GENESIS System

Developer Installation From Source On Mac OSX

The procedure for the installation of GENESIS on a Mac OSX is similar to that for a Linux build on a regular PC. The major difference is that it requires build tools for the Mac. These are somewhat hidden on disk 2 of the Mac OS installation disks. Installation requires administrator privileges. (Note: Some installation must be done from the Terminal). If you do not have administrator privileges you should contact your system administrator for help. The Terminal can be found in the Applications –> Utilities folder. For regular use of GENESIS it is convenient to place a Terminal in the dock for easy access. Installation requires executing the following major steps:

Prepare and upgrade the system software

Install the following packages:

This can be done, for example, by entering the following at a terminal prompt:

   $ sudo perl -MCPAN -e shell

Then at the cpan> prompt enter:

   cpan> force install YAML  
   . . .

Download and Install the DeveloperPackage

Download the latest version of the DeveloperPackage, available from the GENESIS package archive. It is called developer-release-label.tar.gz, where release-label is the current release identifier. (Note: If downloading via your browser, do not unpack the package during the download as it will be placed into its own subdirectory).

Install software packages

Once the above dependencies are installed source code can be pulled from the GENESIS repository and a build performed with the following commands:

  1. neurospaces_create_directories
  2. neurospaces_pull
  3. neurospaces_update
  4. neurospaces_configure
  5. neurospaces_install (requires admin password)

Check if installation was successful

Once these have completed the installation can be tested with the following command:

This will perform a series of regression tests and save the output to file. The output can be checked by typing “less /tmp/check.out”. Importantly, search for lines containing the string error_count that will indicate any inconsistencies with the installation.

Note: The running of tests is optional, but strongly advised.

Installation From Packages

Easiest method to install GENESIS 3 on Mac OSX is via installation packages available here. The packages install all compiled programs and scripts. However the prerequisite modules for Perl and Python must still be installed.

Required modules are listed in the GENESIS dependencies document. Note the above rule about macports still applies and the standard perl for Mac OSX at /usr/bin/perl should be the one invoked when pulling packages from CPAN.