Deletions are marked like this. | Additions are marked like this. |
Line 77: | Line 77: |
== STARPERL === | === STARPERL === |
Line 79: | Line 79: |
Make a clone of the git repository: |
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}}}. |
Line 81: | Line 82: |
git clone git://starlink.jach.hawaii.edu/perl-modules.git starperl-hawaiki |
cd thirdparty/perlsys/perlmods/ ./build-modules.sh |
Line 83: | Line 85: |
Change into the directory and follow the instructions in the {{{README}}}. | |
Line 89: | Line 90: |
cd oracdr/src/docs/sun230 setenv ORAC_DIR $STARCONF_DEFAULT_PREFIX/bin/oracdr/src setenv ORAC_INSTRUMENT UFTI2 $STARCONF_DEFAULT_PREFIX/Perl/bin/perl sun230.pl $STARCONF_DEFAULT_PREFIX/bin/star2html sun230.tex latex sun230.tex latex sun230.tex dvips -o sun230.ps sun230.dvi cp sun230.ps $STARCONF_DEFAULT_PREFIX/docs/ cp -r sun230.htx $STARCONF_DEFAULT_PREFIX/docs/ cd ../sun231 $STARCONF_DEFAULT_PREFIX/bin/star2html sun231.tex latex sun231.tex latex sun231.tex dvips -o sun231.ps sun231.dvi cp sun231.ps $STARCONF_DEFAULT_PREFIX/docs/ cp -r sun231.htx $STARCONF_DEFAULT_PREFIX/docs/ cd ../sun232 $STARCONF_DEFAULT_PREFIX/bin/star2html sun232.tex latex sun232.tex latex sun232.tex dvips -o sun232.ps sun232.dvi cp sun232.ps $STARCONF_DEFAULT_PREFIX/docs/ cp -r sun232.htx $STARCONF_DEFAULT_PREFIX/docs/ cd ../sun233 setenv ORAC_PERL5LIB $ORAC_DIR/lib/perl5/ source mkinclude.csh $STARCONF_DEFAULT_PREFIX/bin/star2html sun233.tex latex sun233.tex latex sun233.tex dvips -o sun233.ps sun233.dvi cp sun233.ps $STARCONF_DEFAULT_PREFIX/docs/ cp -r sun233.htx $STARCONF_DEFAULT_PREFIX/docs/ cd ../sun236 $STARCONF_DEFAULT_PREFIX/bin/star2html sun236.tex latex sun236.tex latex sun236.tex dvips -o sun236.ps sun236.dvi cp sun236.ps $STARCONF_DEFAULT_PREFIX/docs/ cp -r sun236.htx $STARCONF_DEFAULT_PREFIX/docs/ cd ../sun246 $STARCONF_DEFAULT_PREFIX/bin/star2html sun246.tex latex sun246.tex latex sun246.tex dvips -o sun246.ps sun246.dvi cp sun246.ps $STARCONF_DEFAULT_PREFIX/docs/ cp -r sun246.htx $STARCONF_DEFAULT_PREFIX/docs/ |
cd oracdr/src/docs make install |
STARLINK
Linux
source ~/hawaiki-build cd /export/data/star git clone git://starlink.jach.hawaii.edu/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://starlink.jach.hawaii.edu/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://starlink.jach.hawaii.edu/oracdr.git cd oracdr/src/docs make install