Skip to content

Commit 9de67c7

Browse files
committed
TEMPO now builds without error
1 parent 6c3e4d5 commit 9de67c7

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

presto-installer.sh

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,41 @@ fi
3737
echo "Starting PRESTO... "
3838
cd $ASTROSOFT
3939
#wget ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz
40-
tar -zxf pgplot5.2.tar.gz
41-
mv pgplot pgplot_src
42-
if [[ ! -d $ASTROSOFT/pgplot ]]; then
43-
echo "Making pgplot target dir... "
44-
mkdir $ASTROSOFT/pgplot
45-
fi
46-
cd $ASTROSOFT/pgplot
47-
cp $ASTROSOFT/pgplot_src/drivers.list $ASTROSOFT/pgplot/
40+
#tar -zxf pgplot5.2.tar.gz
41+
#mv pgplot pgplot_src
42+
#if [[ ! -d $ASTROSOFT/pgplot ]]; then
43+
# echo "Making pgplot target dir... "
44+
# mkdir $ASTROSOFT/pgplot
45+
#fi
46+
#cd $ASTROSOFT/pgplot
47+
#cp $ASTROSOFT/pgplot_src/drivers.list $ASTROSOFT/pgplot/
4848

4949
# Uncommend the XWindow and PS drivers. Those are the ones i use
50-
sed -i '/^!.* XWDRIV /s/^!//' drivers.list
51-
sed -i '/^!.* PSDRIV /s/^!//' drivers.list
50+
#sed -i '/^!.* XWDRIV /s/^!//' drivers.list
51+
#sed -i '/^!.* PSDRIV /s/^!//' drivers.list
5252

5353
# Doing the makemake
54-
$ASTROSOFT/pgplot_src/makemake $ASTROSOFT/pgplot_src linux g77_gcc
54+
#$ASTROSOFT/pgplot_src/makemake $ASTROSOFT/pgplot_src linux g77_gcc
5555

5656
# Change the fortrancompiler to gfortran
57-
sed -i 's/FCOMPL=g77/FCOMPL=gfortran/g' makefile
57+
#sed -i 's/FCOMPL=g77/FCOMPL=gfortran/g' makefile
58+
#make
59+
#source $HOME/zsh_astro
60+
#make cpg
61+
#ld -shared -o libcpgplot.so --whole-archive libcpgplot.a
62+
#echo "Done. "
63+
64+
# Get TEMPO
65+
echo "Getting TEMPO... "
66+
cd $ASTROSOFT
67+
#git clone git://git.code.sf.net/p/tempo/tempo
68+
cd $ASTROSOFT/tempo
69+
./prepare
70+
./configure --prefix=$HOME
5871
make
59-
source $HOME/zsh_astro
60-
make cpg
61-
ld -shared -o libcpgplot.so --whole-archive libcpgplot.a
72+
make install
73+
74+
6275
echo "Done. "
6376
# Get PRESTO
6477

0 commit comments

Comments
 (0)