{"action":"created","issue":{"url":"https://api.github.com/repos/beniz/deepdetect/issues/71","repository_url":"https://api.github.com/repos/beniz/deepdetect","labels_url":"https://api.github.com/repos/beniz/deepdetect/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/beniz/deepdetect/issues/71/comments","events_url":"https://api.github.com/repos/beniz/deepdetect/issues/71/events","html_url":"https://github.com/beniz/deepdetect/issues/71","id":136062698,"number":71,"title":"Install deepdetect on CentOS","user":{"login":"anguoyang","id":7838082,"avatar_url":"https://avatars.githubusercontent.com/u/7838082?v=3","gravatar_id":"","url":"https://api.github.com/users/anguoyang","html_url":"https://github.com/anguoyang","followers_url":"https://api.github.com/users/anguoyang/followers","following_url":"https://api.github.com/users/anguoyang/following{/other_user}","gists_url":"https://api.github.com/users/anguoyang/gists{/gist_id}","starred_url":"https://api.github.com/users/anguoyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anguoyang/subscriptions","organizations_url":"https://api.github.com/users/anguoyang/orgs","repos_url":"https://api.github.com/users/anguoyang/repos","events_url":"https://api.github.com/users/anguoyang/events{/privacy}","received_events_url":"https://api.github.com/users/anguoyang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beniz/deepdetect/labels/compilation","name":"compilation","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-02-24T13:33:03Z","updated_at":"2016-03-06T11:34:36Z","closed_at":null,"body":"Hi,\r\nI tried to install dependencies on CentOS with similar scripts, however, it did not work:\r\n yum install build-essential libgoogle-glog-dev libgflags-dev libeigen3-dev libopencv-dev libcppnetlib-dev libboost-dev libcurlpp-dev libcurl4-openssl-dev protobuf-compiler libopenblas-dev libhdf5-dev libprotobuf-dev libleveldb-dev libsnappy-dev liblmdb-dev libutfcpp-dev\r\nLoaded plugins: security\r\nSetting up Install Process\r\nNo package build-essential available.\r\nNo package libgoogle-glog-dev available.\r\nNo package libgflags-dev available.\r\nNo package libeigen3-dev available.\r\nNo package libopencv-dev available.\r\nNo package libcppnetlib-dev available.\r\nNo package libboost-dev available.\r\nNo package libcurlpp-dev available.\r\nNo package libcurl4-openssl-dev available.\r\nNo package libopenblas-dev available.\r\nNo package libhdf5-dev available.\r\nNo package libprotobuf-dev available.\r\n\r\nDoes it mean, that I have to compiled all those source code one by one for installation?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/beniz/deepdetect/issues/comments/192878230","html_url":"https://github.com/beniz/deepdetect/issues/71#issuecomment-192878230","issue_url":"https://api.github.com/repos/beniz/deepdetect/issues/71","id":192878230,"user":{"login":"Isaacpm","id":7570526,"avatar_url":"https://avatars.githubusercontent.com/u/7570526?v=3","gravatar_id":"","url":"https://api.github.com/users/Isaacpm","html_url":"https://github.com/Isaacpm","followers_url":"https://api.github.com/users/Isaacpm/followers","following_url":"https://api.github.com/users/Isaacpm/following{/other_user}","gists_url":"https://api.github.com/users/Isaacpm/gists{/gist_id}","starred_url":"https://api.github.com/users/Isaacpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isaacpm/subscriptions","organizations_url":"https://api.github.com/users/Isaacpm/orgs","repos_url":"https://api.github.com/users/Isaacpm/repos","events_url":"https://api.github.com/users/Isaacpm/events{/privacy}","received_events_url":"https://api.github.com/users/Isaacpm/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T11:34:36Z","updated_at":"2016-03-06T11:34:36Z","body":"Hi guys,\r\nhit a roadblock with the CentOS 7 installation, and would like some advice, because it's getting out of control.\r\nI'm getting this error:\r\n```\r\n/root/deepdetect/src/commandlineapi.cc: In member function ‘int dd::CommandLineAPI::boot(int, char**)’:\r\n/root/deepdetect/src/commandlineapi.cc:46:5: error: ‘ParseCommandLineFlags’ is not a member of ‘google’\r\n     google::ParseCommandLineFlags(&argc, &argv, true);\r\n     ^\r\n/root/deepdetect/src/commandlineapi.cc:46:5: note: suggested alternative:\r\nIn file included from /usr/include/glog/logging.h:85:0,\r\n                 from /root/deepdetect/src/imginputfileconn.h:30,\r\n                 from /root/deepdetect/src/services.h:29,\r\n                 from /root/deepdetect/src/apistrategy.h:26,\r\n                 from /root/deepdetect/src/commandlineapi.h:25,\r\n                 from /root/deepdetect/src/commandlineapi.cc:22:\r\n/usr/include/gflags/gflags.h:346:31: note:   ‘gflags::ParseCommandLineFlags’\r\n extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int *argc, char*** argv, bool remove_flags);\r\n                               ^\r\nmake[2]: *** [src/CMakeFiles/ddetect.dir/commandlineapi.cc.o] Error 1\r\nmake[1]: *** [src/CMakeFiles/ddetect.dir/all] Error 2\r\n\r\n```\r\n\r\nAll solutions I found point to compiling glflags with GFLAGS_NAMESPACE defined, like in:\r\nhttps://github.com/BVLC/caffe/issues/890\r\n\r\nThe problem is that compiling gflags required a newer cmake version, and when I compile the new cmake version, things start getting very messy, because the other cmakes stop working.\r\n\r\nAny suggestions, before I continue with the gflags compilation path?\r\nAs it seems really complicated for the installation.\r\n\r\nThanks,\r\nIsaac"}}