{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/38","labels_url":"https://api.github.com/repos/oracle/node-oracledb/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/oracle/node-oracledb/issues/38/comments","events_url":"https://api.github.com/repos/oracle/node-oracledb/issues/38/events","html_url":"https://github.com/oracle/node-oracledb/issues/38","id":59823465,"number":38,"title":"Installation on OSX","user":{"login":"XiaolanLin","id":5396460,"avatar_url":"https://avatars.githubusercontent.com/u/5396460?v=3","gravatar_id":"","url":"https://api.github.com/users/XiaolanLin","html_url":"https://github.com/XiaolanLin","followers_url":"https://api.github.com/users/XiaolanLin/followers","following_url":"https://api.github.com/users/XiaolanLin/following{/other_user}","gists_url":"https://api.github.com/users/XiaolanLin/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaolanLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaolanLin/subscriptions","organizations_url":"https://api.github.com/users/XiaolanLin/orgs","repos_url":"https://api.github.com/users/XiaolanLin/repos","events_url":"https://api.github.com/users/XiaolanLin/events{/privacy}","received_events_url":"https://api.github.com/users/XiaolanLin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oracle/node-oracledb/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T16:35:43Z","updated_at":"2015-03-04T18:15:22Z","closed_at":null,"body":"I got this error after I reinstall my node to v0.10 and also set the paths.\r\n/src/dpi/include/dpiStmt.h:29:11: fatal error: 'oci.h' file not found\r\n# include <oci.h>\r\n          ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/oracledb/src/njs/src/njsOracle.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/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:256:23)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:754:12)\r\ngyp ERR! System Darwin 14.0.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/oracledb\r\ngyp ERR! node -v v0.10.0\r\ngyp ERR! node-gyp -v v0.8.5\r\ngyp ERR! not ok \r\nnpm ERR! oracledb@0.3.1 install: `node-gyp rebuild`\r\nnpm ERR! `sh \"-c\" \"node-gyp rebuild\"` failed with 1\r\nnpm ERR! \r\nnpm ERR! Failed at the oracledb@0.3.1 install script.\r\nnpm ERR! This is most likely a problem with the oracledb 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 oracledb\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! System Darwin 14.0.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"-g\"\r\nnpm ERR! cwd /Users/xiaolanlin/Documents/node-oracledb\r\nnpm ERR! node -v v0.10.0\r\nnpm ERR! npm -v 1.2.14\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/xiaolanlin/Documents/node-oracledb/npm-debug.log\r\nnpm ERR! not ok code 0\r\n"},"comment":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/comments/77213328","html_url":"https://github.com/oracle/node-oracledb/issues/38#issuecomment-77213328","issue_url":"https://api.github.com/repos/oracle/node-oracledb/issues/38","id":77213328,"user":{"login":"XiaolanLin","id":5396460,"avatar_url":"https://avatars.githubusercontent.com/u/5396460?v=3","gravatar_id":"","url":"https://api.github.com/users/XiaolanLin","html_url":"https://github.com/XiaolanLin","followers_url":"https://api.github.com/users/XiaolanLin/followers","following_url":"https://api.github.com/users/XiaolanLin/following{/other_user}","gists_url":"https://api.github.com/users/XiaolanLin/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaolanLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaolanLin/subscriptions","organizations_url":"https://api.github.com/users/XiaolanLin/orgs","repos_url":"https://api.github.com/users/XiaolanLin/repos","events_url":"https://api.github.com/users/XiaolanLin/events{/privacy}","received_events_url":"https://api.github.com/users/XiaolanLin/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T18:15:22Z","updated_at":"2015-03-04T18:15:22Z","body":"Yes I set them in the bash_profile and double checked. they are both correct. \r\n\r\nI got this message \r\n> oracledb@0.3.1 install /usr/local/lib/node_modules/oracledb\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/oracledb/src/njs/src/njsOracle.o\r\nIn file included from ../src/njs/src/njsOracle.cpp:28:\r\nIn file included from ../src/njs/src/njsOracle.h:36:\r\nIn file included from ../src/dpi/include/dpi.h:35:\r\nIn file included from ../src/dpi/include/dpiEnv.h:36:\r\nIn file included from ../src/dpi/include/dpiPool.h:33:\r\nIn file included from ../src/dpi/include/dpiConn.h:29:\r\n../src/dpi/include/dpiStmt.h:29:11: fatal error: 'oci.h' file not found\r\n# include <oci.h>\r\n          ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/oracledb/src/njs/src/njsOracle.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/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:256:23)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:754:12)\r\ngyp ERR! System Darwin 14.0.0\r\n"}}