problems in installing rDock
0
0
Entering edit mode
4 months ago

Hi, I'm trying to install rDock in my Mac M1, but I'm encountering several errors while running make:

$make
/Library/Developer/CommandLineTools/usr/bin/make lib
c++ -Wall -pipe -std=c++17 -fPIC -O3 -ffast-math -D_NDEBUG -DRBT_VERSION="v24.05-alpha" -I./include/ -I./include//GP -I./import/ -I./import//tnt -I./import//tnt/include -I./import//simplex -I./import//simplex/include -I./import//simplex/src -I./import//catch2 -I./import//cxxopts -I./import//cxxopts/include -c -o obj//RbtTriposAtomType.o src/lib//RbtTriposAtomType.cxx
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:19:12: error: no member named 'bind2nd' in namespace 'std'
using std::bind2nd;
      ~~~~~^
./include/RbtAtom.h:20:12: error: no member named 'ptr_fun' in namespace 'std'
using std::ptr_fun;
      ~~~~~^
./include/RbtAtom.h:391:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomEnabled: public std::unary_function<RbtAtom*, RbtBool> {
                            ~~~~~^~~~~~~~~~~~~~
                                 __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:398:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomSelected: public std::unary_function<RbtAtom*, RbtBool> {
                             ~~~~~^~~~~~~~~~~~~~
                                  __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:405:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomCyclic: public std::unary_function<RbtAtom*, RbtBool> {
                           ~~~~~^~~~~~~~~~~~~~
                                __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:412:37: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomBridgehead: public std::unary_function<RbtAtom*, RbtBool> {
                               ~~~~~^~~~~~~~~~~~~~
                                    __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:420:40: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomHBondAcceptor: public std::unary_function<RbtAtom*, RbtBool> {
                                  ~~~~~^~~~~~~~~~~~~~
                                       __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:428:37: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomHBondDonor: public std::unary_function<RbtAtom*, RbtBool> {
                               ~~~~~^~~~~~~~~~~~~~
                                    __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:436:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomCharged: public std::unary_function<RbtAtom*, RbtBool> {
                            ~~~~~^~~~~~~~~~~~~~
                                 __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:444:37: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomPosCharged: public std::unary_function<RbtAtom*, RbtBool> {
                               ~~~~~^~~~~~~~~~~~~~
                                    __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:452:37: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomNegCharged: public std::unary_function<RbtAtom*, RbtBool> {
                               ~~~~~^~~~~~~~~~~~~~
                                    __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:459:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomExtended: public std::unary_function<RbtAtom*, RbtBool> {
                             ~~~~~^~~~~~~~~~~~~~
                                  __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:468:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomPlanar: public std::unary_function<RbtAtom*, RbtBool> {
                           ~~~~~^~~~~~~~~~~~~~
                                __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:476:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isPiAtom: public std::unary_function<RbtAtom*, RbtBool> {
                       ~~~~~^~~~~~~~~~~~~~
                            __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:483:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomicNo_eq: public std::unary_function<RbtAtom*, RbtBool> {
                            ~~~~~^~~~~~~~~~~~~~
                                 __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:492:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isFFType_eq: public std::unary_function<RbtAtom*, RbtBool> {
                          ~~~~~^~~~~~~~~~~~~~
                               __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:501:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isAtomName_eq: public std::unary_function<RbtAtom*, RbtBool> {
                            ~~~~~^~~~~~~~~~~~~~
                                 __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:510:37: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isSubunitName_eq: public std::unary_function<RbtAtom*, RbtBool> {
                               ~~~~~^~~~~~~~~~~~~~
                                    __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/lib//RbtTriposAtomType.cxx:15:
./include/RbtAtom.h:519:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
class isSubunitId_eq: public std::unary_function<RbtAtom*, RbtBool> {
                             ~~~~~^~~~~~~~~~~~~~
                                  __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [obj//RbtTriposAtomType.o] Error 1
make: *** [build_lib] Error 2

Do you know how I can work around this? I'm following the installation provided by the github: https://github.com/CBDD/rDock, and have homebrew installed with the dependencies make, g++, popt. Thanks.

rDock • 217 views
ADD COMMENT

Login before adding your answer.

Traffic: 1170 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6