Hi All,

I tried to install via homebrew but after running it cannot move to stage
of rdkit installation on Mac 10.9.1

brew install --HEAD rdkit

==>* Installing rdkit dependency: *boost

*==>** Downloading
http://downloads.sourceforge.net/project/boost/boost/1.49.0/boos
<http://downloads.sourceforge.net/project/boost/boost/1.49.0/boos>*

Already downloaded: /Library/Caches/Homebrew/boost-1.49.0.tar.bz2

*==>** ./bootstrap.sh --prefix=/usr/local/Cellar/boost/1.49.0
--libdir=/usr/local/C*

*==>** ./bjam --prefix=/usr/local/Cellar/boost/1.49.0
--libdir=/usr/local/Cellar/bo*
When i was trying to build from source then i am having some types.cpp
error .Attached is the log of error msg.

Then i tried to install RDkit from source with Boost and all dependencies.I
was able to install Boost1.49 but the problem with rdkit cmake  is that it
is throwing an error at

make[2]: *** [Code/RDGeneral/CMakeFiles/RDGeneral.dir/types.cpp.o] Error 1

make[1]: *** [Code/RDGeneral/CMakeFiles/RDGeneral.dir/all] Error


My command was cmake -D
PYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.a -D
PYTHON_INCLUDE_DIR=/usr/include/python2.7 -D
PYTHON_EXECUTABLE=/usr/bin/python -DBOOST_ROOT=/usr/local/boost_1_49_0

Then i also changed the boost version to 1.55 again i found the same error

Anyone came across this type of error ?
Attached is my error log.

Can anyone guide me through whats going wrong.

Thanks
Abhik

Abhik Seal
Indiana University Bloomington
Department of Chemical Informatics
[email protected]
*OSDD CHEMINFORMATICS*
+18123699097
http://mypage.iu.edu/~abseal/index.htm
abhikseal/usr/local/src/RDKit_2013_09_1/build$cmake ..
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   python
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   regex
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/RDKit_2013_09_1/build
abhikseal/usr/local/src/RDKit_2013_09_1/build$make
[  1%] Built target fastentropy
[  1%] Built target inchi_support
Scanning dependencies of target RDGeneral
[  2%] Building CXX object 
Code/RDGeneral/CMakeFiles/RDGeneral.dir/Invariant.cpp.o
[  2%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/types.cpp.o
In file included from 
/usr/local/src/RDKit_2013_09_1/Code/RDGeneral/types.cpp:15:
In file included from /usr/local/src/RDKit_2013_09_1/Code/RDGeneral/types.h:20:
In file included from 
/usr/local/src/RDKit_2013_09_1/Code/RDGeneral/Invariant.h:15:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:593:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/utility:255:15:
 error: 
      no viable overloaded '='
        first = __p.first;
        ~~~~~ ^ ~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:1246:35:
 note: 
      in instantiation of member function 'std::__1::pair<const 
std::__1::basic_string<char>,
      boost::any>::operator=' requested here
                __cache->__value_ = *__first;
                                  ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:1187:9:
 note: 
      in instantiation of function template specialization 
'std::__1::__tree<std::__1::pair<const
      std::__1::basic_string<char>, boost::any>, 
std::__1::__map_value_compare<const
      std::__1::basic_string<char>, boost::any, std::__1::less<const 
std::__1::basic_string<char> >, true>,
      std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, 
boost::any> >
      >::__assign_multi<std::__1::__tree_const_iterator<std::__1::pair<const 
std::__1::basic_string<char>,
      boost::any>, const std::__1::__tree_node<std::__1::pair<const 
std::__1::basic_string<char>, boost::any>,
      void *> *, long> >' requested here
        __assign_multi(__t.begin(), __t.end());
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/map:766:21:
 note: 
      in instantiation of member function 
'std::__1::__tree<std::__1::pair<const std::__1::basic_string<char>,
      boost::any>, std::__1::__map_value_compare<const 
std::__1::basic_string<char>, boost::any,
      std::__1::less<const std::__1::basic_string<char> >, true>, 
std::__1::allocator<std::__1::pair<const
      std::__1::basic_string<char>, boost::any> > >::operator=' requested here
            __tree_ = __m.__tree_;
                    ^
/usr/local/src/RDKit_2013_09_1/Code/RDGeneral/Dict.h:41:13: note: in 
instantiation of member function
      'std::__1::map<const std::__1::basic_string<char>, boost::any, 
std::__1::less<const
      std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const 
std::__1::basic_string<char>,
      boost::any> > >::operator=' requested here
      _data = other._data;
            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:1222:19:
 note: 
      candidate function not viable: 'this' argument has type 'const 
std::__1::basic_string<char>', but method
      is not marked const
    basic_string& operator=(const basic_string& __str);
                  ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:1229:45:
 note: 
      candidate function not viable: 'this' argument has type 'const 
std::__1::basic_string<char>', but method
      is not marked const
    _LIBCPP_INLINE_VISIBILITY basic_string& operator=(const_pointer __s) 
{return assign(__s);}
                                            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:1230:19:
 note: 
      candidate function not viable: 'this' argument has type 'const 
std::__1::basic_string<char>', but method
      is not marked const
    basic_string& operator=(value_type __c);
                  ^
1 error generated.
make[2]: *** [Code/RDGeneral/CMakeFiles/RDGeneral.dir/types.cpp.o] Error 1
make[1]: *** [Code/RDGeneral/CMakeFiles/RDGeneral.dir/all] Error 2
make: *** [all] Error 2
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to