Package Details: autodock-vina 1.2.5-1

Git Clone URL: https://aur.archlinux.org/autodock-vina.git (read-only, click to copy)
Package Base: autodock-vina
Description: A tool for drug discovery, molecular docking and virtual screening
Upstream URL: https://github.com/ccsb-scripps/AutoDock-Vina
Licenses: Apache 2.0
Submitter: mschu
Maintainer: mschu
Last Packager: mschu
Votes: 6
Popularity: 0.000000
First Submitted: 2011-02-09 15:01 (UTC)
Last Updated: 2023-07-10 12:04 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Kiri0 commented on 2024-02-16 07:08 (UTC) (edited on 2024-02-16 07:09 (UTC) by Kiri0)

/usr/include/boost/progress.hpp:27:1: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp> instead.’
   27 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp>" )
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/timer.hpp:25:1: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
   25 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
      | ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [../../makefile_common:41: parallel_mc.o] Error 1

<deleted-account> commented on 2021-07-12 19:45 (UTC)

To correct compilation errors the project should be compiled with the standard C++11, adding the flag '-std=gnu++11' must be sufficient

diff --git a/PKGBUILD b/PKGBUILD
index 7dd5497..ee6938b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,7 @@ build() {

   cd "build/linux/release"
   sed -i "s:/local::g;s:-static::g" Makefile
+  sed -i "s/C_OPTIONS=/& -std=gnu++11/g" Makefile
   make
 }

chemist69 commented on 2013-05-06 09:11 (UTC)

Thanks a lot, it works now ! (Please excuse the late answer. I thought I would get an alert, when s.o. posts an answer.) Kind regards, Axel

mschu commented on 2013-04-27 20:24 (UTC)

That was a weird one to track down ;-) It seems that vina tried to statically link to boost, which itself is a dynamically linked library yielding this library not found error even though the library is there. Should be fixed now, let me know if you have any more problems.

chemist69 commented on 2013-04-27 19:52 (UTC)

Hi, I get an error during the build: /usr/bin/g++ -static -pthread -ansi -Wno-long-long -O3 -DNDEBUG -I /usr/include -L/usr/lib -L. -o vina main.o cache.o coords.o current_weights.o everything.o grid.o szv_grid.o manifold.o model.o monte_carlo.o mutate.o my_pid.o naive_non_cache.o non_cache.o parallel_mc.o parse_pdbqt.o pdb.o quasi_newton.o quaternion.o random.o ssd.o terms.o weighted_terms.o -l boost_system -l boost_thread -l boost_serialization -l boost_filesystem -l boost_program_options /usr/bin/ld: cannot find -lboost_system /usr/bin/ld: cannot find -lboost_thread /usr/bin/ld: cannot find -lboost_serialization /usr/bin/ld: cannot find -lboost_filesystem /usr/bin/ld: cannot find -lboost_program_options collect2: error: ld returned 1 exit status make: *** [vina] Error 1 ==> ERROR: A failure occurred in build(). Aborting... The build failed. Any ideas ? Kind regards, Axel