-
Notifications
You must be signed in to change notification settings - Fork 34
Description
[email protected] install /Users/hekai/Documents/project/pythonJs/python.js
node-gyp rebuild
CXX(target) Release/obj.target/binding/src/binding.o
CXX(target) Release/obj.target/binding/src/utils.o
CXX(target) Release/obj.target/binding/src/py_object_wrapper.o
../src/py_object_wrapper.cc:143:29: warning: ISO C++11 does not allow conversion from string literal to 'char ' [-Wwritable-strings]
PyObject py_keys = PyMapping_Keys(py_object);
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/abstract.h:1332:49: note: expanded from macro
'PyMapping_Keys'
define PyMapping_Keys(O) PyObject_CallMethod(O,"keys",NULL)
^
../src/py_object_wrapper.cc:144:31: warning: ISO C++11 does not allow conversion from string literal to 'char ' [-Wwritable-strings]
PyObject py_values = PyMapping_Values(py_object);
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/abstract.h:1342:51: note: expanded from macro
'PyMapping_Values'
define PyMapping_Values(O) PyObject_CallMethod(O,"values",NULL)
^
2 warnings generated.
../src/py_object_wrapper.cc:143:29: warning: ISO C++11 does not allow conversion from string literal to 'char ' [-Wwritable-strings]
PyObject py_keys = PyMapping_Keys(py_object);
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/abstract.h:1332:49: note: expanded from macro
'PyMapping_Keys'
define PyMapping_Keys(O) PyObject_CallMethod(O,"keys",NULL)
^
../src/py_object_wrapper.cc:144:31: warning: ISO C++11 does not allow conversion from string literal to 'char ' [-Wwritable-strings]
PyObject py_values = PyMapping_Values(py_object);
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/abstract.h:1342:51: note: expanded from macro
'PyMapping_Values'
define PyMapping_Values(O) PyObject_CallMethod(O,"values",NULL)
^
2 warnings generated.
SOLINK_MODULE(target) Release/binding.node
ld: unexpected token: !tapi-tbd-v2 file '/usr/lib/libgcc_s.10.5.tbd' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/binding.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/hekai/.npm-global/lib/node_modules/tnpm/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/Users/hekai/git/nvm/versions/node/v5.12.0/bin/node" "/Users/hekai/.npm-global/lib/node_modules/tnpm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/hekai/Documents/project/pythonJs/python.js
gyp ERR! node -v v5.12.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN [email protected] license should be a valid SPDX license expression
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/hekai/git/nvm/versions/node/v5.12.0/bin/node" "/Users/hekai/.npm-global/lib/node_modules/tnpm/node_modules/npm/bin/npm-cli.js" "install" "--cache=/Users/hekai/.tnpm" "--node_sqlite3_binary_host_mirror=https://tnpm-hz.oss-cn-hangzhou.aliyuncs.com/dist/" "--fse_binary_host_mirror=https://tnpm-hz.oss-cn-hangzhou.aliyuncs.com/dist/fsevents/" "--tmp=/Users/hekai/.tnpm_tmp" "--progress=false" "--no-proxy" "--disturl=https://tnpm-hz.oss-cn-hangzhou.aliyuncs.com/dist/node" "--userconfig=/Users/hekai/.tnpmrc" "--registry=http://registry.npm.alibaba-inc.com"
npm ERR! node v5.12.0
npm ERR! npm v3.10.6
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the python.js 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 information on how to open an issue for this project with:
npm ERR! npm bugs python.js
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls python.js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: