Hello,
I tried to install AmberTools 1.5 on Mac OS X 10.7.3, but "make" or "make install" generated errors related to stdGroup.cpp lines 271 and 272.
% sudo ./configure -macAccelerate -nopython gnu
seemed fine, but with 2 errors:
./configure: line 2169: syntax error near unexpected token `&'
./configure: line 2169: ` ../../AT15_Amber11.py > Amber11_Conversion.log 2>&1'
Deleting line 2169 in the configure file does not change the "make" errors at all.
% sudo make && make install
.
. no error most, and.
. ERRORS below
.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/Users/genzotanaka/Downloads/amber11/AmberTools/src/boost-1.38.0 -I./.. -I../../src/eigen3b2 -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -O2 -fno-common -DHAVE_ZLIB -MT stdGroup.lo -MD -MP -MF .deps/stdGroup.Tpo -c stdGroup.cpp -o stdGroup.o
stdGroup.cpp: In member function 'double MTKpp::stdGroup::getCharge()':
stdGroup.cpp:271: error: missing template arguments before '&' token
stdGroup.cpp:271: error: 'lt' was not declared in this scope
stdGroup.cpp:271: error: 'gt' declared as reference but not initialized
stdGroup.cpp:271: error: 'sList' was not declared in this scope
stdGroup.cpp:271: error: invalid operands of types 'MTKpp::stdGroup* const' and 'MTKpp::submolecule**' to binary 'operator-'
stdGroup.cpp:271: error: invalid operands of types 'MTKpp::molecule*' and 'MTKpp::submolecule**' to binary 'operator-'
stdGroup.cpp:271: error: 'getSubMoleculeList' was not declared in this scope
stdGroup.cpp:272: error: expected `)' before ';' token
stdGroup.cpp:272: error: name lookup of 'p' changed for new ISO 'for' scoping
stdGroup.cpp:272: error: using obsolete binding at 'p'
stdGroup.cpp:272: error: expected `;' before ')' token
make[3]: *** [stdGroup.lo] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install_mtkpp] Error 2
What do I need to do?
Thanks,
Genzo Tanaka
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Apr 02 2012 - 04:30:03 PDT