Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Do you have dependencies on the python verson? #2

@smartmouse

Description

@smartmouse

If I have python 2.6.9 or less, npm install memcpy will fail. Please see error attached.
if I have python 2.7x , npm install memcpy will not encounter the follow issue.
You may want to update the readme on requirements if this is an indirect dependencies.
Thank you.

[testMemCpy]$ npm install memcpy

memcpy@0.5.0 install /usr/bot/testMemCpy/node_modules/memcpy
node-gyp configure build

Traceback (most recent call last):
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in
sys.exit(gyp.script_main())
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 534, in script_main
return main(sys.argv[1:])
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 527, in main
return gyp_main(args)
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 503, in gyp_main
options.circular_check)
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 129, in Load
params['parallel'], params['root_targets'])
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2692, in Load
variables, includes, depth, check, True)
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 362, in LoadTargetBuildFile
includes, True, check)
File "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 219, in LoadOneBuildFile
None)
File "binding.gyp", line 1
{
^
SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:462:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 2.6.32-431.17.1.el6.s390x
gyp ERR! command "node" "/usr/bot/T64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/bot/testMemCpy/node_modules/memcpy
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! memcpy@0.5.0 install: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the memcpy@0.5.0 install script.
npm ERR! This is most likely a problem with the memcpy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls memcpy
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-431.17.1.el6.s390x
npm ERR! command "/usr/bot/T64/bin/node" "/usr/bot/T64/bin/npm" "install" "memcpy"
npm ERR! cwd /usr/bot/testMemCpy
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions