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