{"action":"created","issue":{"url":"https://api.github.com/repos/mscdex/sipster/issues/21","repository_url":"https://api.github.com/repos/mscdex/sipster","labels_url":"https://api.github.com/repos/mscdex/sipster/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/mscdex/sipster/issues/21/comments","events_url":"https://api.github.com/repos/mscdex/sipster/issues/21/events","html_url":"https://github.com/mscdex/sipster/issues/21","id":131404716,"number":21,"title":"Installation on OSX El Capitan fails","user":{"login":"vgire","id":8134193,"avatar_url":"https://avatars.githubusercontent.com/u/8134193?v=3","gravatar_id":"","url":"https://api.github.com/users/vgire","html_url":"https://github.com/vgire","followers_url":"https://api.github.com/users/vgire/followers","following_url":"https://api.github.com/users/vgire/following{/other_user}","gists_url":"https://api.github.com/users/vgire/gists{/gist_id}","starred_url":"https://api.github.com/users/vgire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgire/subscriptions","organizations_url":"https://api.github.com/users/vgire/orgs","repos_url":"https://api.github.com/users/vgire/repos","events_url":"https://api.github.com/users/vgire/events{/privacy}","received_events_url":"https://api.github.com/users/vgire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2016-02-04T16:42:12Z","updated_at":"2016-04-27T22:09:05Z","closed_at":null,"body":"Hello, I am trying to move from python's pjsip biddings to sipster, \r\nbut I get the following error:\r\n\r\n```bash\r\n$ npm install sipster\r\n> sipster@0.1.0 install /Users/vincentgire/Documents/Projects/sensout/proto/phone/node_modules/sipster\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/sipster/src/binding.o\r\n../src/binding.cc:6:10: fatal error: 'pjsua2.hpp' file not found\r\n#include <pjsua2.hpp>\r\n         ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/sipster/src/binding.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:270:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Darwin 15.0.0\r\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/vincentgire/Documents/Projects/sensout/proto/phone/node_modules/sipster\r\ngyp ERR! node -v v5.4.1\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok \r\nnpm WARN EPACKAGEJSON phone@1.0.0 No description\r\nnpm WARN EPACKAGEJSON phone@1.0.0 No repository field.\r\nnpm WARN EPACKAGEJSON phone@1.0.0 No license field.\r\nnpm ERR! Darwin 15.0.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"sipster\"\r\nnpm ERR! node v5.4.1\r\nnpm ERR! npm  v3.3.12\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! sipster@0.1.0 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the sipster@0.1.0 install script 'node-gyp rebuild'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the sipster 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 sipster\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!     /Users/vincentgire/Documents/Projects/sensout/proto/phone/npm-debug.log\r\n```\r\n\r\nIt seems the pjsua library headers are not found but pkg-config does recognize pjproject as being installed.\r\n\r\nMy system is OSX El Capitan 10.11.1 with:\r\n\r\n```bash\r\n$ node -v\r\nv5.4.1\r\n\r\n$ npm -v\r\n3.3.12\r\n\r\n$ pkg-config --version\r\n0.28\r\n\r\n$ pkg-config --modversion libpjproject\r\n2.4.5\r\n```\r\n\r\nI have installed pjsip with:\r\n```bash\r\ntar xvjf pjproject-2.4.5.tar.bz2\r\ncd pjproject-2.4.5\r\n./configure --enable-shared && make dep && make clean && make && make install\r\n```\r\n\r\nAny help would be really appreciated.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mscdex/sipster/issues/comments/215246456","html_url":"https://github.com/mscdex/sipster/issues/21#issuecomment-215246456","issue_url":"https://api.github.com/repos/mscdex/sipster/issues/21","id":215246456,"user":{"login":"byoungdale","id":6144746,"avatar_url":"https://avatars.githubusercontent.com/u/6144746?v=3","gravatar_id":"","url":"https://api.github.com/users/byoungdale","html_url":"https://github.com/byoungdale","followers_url":"https://api.github.com/users/byoungdale/followers","following_url":"https://api.github.com/users/byoungdale/following{/other_user}","gists_url":"https://api.github.com/users/byoungdale/gists{/gist_id}","starred_url":"https://api.github.com/users/byoungdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byoungdale/subscriptions","organizations_url":"https://api.github.com/users/byoungdale/orgs","repos_url":"https://api.github.com/users/byoungdale/repos","events_url":"https://api.github.com/users/byoungdale/events{/privacy}","received_events_url":"https://api.github.com/users/byoungdale/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T22:09:05Z","updated_at":"2016-04-27T22:09:05Z","body":"upgraded to gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC), but still getting the same error."}}