Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noble issue? #19

Open
lgaleana opened this issue Jul 30, 2015 · 3 comments
Open

Noble issue? #19

lgaleana opened this issue Jul 30, 2015 · 3 comments

Comments

@lgaleana
Copy link

Hi, I'm trying to install Ble-Bean, but I run into the following error:

[email protected] install /Users/lgaleana/hackathons/quadcopter/nodejs/node_modules/ble-bean/node_modules/noble
node-gyp rebuild

LINK(target) Release/hci-ble
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/hci-ble] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/lgaleana/hackathons/quadcopter/nodejs/node_modules/ble-bean/node_modules/noble
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "ble-bean"
npm ERR! node v0.12.7
npm ERR! npm v2.12.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the noble package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls noble
npm ERR! There is likely additional logging output above.

@jacobrosenthal
Copy link
Owner

Definitely looks like a noble issue, glad you filed it there as noble/noble#221

Have you tried altering ble-beans noble dependency? Maybe a newer (or older?) one will build for you? I dont recall this project needing to be locked to any specific version of noble.

@jacobrosenthal
Copy link
Owner

Can you confirm 1.0 compatibility? Ill bump dep to that if so.

@monteslu
Copy link

monteslu commented Sep 1, 2015

just tested 1.1.0 and looks like ble-bean is good

at least, bean_example.js seems to be wokring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants