root/branches/mcstas-1.x/MacInstall.command

Revision 2701, 448 bytes (checked in by pkwi, 2 years ago)

Snow Leopard install of the old tools require perl5.8

Will work my way through svn log to determine other patches needed for mcstas-1.12b, candidates include:

* gcc4 patches
* dependencies for distro versions of pgplot etc. (these work fine on Ubuntu 9.10) - no build from our side
* Careful look through the MPI stuff

Please tell me if I am missing anything obvious?

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3cd `dirname $0`
4
5# Determine if this is Snow Leopard (10.6)
6SL=`sw_vers | grep 10.6 | wc -l`
7
8if [ $SL = 1 ] ; then
9    export PERL=/usr/bin/perl5.8.9
10else
11    export PERL=/usr/bin/perl
12fi
13
14export BROWSER=/usr/bin/open
15./configure PERL=$PERL
16make pgplot
17make
18echo
19echo
20echo Please enter your password to allow installation of McStas:
21echo
22sudo make install
23echo Creating shortcut for McStas on your Desktop:
24cp -rp McStas.app ~/Desktop/
Note: See TracBrowser for help on using the browser.