/[PAMELA software]/yoda/paminstall.sh
ViewVC logotype

Contents of /yoda/paminstall.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6.4 - (show annotations) (download) (as text)
Mon Nov 20 08:57:52 2006 UTC (18 years ago) by mocchiut
Branch: MAIN
CVS Tags: YODA6_3/19, YODA6_3/20, HEAD
Changes since 6.3: +1 -1 lines
File MIME type: application/x-sh
Padding bug fixed, compiling bug on 64 bit arch fixed

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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"" >> $THISDIR/paminstall.exe
8 echo "export FFLAGS=\"-g -O0 -keepC -fPIC\"" >> $THISDIR/paminstall.exe
9 echo "export CXXFLAGS=\"-g -O4 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"" >> $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

  ViewVC Help
Powered by ViewVC 1.1.23