wget https://github.com/ccsb-scripps/AutoDock-Vina/archive/refs/tags/v1.2.5.tar.gz
tar zxvf v1.2.5.tar.gz
cd AutoDock-Vina-1.2.5
cd build/linux/release/
make
报错boost找不到,安装boost_1_85_0
../../../src/lib/common.h:39:10: fatal error: boost/serialization/vector.hpp: No such file or directory
39 | #include <boost/serialization/vector.hpp> // can't come before the above two - wart fixed in upcoming Boost versions
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated
mkdir ~/boost
cd ~/boost
wget https://archives.boost.io/release/1.85.0/source/boost_1_85_0.tar.gz
tar zxvf boost_1_85_0.tar.gz
cd boost_1_85_0/
./bootstrap.sh
./b2 install --prefix=/GLOBALFS/nscc-gz_qmo2/boost/boost
../../../src/lib/vina.h:38:10: fatal error: boost/filesystem/convenience.hpp: No such file or directory
38 | #include <boost/filesystem/convenience.hpp> // filesystem::basename
wget https://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.gz
tar zxvf boost_1_61_0.tar.gz
cd boost_1_61_0
./bootstrap.sh
./b2 install--prefix=/GLOBALFS/nscc-gz_qmo2/boost/boost
cd ~/AutoDock/AutoDock-Vina-1.2.5/build/linux/release
cat<<EOF> Makefile
BASE=/GLOBALFS/nscc-gz_qmo2/boost/boost
BOOST_VERSION=
BOOST_INCLUDE = $(BASE)/include
C_PLATFORM=-static -pthread
GPP=g++
C_OPTIONS= -g -std=gnu++11
BOOST_LIB_VERSION=
include ../../makefile_common
EOFmake