{"action":"created","issue":{"url":"https://api.github.com/repos/NodeOS/nodeos-mount/issues/5","labels_url":"https://api.github.com/repos/NodeOS/nodeos-mount/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/NodeOS/nodeos-mount/issues/5/comments","events_url":"https://api.github.com/repos/NodeOS/nodeos-mount/issues/5/events","html_url":"https://github.com/NodeOS/nodeos-mount/issues/5","id":109010228,"number":5,"title":"Can not install on OSX","user":{"login":"taoyuan","id":4882922,"avatar_url":"https://avatars.githubusercontent.com/u/4882922?v=3","gravatar_id":"","url":"https://api.github.com/users/taoyuan","html_url":"https://github.com/taoyuan","followers_url":"https://api.github.com/users/taoyuan/followers","following_url":"https://api.github.com/users/taoyuan/following{/other_user}","gists_url":"https://api.github.com/users/taoyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyuan/subscriptions","organizations_url":"https://api.github.com/users/taoyuan/orgs","repos_url":"https://api.github.com/users/taoyuan/repos","events_url":"https://api.github.com/users/taoyuan/events{/privacy}","received_events_url":"https://api.github.com/users/taoyuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-30T04:03:08Z","updated_at":"2015-09-30T05:44:49Z","closed_at":null,"body":"Install `nodeos-mount` on OSX, throws:\r\n\r\n```sh\r\n-\r\n> nodeos-mount@0.1.15 install /.../node_modules/nodeos-mount\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/mount/mount.o\r\n../mount.cc:30:19: error: no matching function for call to 'mount'\r\n        int ret = mount(mounty->devFile.c_str(),\r\n                  ^~~~~\r\n/usr/include/sys/mount.h:395:5: note: candidate function not viable: requires 4 arguments, but 5 were provided\r\nint     mount(const char *, const char *, int, void *);\r\n        ^\r\n../mount.cc:66:19: error: use of undeclared identifier 'umount'\r\n        int ret = umount(mounty->target.c_str());\r\n                  ^\r\n../mount.cc:159:15: error: no matching function for call to 'mount'\r\n    int ret = mount(s_devFile.c_str(),\r\n              ^~~~~\r\n/usr/include/sys/mount.h:395:5: note: candidate function not viable: requires 4 arguments, but 5 were provided\r\nint     mount(const char *, const char *, int, void *);\r\n        ^\r\n../mount.cc:184:15: error: use of undeclared identifier 'umount'; did you mean 'Umount'?\r\n    int ret = umount(s_target.c_str());\r\n              ^~~~~~\r\n              Umount\r\n../mount.cc:121:12: note: 'Umount' declared here\r\nNAN_METHOD(Umount) {\r\n           ^\r\n../node_modules/nan/nan.h:1546:50: note: expanded from macro 'NAN_METHOD'\r\n#define NAN_METHOD(name) _NAN_METHOD_RETURN_TYPE name(_NAN_METHOD_ARGS)\r\n                                                 ^\r\n../mount.cc:184:22: error: reference to type 'const v8::Arguments' could not bind to an rvalue of type 'const char *'\r\n    int ret = umount(s_target.c_str());\r\n                     ^~~~~~~~~~~~~~~~\r\n../mount.cc:121:1: note: passing argument to parameter 'args' here\r\nNAN_METHOD(Umount) {\r\n^\r\n../node_modules/nan/nan.h:1546:55: note: expanded from macro 'NAN_METHOD'\r\n#define NAN_METHOD(name) _NAN_METHOD_RETURN_TYPE name(_NAN_METHOD_ARGS)\r\n                                                      ^\r\n../node_modules/nan/nan.h:981:49: note: expanded from macro '_NAN_METHOD_ARGS'\r\n# define _NAN_METHOD_ARGS _NAN_METHOD_ARGS_TYPE args\r\n                                                ^\r\n5 errors generated.\r\nmake: *** [Release/obj.target/mount/mount.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/NodeOS/nodeos-mount/issues/comments/144287642","html_url":"https://github.com/NodeOS/nodeos-mount/issues/5#issuecomment-144287642","issue_url":"https://api.github.com/repos/NodeOS/nodeos-mount/issues/5","id":144287642,"user":{"login":"piranna","id":532414,"avatar_url":"https://avatars.githubusercontent.com/u/532414?v=3","gravatar_id":"","url":"https://api.github.com/users/piranna","html_url":"https://github.com/piranna","followers_url":"https://api.github.com/users/piranna/followers","following_url":"https://api.github.com/users/piranna/following{/other_user}","gists_url":"https://api.github.com/users/piranna/gists{/gist_id}","starred_url":"https://api.github.com/users/piranna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piranna/subscriptions","organizations_url":"https://api.github.com/users/piranna/orgs","repos_url":"https://api.github.com/users/piranna/repos","events_url":"https://api.github.com/users/piranna/events{/privacy}","received_events_url":"https://api.github.com/users/piranna/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T05:44:49Z","updated_at":"2015-09-30T05:44:49Z","body":"NodeOS currently can only be build on a Linux system, but I'm curious how it's possible that you've go so far generating it, since nodeos-mount is used on nodeos-initram... Could you be able to explain us what steps have you followed to compile it?"}}