Re: [AMBER] MTKPP installation error

From: Jason Swails <jason.swails.gmail.com>
Date: Wed, 04 Jun 2014 07:39:45 -0400

On Wed, 2014-06-04 at 08:07 +0300, Kshatresh Dutta Dubey wrote:
> Dear users,
>
> I am still waiting for help.

In all fairness, you have not been waiting long.

> Is there no solution for mtkpp installation
> problem?

I tried building Amber with the same set of compilers (GCC 4.8.2) and I
had no problems.

The error message that is printed out in your build log is something
along the lines of:

/usr/include/boost/exception.hpp:9:2: error: #error The header
<boost/exception.hpp> has been deprecated. Please #include
<boost/exception/all.hpp> instead.

What this means is that (for some reason) your install is not using the
boost-1.38.0 bundled with AmberTools, but is instead using a much newer
version of boost installed through your package manager.

You can work around this particular error by following the advice given
in the error message (i.e., change boost/exception.hpp to
boost/exception/all.hpp in
$AMBERHOME/AmberTools/src/mtkpp/src/Diagnostics/MTKException.h and
$AMBERHOME/AmberTools/src/mtkpp/src/Parsers/parsingException.h).

Then you can try again. If you get a different error, presumably
related to the fact that your install is using the newer boost for some
reason, there are a couple routes you can take:

1) Uninstall the system boost until you build Amber, then reinstall it
2) Keep following the instructions printed out in the error messages,
using this email as an example.
3) Figure out why your compiler is resolving the system boost include
(inside /usr/include) rather than the one in AmberTools/src/boost-1.38.0
(my install is using the Amber-bundled boost); then fix that environment
problem (this will require some investigation on your part seeing unless
someone with some experience on this list is able to reproduce your
problem).

HTH,
Jason

-- 
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jun 04 2014 - 05:00:02 PDT
Custom Search