cd examples/converters/kitti $ yarn

冷暖自知 提交于 2020-04-01 03:52:20

error /home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.16.0 | linux | x64
gyp http GET https://nodejs.org/download/release/v10.16.0/node-v10.16.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v10.16.0/node-v10.16.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v10.16.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v10.16.0/SHASUMS256.txt
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/jiahuiw/公共/nodejs/node-v10.16.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/jiahuiw/公共/nodejs/node-v10.16.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/jiahuiw/.node-gyp/10.16.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/jiahuiw/.node-gyp/10.16.0',
gyp info spawn args '-Dnode_gyp_dir=/home/jiahuiw/公共/nodejs/node-v10.16.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/jiahuiw/.node-gyp/10.16.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: 进入目录“/home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat/build”
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
make: cc:命令未找到
make: *** [Release/obj.target/expat/deps/libexpat/lib/xmlparse.o] 错误 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/jiahuiw/公共/nodejs/node-v10.16.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 3.10.0-693.el7.x86_64
gyp ERR! command "/home/jiahuiw/公共/nodejs/node-v10.16.0-linux-x64/bin/node" "/home/jiahuiw/公共/nodejs/node-v10.16.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
make: 离开目录“/home/jiahuiw/uber avs/xviz-master/examples/converters/kitti/node_modules/node-expat/build”

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!