Re: [AMBER-Developers] MTKPP dependency on zlib

From: Martin Peters <martin.b.peters.me.com>
Date: Mon, 31 Jan 2011 20:52:32 +0000

Hi Dan,

Sorry about that. I'll implement this fix on the MTKpp-devel branch and merge with the master by the end of the week.

Regards,

Martin.


On 31 Jan 2011, at 20:36, Daniel Roe wrote:

> Hi All,
>
> While installing Amber from the GIT repo on a brand new Fedora14
> installation the compile halted during MTKPP compilation:
>
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..
> -I/home/droe/Amber/GIT/amber/AmberTools/src/boost-1.38.0 -I./..
> -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -Wall -O2 -fPIC -MT
> mmPotential.lo -MD -MP -MF .deps/mmPotential.Tpo -c mmPotential.cpp -o
> mmPotential.o
> In file included from mmPotential.cpp:33:0:
> mmPotential.h:43:18: fatal error: zlib.h: No such file or directory
> compilation terminated.
>
> mmPotential depends on zlib, but has no mechanism for dealing with a
> system that doesn't have zlib installed.
>
> Since portions of cpptraj depend on zlib as well I had previously
> added a check for zlib (and libbz2) in the configure script; if found
> the variable zlib is set to '-lz' and the flag '-DHASGZ' is added to
> $coptflags (for libbz2 bzlib is set to '-lbz2' and '-DHASBZ2' is added
> to coptflags) . Since I'm not very familiar with the code I don't want
> to mess with it, but the MTKPP code should probably either be modified
> to handle systems with no zlib (e.g. via #ifdef HASGZ), or compilation
> of MTKPP should be skipped on those systems.
>
> -Dan
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Jan 31 2011 - 13:00:03 PST
Custom Search