[Rdkit-devel] More build fun with RHEL 6
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Gianluca S. <gi...@gm...> - 2016-04-14 09:34:08
|
The RPM build for Fedora worked so I moved to RHEL/CentOS and got a new error:
In file included from /usr/include/boost/python/to_python_indirect.hpp:10,
from /usr/include/boost/python/converter/arg_to_python.hpp:10,
from /usr/include/boost/python/call.hpp:15,
from /usr/include/boost/python/object_core.hpp:12,
from /usr/include/boost/python/args.hpp:25,
from /usr/include/boost/python.hpp:11,
from
/builddir/build/BUILD/rdkit-Release_2016_03_1b1/python2/Code/RDBoost/python.h:2,
from
/builddir/build/BUILD/rdkit-Release_2016_03_1b1/python2/Code/GraphMol/FilterCatalog/Wrap/FilterCatalog.cpp:31:
/usr/include/boost/python/object/pointer_holder.hpp: In member
function 'void* boost::python::objects::pointer_holder<Pointer,
Value>::holds
(boost::python::type_info, bool) [with Pointer =
boost::shared_ptr<const RDKit::FilterCatalogEntry>, Value = const
RDKit::FilterCatalogEntry
]':
/builddir/build/BUILD/rdkit-Release_2016_03_1b1/python2/Code/GraphMol/FilterCatalog/Wrap/FilterCatalog.cpp:463:
instantiated from here
/usr/include/boost/python/object/pointer_holder.hpp:145: error:
invalid conversion from 'const void*' to 'void*'
/usr/include/boost/python/object/pointer_holder.hpp:145: error:
initializing argument 1 of 'void*
boost::python::objects::find_dynamic_type(void*,
boost::python::type_info, boost::python::type_info)'
/usr/include/boost/python/object/pointer_holder.hpp:145: error:
invalid conversion from 'const void*' to 'void*'
anything we can do to make it work on this older compiler?
Talking about this, I'd like to note the compilation is pretty noisy
because of some pragmas not supported by GCC until version 4.6. I
applied the attached patch to silence them.
--
Gianluca Sforna
http://plus.google.com/+gianlucasforna - http://twitter.com/giallu
Tinker Garage - http://tinkergarage.it
|