Opened 9 years ago
Closed 9 years ago
#3 closed defect (duplicate)
configuring Herwig++ 7.0.1 fails with gcc 5.3
Reported by: | new | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Herwig 7.0.2 |
Version: | 7.0.1 | Keywords: | |
Cc: | ivan.razumov@…, genser-dev@… |
Description
configuring Herwig++ 7.0.1 fails with gcc 5.3 with the following error:
checking for the toolset name used by Boost for /afs/cern.ch/sw/lcg/contrib/gcc/5.3/x86_64-slc6/bin/g++... configure: WARNING: could not figure out which toolset name to use for /afs/cern.ch/sw/lcg/contrib/gcc/5.3/x86_64-slc6/bin/g++ checking boost/system/error_code.hpp usability... yes checking boost/system/error_code.hpp presence... yes checking for boost/system/error_code.hpp... yes checking for the Boost system library... no configure: error: cannot find the flags to link with Boost system This is caused by configure script not being aware of GCC 5.3's existence (it only knows about GCC 5.2 and older). This can be fixed by applying the following patch: --- ./m4/boost.m4.orig 2016-04-08 11:15:54.051868634 +0200 +++ ./m4/boost.m4 2016-04-08 11:16:19.420108857 +0200 @@ -1305,6 +1305,8 @@ # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines # the same defines as GCC's). for i in \ + _BOOST_mingw_test(5, 3) \ + _BOOST_gcc_test(5, 3) \ _BOOST_mingw_test(5, 2) \ _BOOST_gcc_test(5, 2) \ _BOOST_mingw_test(5, 1) \
Could you please take this into account in the next release of Herwig?
Note: See
TracTickets for help on using
tickets.
Duplicate of #2. Fixed in 7.0.2.