If you do not need MTK++, you can configure with the -nomtkpp flag to skip
it.
Since I've never seen this error, I don't know how to fix it.
Is there a libStatistics.a file in your $AMBERHOME/lib folder?
HTH,
Jason
On Fri, Jul 5, 2013 at 5:42 PM, Su, Shiquan <ssu2.utk.edu> wrote:
> Hi, Amber team:
> I tried to install amber. After "./configure gnu" , I check the config.h ,
> everything looks fine.
> I have the following error when I execute "make install". Do you have any
> suggestion on this? Thank you.
>
> libtool: link: g++ -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -O2
> -fPIC -DHAVE_ZLIB -o MTKppConstants MTKppConstants.o
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Diagnostics
> -L../src/Molecule -L../src/Log -L../src/Graph -L../src/GA -L../src/Parsers
> -L../src/tinyxml
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Molecule/.libs/libMolecule.a
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Graph/amber12
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Log/amber12
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Diagnostics/amber12
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Log/.libs/libLog.a
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Graph/.libs/libGraph.a
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/GA/.libs/libGA.a
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Parsers/.libs/libParsers.a
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Molecule/amber12
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Statistics/amber12
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/GA/amber12
> -L/sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/tinyxml/amber12
> ../src/Molecule/.libs/libMolecule.a ../src/Graph/.libs/libGraph.a
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/Diagnostics/.libs/libDiagnostics.a
> -lz -lStatistics ../src/Log/.libs/libLog.a ../src/GA/.libs/libGA.a
> ../src/tinyxml/.libs/libtinyxml.a
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/src/tinyxml/.libs/libtinyxml.a
> /usr/bin/ld: cannot find -lStatistics
> collect2: ld returned 1 exit status
> make[4]: *** [MTKppConstants] Error 1
> make[4]: Leaving directory
> `/nics/e/sw/keeneland-centos6.2/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp/tools'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/nics/e/sw/keeneland-centos6.2/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/nics/e/sw/keeneland-centos6.2/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src/mtkpp'
> make[1]: *** [install_mtkpp] Error 2
> make[1]: Leaving directory
> `/nics/e/sw/keeneland-centos6.2/amber/12/centos6.2_gnu4.4.6_snadybridge/amber12/AmberTools/src'
> make: *** [install] Error 2
> amber make failed
> /sw/kfs/amber/12/centos6.2_gnu4.4.6_snadybridge/rebuild : failed (1)
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Jul 05 2013 - 15:00:02 PDT