This variant is even better, if automake is not *1.11* (fedora 14 and
latter)
#DM PATCH1 on at15
failedok(){
if [ $? -eq 0 ]; then
echo OK
else
echo failed
fi
}
echo
echo DM PATCH1 on at15
echo -n "Patching $AMBERHOME/AmberTools/src/fftw-2.1.5/configure "
sed -i 's/am__api_version="1.7"/*am__**api_version=""*/g'
$AMBERHOME/AmberTools/src/fftw-2.1.5/configure
failedok
echo -n "Removing $AMBERHOME/AmberTools/src/fftw-2.1.5/install.sh "
rm -f install.sh
failedok
echo -n "Patching $AMBERHOME/AmberTools/src/fftw-2.1.5/rfftw/Makefile*
"
sed -i 's/--tag=CC //g' $AMBERHOME/AmberTools/src/fftw-2.1.5/rfftw/Makefile*
failedok
echo
2011/8/21 Dmitry Mukha <dvmukha.gmail.com>
> Dear Amber developers!
> I have found that on Fedora 12 that I use on my desktop installation of
> AmberTools fails due to errors of fftw-2.1.5 compiling. The problem is the
> same as another one, posted here:
> http://dev-archive.ambermd.org/201105/0055.html. All code has its
> up-to-date patches.
>
> By the well-known method of trials and errors I've figured out that these
> modifications help to go on during compilation.
>
--
Sincerely,
Dmitry Mukha
Institute of Bioorganic Chemistry, NAS, Minsk, Belarus
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Aug 23 2011 - 09:00:02 PDT