{"action":"closed","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,"node_id":"MDU6SXNzdWUxNTM0MjgzMDQ=","number":1178,"title":"Failure to build xgboost in mac - 'mutex' file not found & 'type_traits' file not found errors.","user":{"login":"vamtosh","id":19167632,"node_id":"MDQ6VXNlcjE5MTY3NjMy","avatar_url":"https://avatars3.githubusercontent.com/u/19167632?v=4","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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-05-06T11:00:03Z","updated_at":"2018-07-04T17:38:16Z","closed_at":"2018-07-04T17:38:16Z","author_association":"NONE","body":"Hi, \nI tried to install xgboost package through pip and it failed.\nSo I followed the steps in the installation guide - build.md\n\nI tried these steps:\ngit clone --recursive https://github.com/dmlc/xgboost\ncd xgboost; cp make/minimum.mk ./config.mk; make -j4\n\nWhen I run make -j4, it results in an error:\nfatal error: 'mutex' file not found & \nfatal error: 'type_traits' file not found\n\nUnable to find proper solution for this issue. Please help.\nThanks\n\nI have the following versions on my Mac:\n**_gcc-5 (Homebrew gcc 5.3.0) 5.3.0\n\nPython 3.5.1 :: Anaconda 4.0.0 (x86_64)\n\nApple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)\nTarget: x86_64-apple-darwin15.3.0_**\n\n**Here is the full error.**\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\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\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\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\nIn file included from src/c_api/c_api.cc:3:\nIn file included from include/xgboost/data.h:11:\nIn file included from dmlc-core/include/dmlc/data.h:14:\nIn file included from dmlc-core/include/dmlc/./io.h:360:\nIn file included from dmlc-core/include/dmlc/./serializer.h:21:\ndmlc-core/include/dmlc/./type_traits.h:11:10: fatal error: 'type_traits' file\n      not found\n# include <type_traits>\n\n```\n     ^\n```\n\n1 error generated.\nmake: **\\* [build/c_api/c_api.o] Error 1\nmake: **\\* Waiting for unfinished jobs....\nIn file included from src/c_api/c_api_error.cc:7:\nsrc/c_api/../common/thread_local.h:12:10: fatal error: 'mutex' file not found\n# include <mutex>\n\n```\n     ^\n```\n\n1 error generated.\nmake: **\\* [build/c_api/c_api_error.o] Error 1\nIn file included from src/learner.cc:8:\nIn file included from include/xgboost/learner.h:11:\nIn file included from rabit/include/rabit/rabit.h:28:\nIn file included from rabit/include/rabit/./internal/engine.h:10:\nIn file included from rabit/include/rabit/./internal/../serializable.h:12:\nIn file included from rabit/include/rabit/../dmlc/io.h:360:\nIn file included from rabit/include/rabit/../dmlc/./serializer.h:21:\nrabit/include/rabit/../dmlc/./type_traits.h:11:10: fatal error: 'type_traits'\n      file not found\n# include <type_traits>\n\n```\n     ^\n```\n\n1 error generated.\nmake: **\\* [build/learner.o] Error 1\nIn file included from src/logging.cc:9:\nIn file included from src/./common/sync.h:11:\nIn file included from rabit/include/rabit/rabit.h:28:\nIn file included from rabit/include/rabit/./internal/engine.h:10:\nIn file included from rabit/include/rabit/./internal/../serializable.h:12:\nIn file included from rabit/include/rabit/../dmlc/io.h:360:\nIn file included from rabit/include/rabit/../dmlc/./serializer.h:21:\nrabit/include/rabit/../dmlc/./type_traits.h:11:10: fatal error: 'type_traits'\n      file not found\n# include <type_traits>\n\n```\n     ^\n```\n\n1 error generated.\nmake: **\\* [build/logging.o] Error 1\n"}}
{"actor":{"display_login":"tqchen"}}