STARLINK
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
STARJAVA
LINUX
Download JDK (both 1.5 and 1.6) from Sun. Download JAI from java.net. Run the binary installer for the JDK, which will create jdk-<whatever> directories. (The preceding three steps have been done as the starlink user on both scubadev and acsis, and the directories are in the /export/data/star directory. -- 22 January 2010) Change into the created jdk- directory, then run the binary installer for JAI, which will install JAI into the JDK directory. Then cp -r * $STARCONF_DEFAULT_PREFIX/java1.[56] to copy the files into the distribution.
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
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
ORAC-DR
cd $STARCONF_DEFAULT_PREFIX/bin git clone git://github.com/Starlink/ORAC-DR.git cd oracdr/src/docs make install