Hi All,

I'm attempting to get a parallel Starlink development environment running under Mac OS X v10.7.5 Lion, and was hoping that anyone having experience doing this might have some tips, or a step by step procedure they have found to work.

Thus far, I've git cloned Starlink to the Mac platform, and have edited a sourceme.csh script to resemble:

unsetenv STARLINK
unsetenv INSTALL

unsetenv STARLINK_DIR
unsetenv CC
unsetenv FC
unsetenv F77
unsetenv CXX
unsetenv CFLAGS
unsetenv CXXFLAGS
unsetenv FFLAGS

setenv LC_ALL C

setenv FC gfortran
setenv F77 gfortran
setenv CC gcc
setenv CXX g++

setenv STARCONF_DEFAULT_STARLINK /Users/Matt/software/star
setenv STARCONF_DEFAULT_PREFIX $STARCONF_DEFAULT_STARLINK

setenv PATH ${STARCONF_DEFAULT_STARLINK}/bin/startcl:$STARCONF_DEFAULT_PREFIX/bin:$STARCONF_DEFAULT_PREFIX/buildsupport/bin:$PATH

setenv LD_LIBRARY_PATH $STARCONF_DEFAULT_STARLINK/lib
setenv STARLINK_DIR  $STARCONF_DEFAULT_STARLINK

setenv PERL_CPANM_HOME /usr/bin/cpanm
  
I'm trying to use Homebrew to install dependant packages.  When I tried it with: 'brew install gfortran', it was going encouragingly well, until it fell over on trying to download patches from a broken URL:

==> Installing gfortran dependency: gmp
==> Downloading http://ftpmirror.gnu.org/gmp/gmp-5.0.5.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gmp/5.0.5 --enable-cxx --build=x86_64-apple-darwin
==> make
==> make check
==> make install
/usr/local/Cellar/gmp/5.0.5: 12 files, 2.3M, built in 3.7 minutes
==> Installing gfortran dependency: mpfr
==> Downloading http://www.mpfr.org/mpfr-3.1.1/mpfr-3.1.1.tar.bz2
######################################################################## 100.0%
==> Downloading patches

curl: (22) The requested URL returned error: 404
Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.9.3\ (Ruby\ 1.8.7-358;\ Mac\ OS\ X\ 10.7.5) http://www.mpfr.org/mpfr-current/allpatches -o 000-homebrew.diff
 
Thanks for any insights you'd be willing to share on best practices developing on this platform.

Matt