{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/1178","repository_url":"https://api.github.com/repos/dmlc/xgboost","labels_url":"https://api.github.com/repos/dmlc/xgboost/issues/1178/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/1178/comments","events_url":"https://api.github.com/repos/dmlc/xgboost/issues/1178/events","html_url":"https://github.com/dmlc/xgboost/issues/1178","id":153428304,"number":1178,"title":"Failure to build xgboost in mac - 'mutex' file not found & 'type_traits' file not found errors.","user":{"login":"vamtosh","id":19167632,"avatar_url":"https://avatars.githubusercontent.com/u/19167632?v=3","gravatar_id":"","url":"https://api.github.com/users/vamtosh","html_url":"https://github.com/vamtosh","followers_url":"https://api.github.com/users/vamtosh/followers","following_url":"https://api.github.com/users/vamtosh/following{/other_user}","gists_url":"https://api.github.com/users/vamtosh/gists{/gist_id}","starred_url":"https://api.github.com/users/vamtosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vamtosh/subscriptions","organizations_url":"https://api.github.com/users/vamtosh/orgs","repos_url":"https://api.github.com/users/vamtosh/repos","events_url":"https://api.github.com/users/vamtosh/events{/privacy}","received_events_url":"https://api.github.com/users/vamtosh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-06T11:00:03Z","updated_at":"2016-05-20T00:38:36Z","closed_at":null,"body":"Hi, \r\nI tried to install xgboost package through pip and it failed.\r\nSo I followed the steps in the installation guide - build.md\r\n\r\nI tried these steps:\r\ngit clone --recursive https://github.com/dmlc/xgboost\r\ncd xgboost; cp make/minimum.mk ./config.mk; make -j4\r\n\r\nWhen I run make -j4, it results in an error:\r\nfatal error: 'mutex' file not found & \r\nfatal error: 'type_traits' file not found\r\n\r\nUnable to find proper solution for this issue. Please help.\r\nThanks\r\n\r\nI have the following versions on my Mac:\r\n**_gcc-5 (Homebrew gcc 5.3.0) 5.3.0\r\n\r\nPython 3.5.1 :: Anaconda 4.0.0 (x86_64)\r\n\r\nApple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)\r\nTarget: x86_64-apple-darwin15.3.0_**\r\n\r\n**Here is the full error.**\r\n c++ -std=c++0x -Wall -O3 -msse2  -Wno-unknown-pragmas -funroll-loops -Iinclude   -Idmlc-core/include -Irabit/include -fPIC -DDISABLE_OPENMP -MM -MT build/logging.o src/logging.cc >build/logging.d\r\nc++ -std=c++0x -Wall -O3 -msse2  -Wno-unknown-pragmas -funroll-loops -Iinclude   -Idmlc-core/include -Irabit/include -fPIC -DDISABLE_OPENMP -MM -MT build/c_api/c_api.o src/c_api/c_api.cc >build/c_api/c_api.d\r\nc++ -std=c++0x -Wall -O3 -msse2  -Wno-unknown-pragmas -funroll-loops -Iinclude   -Idmlc-core/include -Irabit/include -fPIC -DDISABLE_OPENMP -MM -MT build/learner.o src/learner.cc >build/learner.d\r\nc++ -std=c++0x -Wall -O3 -msse2  -Wno-unknown-pragmas -funroll-loops -Iinclude   -Idmlc-core/include -Irabit/include -fPIC -DDISABLE_OPENMP -MM -MT build/c_api/c_api_error.o src/c_api/c_api_error.cc >build/c_api/c_api_error.d\r\nIn file included from src/c_api/c_api.cc:3:\r\nIn file included from include/xgboost/data.h:11:\r\nIn file included from dmlc-core/include/dmlc/data.h:14:\r\nIn file included from dmlc-core/include/dmlc/./io.h:360:\r\nIn file included from dmlc-core/include/dmlc/./serializer.h:21:\r\ndmlc-core/include/dmlc/./type_traits.h:11:10: fatal error: 'type_traits' file\r\n      not found\r\n#include <type_traits>\r\n         ^\r\n1 error generated.\r\nmake: *** [build/c_api/c_api.o] Error 1\r\nmake: *** Waiting for unfinished jobs....\r\nIn file included from src/c_api/c_api_error.cc:7:\r\nsrc/c_api/../common/thread_local.h:12:10: fatal error: 'mutex' file not found\r\n#include <mutex>\r\n         ^\r\n1 error generated.\r\nmake: *** [build/c_api/c_api_error.o] Error 1\r\nIn file included from src/learner.cc:8:\r\nIn file included from include/xgboost/learner.h:11:\r\nIn file included from rabit/include/rabit/rabit.h:28:\r\nIn file included from rabit/include/rabit/./internal/engine.h:10:\r\nIn file included from rabit/include/rabit/./internal/../serializable.h:12:\r\nIn file included from rabit/include/rabit/../dmlc/io.h:360:\r\nIn file included from rabit/include/rabit/../dmlc/./serializer.h:21:\r\nrabit/include/rabit/../dmlc/./type_traits.h:11:10: fatal error: 'type_traits'\r\n      file not found\r\n#include <type_traits>\r\n         ^\r\n1 error generated.\r\nmake: *** [build/learner.o] Error 1\r\nIn file included from src/logging.cc:9:\r\nIn file included from src/./common/sync.h:11:\r\nIn file included from rabit/include/rabit/rabit.h:28:\r\nIn file included from rabit/include/rabit/./internal/engine.h:10:\r\nIn file included from rabit/include/rabit/./internal/../serializable.h:12:\r\nIn file included from rabit/include/rabit/../dmlc/io.h:360:\r\nIn file included from rabit/include/rabit/../dmlc/./serializer.h:21:\r\nrabit/include/rabit/../dmlc/./type_traits.h:11:10: fatal error: 'type_traits'\r\n      file not found\r\n#include <type_traits>\r\n         ^\r\n1 error generated.\r\nmake: *** [build/logging.o] Error 1\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/comments/220489336","html_url":"https://github.com/dmlc/xgboost/issues/1178#issuecomment-220489336","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/1178","id":220489336,"user":{"login":"ozkansafak","id":1207494,"avatar_url":"https://avatars.githubusercontent.com/u/1207494?v=3","gravatar_id":"","url":"https://api.github.com/users/ozkansafak","html_url":"https://github.com/ozkansafak","followers_url":"https://api.github.com/users/ozkansafak/followers","following_url":"https://api.github.com/users/ozkansafak/following{/other_user}","gists_url":"https://api.github.com/users/ozkansafak/gists{/gist_id}","starred_url":"https://api.github.com/users/ozkansafak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozkansafak/subscriptions","organizations_url":"https://api.github.com/users/ozkansafak/orgs","repos_url":"https://api.github.com/users/ozkansafak/repos","events_url":"https://api.github.com/users/ozkansafak/events{/privacy}","received_events_url":"https://api.github.com/users/ozkansafak/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T00:38:36Z","updated_at":"2016-05-20T00:38:36Z","body":"You're probably right. Will do and let you know on this thread.\nThanks for your time.\n\n\nOn Thu, May 19, 2016 at 1:32 PM, Qiang Kou (KK) <notifications@github.com>\nwrote:\n\n> @ozkansafak <https://github.com/ozkansafak> I am afraid I don't know\n> what's wrong in your toolchain. The only suggestion I can give you now is\n> to reinstall the Xcode.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/dmlc/xgboost/issues/1178#issuecomment-220439644>\n>\n"}}
{"actor":{"display_login":"ozkansafak"}}