{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-clang/issues/43","labels_url":"https://api.github.com/repos/AtomLinter/linter-clang/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-clang/issues/43/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-clang/issues/43/events","html_url":"https://github.com/AtomLinter/linter-clang/issues/43","id":56081809,"number":43,"title":"Install error","user":{"login":"mensinda","id":3407462,"avatar_url":"https://avatars.githubusercontent.com/u/3407462?v=3","gravatar_id":"","url":"https://api.github.com/users/mensinda","html_url":"https://github.com/mensinda","followers_url":"https://api.github.com/users/mensinda/followers","following_url":"https://api.github.com/users/mensinda/following{/other_user}","gists_url":"https://api.github.com/users/mensinda/gists{/gist_id}","starred_url":"https://api.github.com/users/mensinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mensinda/subscriptions","organizations_url":"https://api.github.com/users/mensinda/orgs","repos_url":"https://api.github.com/users/mensinda/repos","events_url":"https://api.github.com/users/mensinda/events{/privacy}","received_events_url":"https://api.github.com/users/mensinda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-30T20:38:15Z","updated_at":"2015-02-05T17:30:52Z","closed_at":null,"body":"Trying to install linter-clang results in following error:\r\n```\r\n $ PYTHON=python2 apm install linter-clang\r\n\r\n> runas@1.1.0 install /tmp/apm-install-dir-115030-16080-zsuyhb/node_modules/linter-clang/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/tmp/apm-install-dir-115030-16080-zsuyhb/node_modules/linter-clang/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas/build'\r\n  CXX(target) Release/obj.target/runas/src/main.o\r\nrunas.target.mk:88: recipe for target 'Release/obj.target/runas/src/main.o' failed\r\nmake: Leaving directory '/tmp/apm-install-dir-115030-16080-zsuyhb/node_modules/linter-clang/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas/build'\r\n\r\nIn file included from ../src/main.cc:1:0:\r\n../../nan/nan.h:623:19: error: ‘NanNew’ declared as an ‘inline’ variable\r\n       v8::String::ExternalAsciiStringResource *resource) {\r\n                   ^\r\n../../nan/nan.h:623:19: warning: ‘always_inline’ attribute ignored [-Wattributes]\r\n../../nan/nan.h:623:19: error: ‘v8::Local<v8::String> NanNew’ redeclared as different kind of symbol\r\n../../nan/nan.h:617:36: note: previous declaration ‘v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)’\r\n   NAN_INLINE v8::Local<v8::String> NanNew(\r\n                                    ^\r\n../../nan/nan.h:623:7: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’\r\n       v8::String::ExternalAsciiStringResource *resource) {\r\n       ^\r\n../../nan/nan.h:623:48: error: ‘resource’ was not declared in this scope\r\n       v8::String::ExternalAsciiStringResource *resource) {\r\n                                                ^\r\n../../nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’:\r\n../../nan/nan.h:1993:12: error: ‘class v8::String’ has no member named ‘IsExternalAscii’\r\n   if (str->IsExternalAscii()) {\r\n            ^\r\n../../nan/nan.h:1994:23: error: ‘ExternalAsciiStringResource’ in ‘class v8::String’ does not name a type\r\n     const v8::String::ExternalAsciiStringResource* ext;\r\n                       ^\r\n../../nan/nan.h:1995:5: error: ‘ext’ was not declared in this scope\r\n     ext = str->GetExternalAsciiStringResource();\r\n     ^\r\n../../nan/nan.h:1995:16: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’\r\n     ext = str->GetExternalAsciiStringResource();\r\n                ^\r\nmake: *** [Release/obj.target/runas/src/main.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\ngyp ERR! System Linux 3.18.4-1-ARCH\r\ngyp ERR! command \"node\" \"/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /tmp/apm-install-dir-115030-16080-zsuyhb/node_modules/linter-clang/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas\r\ngyp ERR! node -v v0.10.35\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok \r\nnpm ERR! Linux 3.18.4-1-ARCH\r\nnpm ERR! argv \"/usr/share/atom/resources/app/apm/bin/node\" \"/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js\" \"--globalconfig\" \"/usr/share/atom/resources/app/apm/.apmrc\" \"--userconfig\" \"/home/daniel/.atom/.apmrc\" \"install\" \"/tmp/d-115030-16080-1ucsvxb/package.tgz\" \"--target=0.21.0\" \"--arch=x64\"\r\nnpm ERR! node v0.10.35\r\nnpm ERR! npm  v2.3.0\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! runas@1.1.0 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the runas@1.1.0 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the runas package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls runas\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /tmp/apm-install-dir-115030-16080-zsuyhb/npm-debug.log\r\n```\r\n\r\nI do not know if this is usefull but I get an nearly identical error with [autocomplete-clang](https://github.com/yasuyuky/autocomplete-clang/issues/34)"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-clang/issues/comments/73088958","html_url":"https://github.com/AtomLinter/linter-clang/issues/43#issuecomment-73088958","issue_url":"https://api.github.com/repos/AtomLinter/linter-clang/issues/43","id":73088958,"user":{"login":"jose-villegas","id":762582,"avatar_url":"https://avatars.githubusercontent.com/u/762582?v=3","gravatar_id":"","url":"https://api.github.com/users/jose-villegas","html_url":"https://github.com/jose-villegas","followers_url":"https://api.github.com/users/jose-villegas/followers","following_url":"https://api.github.com/users/jose-villegas/following{/other_user}","gists_url":"https://api.github.com/users/jose-villegas/gists{/gist_id}","starred_url":"https://api.github.com/users/jose-villegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jose-villegas/subscriptions","organizations_url":"https://api.github.com/users/jose-villegas/orgs","repos_url":"https://api.github.com/users/jose-villegas/repos","events_url":"https://api.github.com/users/jose-villegas/events{/privacy}","received_events_url":"https://api.github.com/users/jose-villegas/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T17:30:52Z","updated_at":"2015-02-05T17:30:52Z","body":"I don't have clang-flags package install I'm getting some of these errors, here is the output\r\nPlatform: Win8.1\r\n\r\n> runas@1.1.0 install C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\r\n> node-gyp rebuild\r\n\r\n\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas>node \"C:\\Users\\Jose\\AppData\\Local\\atom\\app-0.177.0\\resources\\app\\apm\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild \r\nBuilding the projects in this solution one at a time. To enable parallel build, please add the \"/m\" switch.\r\nC:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\V120\\Microsoft.CppBuild.targets(389,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n  main.cc\r\n  runas_win.cc\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(623): error C2039: 'ExternalAsciiStringResource' : is not a member of 'v8::String' (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n          C:\\Users\\Jose\\.atom\\.node-gyp\\.node-gyp\\0.21.0\\deps\\v8\\include\\v8.h(1809) : see declaration of 'v8::String'\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(623): error C2065: 'ExternalAsciiStringResource' : undeclared identifier (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(623): error C2065: 'resource' : undeclared identifier (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(623): error C2448: 'NanNew' : function-style initializer appears to be a function definition (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(672): warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of data (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1993): error C2039: 'IsExternalAscii' : is not a member of 'v8::String' (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n          C:\\Users\\Jose\\.atom\\.node-gyp\\.node-gyp\\0.21.0\\deps\\v8\\include\\v8.h(1809) : see declaration of 'v8::String'\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1994): error C2039: 'ExternalAsciiStringResource' : is not a member of 'v8::String' (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n          C:\\Users\\Jose\\.atom\\.node-gyp\\.node-gyp\\0.21.0\\deps\\v8\\include\\v8.h(1809) : see declaration of 'v8::String'\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1994): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1994): error C2143: syntax error : missing ';' before '*' (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1994): error C2065: 'ext' : undeclared identifier (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1995): error C2065: 'ext' : undeclared identifier (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1995): error C2039: 'GetExternalAsciiStringResource' : is not a member of 'v8::String' (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n          C:\\Users\\Jose\\.atom\\.node-gyp\\.node-gyp\\0.21.0\\deps\\v8\\include\\v8.h(1809) : see declaration of 'v8::String'\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1996): error C2065: 'ext' : undeclared identifier (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1996): error C2227: left of '->data' must point to class/struct/union/generic type (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n          type is 'unknown-type'\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1997): error C2065: 'ext' : undeclared identifier (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\nC:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\nan\\nan.h(1997): error C2227: left of '->length' must point to class/struct/union/generic type (..\\src\\main.cc) [C:\\Users\\Jose\\AppData\\Local\\Temp\\apm-install-dir-11515-5948-1myzce9\\node_modules\\linter-clang\\node_modules\\clang-flags\\node_modules\\pathwatcher\\node_modules\\runas\\build\\runas.vcxproj]\r\n          type is 'unknown-type'\r\n\r\ngypnpm ERR! Windows_NT 6.2.9200\r\nnpm ERR! argv \"C:\\\\Users\\\\Jose\\\\AppData\\\\Local\\\\atom\\\\app-0.177.0\\\\resources\\\\app\\\\apm\\\\bin\\\\\\\\node.exe\" \"C:\\\\Users\\\\Jose\\\\AppData\\\\Local\\\\atom\\\\app-0.177.0\\\\resources\\\\app\\\\apm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"--globalconfig\" \"C:\\\\Users\\\\Jose\\\\AppData\\\\Local\\\\atom\\\\app-0.177.0\\\\resources\\\\app\\\\apm\\\\.apmrc\" \"--userconfig\" \"C:\\\\Users\\\\Jose\\\\.atom\\\\.apmrc\" \"install\" \"C:\\\\Users\\\\Jose\\\\AppData\\\\Local\\\\Temp\\\\d-11515-5948-1vshn7h\\\\package.tgz\" \"--target=0.21.0\" \"--arch=ia32\" \"--msvs_version=2013\"\r\nnpm ERR! node v0.10.35\r\nnpm ERR! npm  v2.3.0\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! runas@1.1.0 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the runas@1.1.0 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the runas package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls runas\r\nnpm ERR! There is likely additional logging output above."}}