Hi everybody,
I modified some things and compiled grive2 on OSX and now works :)
these are my steps:
For compile, first Install follows dependencies with brew (http://brew.sh/):
brew install cmake
brew install libgcrypt
brew install boost
brew install boost-build
brew install yajl
brew install pkgconfig
change all occurences of type off64_t with off_t , because in OSX all types are 64bit and off64_t doesn't exists.
( VIM tips: %s/off64_t/off_t/g )
in the source file: "libgrive//src/http/CurlAgent.cc":
modify the callback function "progress_callback" called by:
"curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, progress_callback);"
For my fast use, I only modified the if condition :
if ( pthis->m_pb && false ) { ... }
return 0
Hi everybody, I modified some things and compiled grive2 on OSX and now works :)
these are my steps:
For compile, first Install follows dependencies with brew (http://brew.sh/): brew install cmake brew install libgcrypt brew install boost brew install boost-build brew install yajl brew install pkgconfig
change all occurences of type off64_t with off_t , because in OSX all types are 64bit and off64_t doesn't exists. ( VIM tips: %s/off64_t/off_t/g )
in the source file: "libgrive//src/http/CurlAgent.cc": modify the callback function "progress_callback" called by: "curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, progress_callback);"
For my fast use, I only modified the if condition : if ( pthis->m_pb && false ) { ... } return 0
otherwhise gdrive raises a segmentation fault
... surely can do better :D