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

Installing on Debian squeeze fails #44

Closed
pims opened this issue May 18, 2014 · 2 comments
Closed

Installing on Debian squeeze fails #44

pims opened this issue May 18, 2014 · 2 comments

Comments

@pims
Copy link

pims commented May 18, 2014

vagrant@squeeze64:~/node$ sudo npm install spark-cli
npm http GET https://registry.npmjs.org/spark-cli
npm http 304 https://registry.npmjs.org/spark-cli
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/serialport
npm http GET https://registry.npmjs.org/when
npm http GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/moment
npm http 304 https://registry.npmjs.org/when
npm http 304 https://registry.npmjs.org/serialport
npm http 304 https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/lodash.merge
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/lodash.merge
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/tough-cookie
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/lodash._basecreatecallback
npm http GET https://registry.npmjs.org/lodash._basemerge
npm http GET https://registry.npmjs.org/lodash._getarray
npm http GET https://registry.npmjs.org/lodash.isobject
npm http GET https://registry.npmjs.org/lodash._releasearray
npm http GET https://registry.npmjs.org/lodash._slice
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/ctype
npm http 304 https://registry.npmjs.org/lodash._basemerge
npm http 304 https://registry.npmjs.org/lodash._slice
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/lodash._basecreatecallback
npm http 304 https://registry.npmjs.org/lodash.isobject
npm http 304 https://registry.npmjs.org/lodash._releasearray
npm http 304 https://registry.npmjs.org/lodash._getarray
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/assert-plus
npm http 304 https://registry.npmjs.org/ctype
npm http 304 https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/lodash._arraypool
npm http GET https://registry.npmjs.org/lodash._maxpoolsize
npm http GET https://registry.npmjs.org/lodash._objecttypes
npm http GET https://registry.npmjs.org/lodash.foreach
npm http GET https://registry.npmjs.org/lodash.forown
npm http GET https://registry.npmjs.org/lodash.isarray
npm http GET https://registry.npmjs.org/lodash.bind
npm http GET https://registry.npmjs.org/lodash.isplainobject
npm http GET https://registry.npmjs.org/lodash.identity
npm http GET https://registry.npmjs.org/lodash._setbinddata
npm http GET https://registry.npmjs.org/lodash.support
npm http 304 https://registry.npmjs.org/lodash.foreach
npm http 304 https://registry.npmjs.org/lodash.forown
npm http 304 https://registry.npmjs.org/lodash.isarray
npm http 304 https://registry.npmjs.org/lodash.bind
npm http GET https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/lodash.isplainobject
npm http 304 https://registry.npmjs.org/lodash._maxpoolsize
npm http 304 https://registry.npmjs.org/lodash.identity
npm http 304 https://registry.npmjs.org/lodash._objecttypes
npm http 304 https://registry.npmjs.org/lodash._setbinddata
npm http 304 https://registry.npmjs.org/lodash.support
npm http GET https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/punycode
npm http GET https://registry.npmjs.org/node-pre-gyp
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/sf
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/lodash._isnative
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/lodash.keys
npm http GET https://registry.npmjs.org/lodash._shimisplainobject
npm http GET https://registry.npmjs.org/lodash.noop
npm http GET https://registry.npmjs.org/lodash._createwrapper
npm http 304 https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/lodash._isnative
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/node-pre-gyp
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/lodash.keys
npm http 304 https://registry.npmjs.org/lodash._shimisplainobject
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/sf
npm http 304 https://registry.npmjs.org/lodash.noop
npm http 304 https://registry.npmjs.org/lodash._createwrapper
npm http 304 https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/lodash._shimkeys
npm http GET https://registry.npmjs.org/lodash.forin
npm http GET https://registry.npmjs.org/lodash.isfunction
npm http 304 https://registry.npmjs.org/lodash._arraypool
npm http GET https://registry.npmjs.org/lodash._basebind
npm http GET https://registry.npmjs.org/lodash._basecreatewrapper
npm http 304 https://registry.npmjs.org/lodash.isfunction
npm http 304 https://registry.npmjs.org/lodash._shimkeys
npm http 304 https://registry.npmjs.org/lodash.forin
npm http 304 https://registry.npmjs.org/lodash._basecreatewrapper
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/lodash._basebind
npm http GET https://registry.npmjs.org/lodash._basecreate
npm http 304 https://registry.npmjs.org/lodash._basecreate
npm http 304 https://registry.npmjs.org/wordwrap

> [email protected] install /home/vagrant/node/node_modules/spark-cli/node_modules/serialport
> node-pre-gyp install --fallback-to-build

