1 |
#!/bin/bash --norc |
2 |
THISDIR=`pwd` |
3 |
echo "cd $THISDIR" > $THISDIR/paminstall.exe |
4 |
echo "autoheader" >> $THISDIR/paminstall.exe |
5 |
echo "libtoolize --force" >> $THISDIR/paminstall.exe |
6 |
echo "export CFLAGS=\"-g -O4\"" >> $THISDIR/paminstall.exe |
7 |
echo "export FFLAGS=\"-g -O0 -keepC\"" >> $THISDIR/paminstall.exe |
8 |
echo "export CXXFLAGS=\"-g -O4\"" >> $THISDIR/paminstall.exe |
9 |
echo "aclocal" >> $THISDIR/paminstall.exe |
10 |
echo "automake -a" >> $THISDIR/paminstall.exe |
11 |
echo "autoconf" >> $THISDIR/paminstall.exe |
12 |
echo "./configure --prefix="$PAM_YODA" --with-log4cxx="$PAM_YODA" --enable-gprof=no " >> $THISDIR/paminstall.exe |
13 |
echo "make" >> $THISDIR/paminstall.exe |
14 |
echo "make install" >> $THISDIR/paminstall.exe |
15 |
# |
16 |
ln -sf $PAM_YODA/inc $PAM_YODA/include |
17 |
# |
18 |
unset ARCH |
19 |
export ARCH=`uname` |
20 |
chmod a+x $THISDIR/paminstall.exe |
21 |
$THISDIR/paminstall.exe |
22 |
cd $THISDIR &>/dev/null |