Linux

 source ~/hawaiki-build
 cd /export/data/star
 git clone git://github.com/Starlink/starlink.git starlink-hawaiki
 cd starlink-hawaiki
 ./bootstrap
 make configure-deps
 ./configure -C
 make world

OS X

 source ~/hawaiki-build
 export DYLD_LIBRARY_PATH=/star/lib
 cd development
 git clone git://github.com/Starlink/starlink.git starlink-hawaiki
 cd starlink-hawaiki
 ./bootstrap
 make configure-deps
 ./configure -C
 make world

STARPERL

The Perl modules installer can be found in the perlmods subdirectory. Change into the directory and for more information, see the instructions in the README.

 cd thirdparty/perlsys/perlmods/
 ./build-modules.sh

STARJAVA

LINUX

 cd $STARCONF_DEFAULT_PREFIX
 ln -s java1.5 java
 setenv STAR_JAVA $STARCONF_DEFAULT_PREFIX/java/bin/java

OS X

 export STAR_JAVA=/usr/bin/java

Both platforms

Make sure that the ~/.stardev.properties file has:

 star.dir=/star-hawaiki/starjava
 stardev=/star-hawaiki

(Not sure if this can take environment variables, which is why it doesn't use $STARCONF_DEFAULT_PREFIX)

 svn checkout https://starjava.jach.hawaii.edu/svn/branches/hawaiki starjava-hawaiki
 cd starjava-hawaiki/ant
 setenv PATH `pwd`/bin:${PATH}

Make sure that the Starlink 'ant' command is first in your path by doing:

 ant -projecthelp

If you see references for Starlink in there, you've done it right. Then do:

 ant install
 ant clean

Start using the new ant:

 setenv PATH $STARCONF_DEFAULT_PREFIX/starjava/bin:${PATH}

And build starjava:

 cd ..
 ant build
 ant install

ORAC-DR

 cd $STARCONF_DEFAULT_PREFIX/bin
 git clone git://github.com/Starlink/ORAC-DR.git
 cd oracdr/src/docs
 make install