Re: [AMBER] Problem with installation of MTKPP

From: Martin Peters <martin.b.peters.me.com>
Date: Thu, 29 Mar 2012 09:41:58 +0100

Hi Setyanto,

Please build MTK++ using the AmberTools build scripts. In the AmberTools src directory run 'configure' and then 'make mtkpponly'.

If you still want to configure/compile within the mtkpp folder please look inside the AmberTools configure file for details, copied here for your convenience (notice path to boost):

    boostDir=$PWD/boost-1.38.0
    cd mtkpp
    echo
    echo "Configuring MTK++ (may be time-consuming)..."
    echo
    if [ "$is_mac" = 'yes' ]; then
      ./configure CXX="$cplusplus" CC="$cc" QTDIR="" \
        CFLAGS="$cflags" \
        CXXFLAGS="$cxxflags" \
        --prefix=$AMBERHOME \
        --includedir=$AMBERHOME/include/mtkpp \
        --disable-shared \
        --with-boost="${boostDir}" > ../mtkpp_config.log 2>&1
    else
      ./configure CXX="$cplusplus" CC="$cc" QTDIR="" \
         CFLAGS="$cflags" \
         CXXFLAGS="$cxxflags" \
         --disable-shared --enable-static="yes" \
         --prefix=$AMBERHOME \
         --includedir=$AMBERHOME/include/mtkpp \
         --with-boost="${boostDir}" > ../mtkpp_config.log 2>&1
    fi

HTH,
Martin


On 29 Mar 2012, at 03:33, setyanto md wrote:

> Dear amber user and developer,
>
> I'm trying to install mtkpp package in my computer, I use ubuntu 11.04.
> According to Installation Instruction in file INSTALL, located in
> $AMBERHOME/AmberTools/src/mtkpp/
> said that : "Briefly, the shell commands `./configure; make; make install'
> should
> configure, build, and install this package."
>
> I already do
> $ ./configure
> The result from ./configure attached in this email.
>
> Then I done
>
> $ make
>
> but there is error.
> This is the error :
> root.stwahyudi-N43SL:/usr/local/amber11/AmberTools/src/mtkpp# make
> make all-recursive
> make[1]: Entering directory `/usr/local/amber11/AmberTools/src/mtkpp'
> Making all in src
> make[2]: Entering directory `/usr/local/amber11/AmberTools/src/mtkpp/src'
> Making all in Diagnostics
> make[3]: Entering directory
> `/usr/local/amber11/AmberTools/src/mtkpp/src/Diagnostics'
> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I../.. -I/usr/local/amber11/AmberTools/src/mtkpp/lib/boost_1_38_0
> -I./.. -g -O2 -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -O2 -fPIC
> -DHAVE_ZLIB -MT MTKException.lo -MD -MP -MF .deps/MTKException.Tpo -c -o
> MTKException.lo MTKException.cpp
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..
> -I/usr/local/amber11/AmberTools/src/mtkpp/lib/boost_1_38_0 -I./.. -g -O2
> -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -O2 -fPIC -DHAVE_ZLIB -MT
> MTKException.lo -MD -MP -MF .deps/MTKException.Tpo -c MTKException.cpp
> -fPIC -DPIC -o .libs/MTKException.o
> In file included from MTKException.cpp:8:0:
> MTKException.h:13:31: fatal error: boost/exception.hpp: No such file or
> directory
> compilation terminated.
> make[3]: *** [MTKException.lo] Error 1
> make[3]: Leaving directory
> `/usr/local/amber11/AmberTools/src/mtkpp/src/Diagnostics'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/amber11/AmberTools/src/mtkpp/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/amber11/AmberTools/src/mtkpp'
> make: *** [all] Error 2
>
> -----------------
>
> Can you give me suggestion to solve this error ?
>
> Regards,
>
> Setyanto
> <result-from-configure-mtkpp.txt>_______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Mar 29 2012 - 02:00:02 PDT
Custom Search