centos 6 compilation error installing grive
Posted: 2017/03/16 16:45:17
running centos 6.8 final 64 bit server (command line only), trying to install grive from git (https://github.com/Grive/grive) so I can mount google drive. Problem is I keep hitting an error during complation:
1) I have boost boost_1_63_0 installed, I've also tried boost_1_55_0.
2) I have yajl 2.1.1 installed too.
I get grive and cmake . runs fine but during make the console throws:
so I went into /root/grive/libgrive/src/base/State.cc and changed line 98 to remove 'string()' and then ran make again but I got:
unfortunately the readme and installation instructions all centre around ubuntu and debian but I'm using centos. Can anybody help me get past this error?
1) I have boost boost_1_63_0 installed, I've also tried boost_1_55_0.
2) I have yajl 2.1.1 installed too.
I get grive and cmake . runs fine but during make the console throws:
Code: Select all
/grive/libgrive/src/base/State.cc: In member function ‘void gr::State::FromLocal(const boost::filesystem::path&, gr::Resource*, gr::Val&)’:
/root/grive/libgrive/src/base/State.cc:98: error: ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘string’
make[2]: *** [libgrive/CMakeFiles/grive.dir/src/base/State.cc.o] Error 1
make[1]: *** [libgrive/CMakeFiles/grive.dir/all] Error 2
make: *** [all] Error 2
Code: Select all
/grive/libgrive/src/base/Resource.cc: In member function ‘void gr::Resource::FromLocal(gr::Val&)’:
/root/grive/libgrive/src/base/Resource.cc:280: error: ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘string’
/root/grive/libgrive/src/base/Resource.cc: In function ‘std::ostream& gr::operator<<(std::ostream&, gr::Resource::State)’:
/root/grive/libgrive/src/base/Resource.cc:749: warning: comparison between signed and unsigned integer expressions
make[2]: *** [libgrive/CMakeFiles/grive.dir/src/base/Resource.cc.o] Error 1
make[1]: *** [libgrive/CMakeFiles/grive.dir/all] Error 2
make: *** [all] Error 2