Software.PulsarhunterBuildFromSource History
Show minor edits - Show changes to output
November 20, 2007, at 11:03 AM
by mkeith -
Added lines 7-9:
When asked for a password, just press return. (There is no password)
November 20, 2007, at 10:00 AM
by mkeith -
Changed lines 6-7 from:
@@cvs -d:pserver:anonymous@pulsarhunter.cvs.sourceforge.net:/cvsroot/pulsarhunter login@@
@@cvs -z3 -d:pserver:anonymous@pulsarhunter.cvs.sourceforge.net:/cvsroot/pulsarhunter co -P pulsarhunter@@
to:
@@cvs -d:pserver:anonymous@pulsarhunter.cvs.sourceforge.net:/cvsroot/pulsarhunter login@@\\
@@cvs -z3 -d:pserver:anonymous@pulsarhunter.cvs.sourceforge.net:/cvsroot/pulsarhunter co -P pulsarhunter@@\\
!!Build the jar file using ant
Ant uses the build.xml file to make the jar file
@@cd pulsarhunter@@\\
@@ant jar@@\\
!!Set up your environment to use the new code.
@@export PULSARHUNTER_HOME=`pwd`@@\\
@@ln -s dist/pulasrhunter.jar ./pulsarhunter.jar@@\\
And test the system...
@@./scripts/pulsarhunter --test@@\\
!!Building the Native Libraries
To use the PGPlot interface, or the barycentric corrections, you need to compule the assistant native libraries.
The method for doing this depends on your architecture and operating system.
The code for the native libraries is located in pulsarhunter/src/native/
There are build scripts in each dir that can give a clue to how to compule, but you will need to modify the scripts for your system.
For example, for the sla/barycentre correction on LINUX:
@@f77 -c *.f@@\\
@@gcc -o libbarrycentre.so -lm -lg2c -shared -Wl,-soname,libbarrycentre.so -static -I/local2/jdk1.5.0_08//include/ -I$JAVA_HOME/include/linux *.c *.o@@\\
or on Mac:
@@gfortran -c *.f@@\\
@@gcc-4 -o libbarrycentre.jnilib -lm -lgfortran -bundle -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers/ *.c *.o@@\\
November 20, 2007, at 09:51 AM
by mkeith -
Added lines 1-7:
!Building PulsarHunter from source
!!Fetch the latest code from the CVS repository.
You need to get the source code from the sourceforge backed CVS.
@@cvs -d:pserver:anonymous@pulsarhunter.cvs.sourceforge.net:/cvsroot/pulsarhunter login@@
@@cvs -z3 -d:pserver:anonymous@pulsarhunter.cvs.sourceforge.net:/cvsroot/pulsarhunter co -P pulsarhunter@@