Skip to content

SoftwareInstallation

Nicolas Cottaris edited this page Jul 25, 2014 · 62 revisions

Software Installation

The easiest way to download and deploy the various Brainard Lab Toolboxes on a Mac OSX system is to use our installer app (see below). The recommended minimal system configuration is:

  • Mac OSX 10.8.xx (Mountain Lion)
  • Subversion 1.7.10+
  • xCode 4.6.3 (for Mac OSX 10.8.xx) or xCode 5.1.x (for Mac OSX 10.9.xx)

========

1. Pre-installation steps

A. Obtaining the BrainardLabToolboxSuiteInstaller app

Clone https://github.com/DavidBrainard/BrainardLabToolboxSuiteInstaller.git .

B. Obtaining Subversion 1.8.10+

Different versions of SVN can be downloaded from: http://www.wandisco.com/subversion/download/archive#osx. Find the appropriate, Subversion-1.7.10 or greater (Client-only) version for your OSX system.

C. Obtaining xCode

Point your browser at https://developer.apple.com/downloads/index.action?name=Xcode . If you are not an Apple developer (shame on you!), you can register at the above URL. Then sign in, find the xCode version for your system (see requirements, above), download the package and install it. After xCode is installed, launch it, to let the post-installation configuration finish up, then close the app.

2. Installation process

  • Launch the downloaded BrainardLabToolboxSuiteInstaller.app by double clicking on its icon. The app's GUI is depicted in the figure below.
  • Click on the Root Directory icon. In the pop-up window, navigate to /Users/Shared. In /Users/Shared, create a new folder, named Matlab, then Click on Open. This will select /Users/Shared/Matlab as the root directory under which all repositories will be located.
  • Click on the User Credentials icon. If you have an SVN account in the Brainard Lab SV server, enter your credentials here. Otherwise, enter test for both username and password. In the latter case you will only be able to download the basic installation scheme.
  • Click on the Installation Schemes icon. Select one of the available schemes. The basic scheme requires no SVN credentials and is enough for most outside users.
  • Finally, to start the installation process click on the play button (triangle) far right. If you select the Step-by-Step installation mode, you will need to press the play button each time to move to the next step. Otherwise, the installation will proceed automatically. The progress will be indicated by bar at the bottom.
  • When the installation is complete, a drop sheet will appear with a log of the installation.

========

3. Post-installation steps

A. Compile the mgl library

B. Install ghostscript

To save figures generated by various BrainardLabToolbox routines, ghostscript needs to be installed in /usr/local/bin/. If you do not have ghostscript, download and install MacTex from http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg

Clone this wiki locally