Package Details: autodock-vina 1.2.7-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: 2025-03-03 17:32 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

bolek commented on 2026-05-28 02:42 (UTC)

this dont resolved

sed -i 's/-l boost_system//g' ../../makefile_common

In file included from /usr/include/boost/math/tools/precision.hpp:17: /usr/include/boost/math/policies/policy.hpp:945:90: error: ‘remove_reference_t’ in namespace ‘boost::math’ does not name a template type; did you mean ‘remove_reference’? [-Wtemplate-body] 945 | static constexpr bool value = (sizeof(detail::test_is_policy(static_cast<boost::math::remove_reference_t\<boost::math::remove_cv_t\<P>>*>(nullptr))) == sizeof(char)); | ^~ | remove_reference /usr/include/boost/math/policies/policy.hpp:945:108: error: expected ‘>’ before ‘<’ token [-Wtemplate-body] 945 | static constexpr bool value = (sizeof(detail::test_is_policy(static_cast<boost::math::remove_reference_t\<boost::math::remove_cv_t\<P>>*>(nullptr))) == sizeof(char)); | ^ In file included from /usr/include/boost/math/special_functions/sinc.hpp:20: /usr/include/boost/math/tools/promotion.hpp:90:36: error: ‘common_type_t’ in namespace ‘boost::math’ does not name a template type; did you mean ‘common_type’? [-Wtemplate-body] 90 | using type = boost::math::common_type_t<T1, T2, float>; | ^ | common_type In file included from /usr/include/boost/math/special_functions/fpclassify.hpp:20, from /usr/include/boost/math/special_functions/sinc.hpp:22: /usr/include/boost/math/special_functions/math_fwd.hpp:651:61: error: ‘boost::math::enable_if_t’ has not been declared; did you mean ‘boost::math::enable_if’? 651 | template <class T1, class T2, class Policy, boost::math::enable_if_t\<policies::is_policy_v\<Policy>, bool> = true> | ^ /usr/include/boost/math/special_functions/math_fwd.hpp:651:72: error: expected ‘>’ before ‘<’ token 651 | template <class T1, class T2, class Policy, boost::math::enable_if_t\<policies::is_policy_v\<Policy>, bool> = true> | ^ /usr/include/boost/math/special_functions/math_fwd.hpp:655:57: error: ‘boost::math::enable_if_t’ has not been declared; did you mean ‘boost::math::enable_if’? 655 | template <class T1, class T2, class T3, boost::math::enable_if_t<!policies::is_policy_v<T3>, bool> = true> | ^ /usr/include/boost/math/special_functions/math_fwd.hpp:655:68: error: expected ‘>’ before ‘<’ token 655 | template <class T1, class T2, class T3, boost::math::enable_if_t<!policies::is_policy_v<T3>, bool> = true> | ^ make: *** [../../makefile_common:47: main.o] Error 1

hmcezar commented on 2026-04-27 12:28 (UTC)

With the current boost versions, I needed to add the following line before make so I could finish the compilation:

sed -i 's/-l boost_system//g' ../../makefile_common

dclinuxgal commented on 2026-02-05 01:50 (UTC)

The inconsistency of sha256sum was due to my network problem. Please ignore it.

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