node-pre-gyp http GET https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/node-v14-linux-x64.tar.gz
node-pre-gyp http 200 https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/node-v14-linux-x64.tar.gz
[serialport] Command failed: /usr/local/bin/node --eval require('/home/vagrant/node/node_modules/spark-cli/node_modules/serialport/build/serialport/v1.4.0/Release/node-v14-linux-x64/serialport.node')
/usr/local/bin/node: symbol lookup error: /home/vagrant/node/node_modules/spark-cli/node_modules/serialport/build/serialport/v1.4.0/Release/node-v14-linux-x64/serialport.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_6HandleIS2_EENS8_INS_9SignatureEEEi

node-pre-gyp ERR! Testing pre-built binary failed, attempting to source compile 
gyp ERR! configure error 
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack     at install (/home/vagrant/node/node_modules/npm/node_modules/node-gyp/lib/install.js:66:16)
gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/home/vagrant/node/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:66:37)
gyp ERR! stack     at getNodeDir (/home/vagrant/node/node_modules/npm/node_modules/node-gyp/lib/configure.js:152:20)
gyp ERR! stack     at /home/vagrant/node/node_modules/npm/node_modules/node-gyp/lib/configure.js:95:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:720:7)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack     at maybeClose (child_process.js:992:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1059:5)
gyp ERR! System Linux 2.6.32-5-amd64
gyp ERR! command "/usr/local/bin/node" "/home/vagrant/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=serialport" "--configuration=Release" "--module_name=serialport" "--version=1.4.0" "--major=1" "--minor=4" "--runtime=node" "--node_abi=node-v14" "--platform=linux" "--arch=x64" "--target_arch=x64" "--module_main=./serialport" "--host=https://node-serialport.s3.amazonaws.com/" "--module_path=/home/vagrant/node/node_modules/spark-cli/node_modules/serialport/build/serialport/v1.4.0/Release/node-v14-linux-x64" "--remote_path=./serialport/v1.4.0/Release/" "--package_name=node-v14-linux-x64.tar.gz" "--staged_tarball=build/stage/serialport/v1.4.0/Release/node-v14-linux-x64.tar.gz" "--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/" "--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/node-v14-linux-x64.tar.gz"
gyp ERR! cwd /home/vagrant/node/node_modules/spark-cli/node_modules/serialport
gyp ERR! node -v v0.11.14-pre
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.4.0 --major=1 --minor=4 --runtime=node --node_abi=node-v14 --platform=linux --arch=x64 --target_arch=x64 --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=/home/vagrant/node/node_modules/spark-cli/node_modules/serialport/build/serialport/v1.4.0/Release/node-v14-linux-x64 --remote_path=./serialport/v1.4.0/Release/ --package_name=node-v14-linux-x64.tar.gz --staged_tarball=build/stage/serialport/v1.4.0/Release/node-v14-linux-x64.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/node-v14-linux-x64.tar.gz' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/vagrant/node/node_modules/spark-cli/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:76:29)
node-pre-gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:110:17)
node-pre-gyp ERR! stack     at maybeClose (child_process.js:992:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1059:5)
node-pre-gyp ERR! System Linux 2.6.32-5-amd64
node-pre-gyp ERR! command "node" "/home/vagrant/node/node_modules/spark-cli/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/vagrant/node/node_modules/spark-cli/node_modules/serialport
node-pre-gyp ERR! node -v v0.11.14-pre
node-pre-gyp ERR! node-pre-gyp -v v0.5.13
node-pre-gyp ERR! not ok 
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls serialport
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-5-amd64
npm ERR! command "node" "/usr/local/bin/npm" "install" "spark-cli"
npm ERR! cwd /home/vagrant/node
npm ERR! node -v v0.11.14-pre
npm ERR! npm -v 1.4.10
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/vagrant/node/npm-debug.log
npm ERR! not ok code 0

System info:

vagrant@squeeze64:~/node$ node -v
v0.11.14-pre
vagrant@squeeze64:~/node$ npm -v
1.4.10
@dmiddlecamp
Copy link
Contributor

Hmm, looks like the node-gyp compile step for serialport is failing on the pre version of Node.js? It looks like there are a number of npm install / node-gyp install issues open, do those match your setup at all? https://github.com/voodootikigod/node-serialport/issues?state=open

@pims
Copy link
Author

pims commented May 25, 2014

Couldn't find anything that matches, but I’ll install an older version of node to get it working.
Thanks for the prompt reply.

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

2 participants