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

run script ./scripts/run-kitti-example.sh #640

Open
yanganlan0310 opened this issue Apr 27, 2021 · 5 comments
Open

run script ./scripts/run-kitti-example.sh #640

yanganlan0310 opened this issue Apr 27, 2021 · 5 comments
Assignees

Comments

@yanganlan0310
Copy link

hello!
I'm studying to use xviz and follow the quick start guideline. When I run below script ./scripts/run-kitti-example.sh, I have below error come out. thanks for your help!
environment:
nodejs -- 10.24.1
node --10.24.1
npm --6.14.12
yarn -- 1.22.0
ubutun 18.04 LTS for windows10 (WSL)

(xviz) yang@LAPTOP-GGPCLG7B:~/project/avs/xviz$ ./scripts/run-kitti-example.sh
output:
Generating default KITTI XVIZ data
yarn install v1.22.10
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] Resolving packages...
warning xml2json > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning xml2json > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning xml2json > joi > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning xml2json > joi > [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning xml2json > joi > topo > [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning @babel/cli > @nicolo-ribaudo/chokidar-2 > braces > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @babel/cli > @nicolo-ribaudo/chokidar-2 > braces > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning babel-polyfill > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning babel-polyfill > babel-runtime > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/3] ⢀ sharp
[2/3] ⢀ node-expat
error /home/yang/project/avs/xviz/examples/converters/kitti/node_modules/node-expat: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/yang/project/avs/xviz/examples/converters/kitti/node_modules/node-expat
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.5 found at "/home/yang/anaconda3/bin/python"
gyp info spawn /home/yang/anaconda3/bin/python
gyp info spawn args [ '/usr/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/yang/project/avs/xviz/examples/converters/kitti/node_modules/node-expat/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/yang/.cache/node-gyp/10.24.1/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/yang/.cache/node-gyp/10.24.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/yang/.cache/node-gyp/10.24.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/yang/project/avs/xviz/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 ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.4.0-19041-Microsoft
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/yang/project/avs/xviz/examples/converters/kitti/node_modules/node-expat
gyp ERR! node -v v10.24.1
gyp ERR! node-gyp -v v5.1.0

@twojtasz twojtasz self-assigned this Apr 25, 2022
@LeZhang13
Copy link

you can try to use nvm to change node version to 10.18.0 then retry

@twojtasz
Copy link
Contributor

twojtasz commented May 2, 2022

The first few issues I see would be

  • it's using microsoft linux, I have not easy way to verify on that environment
  • 10.18 is old, I wonder if a newer version works? I will look into bumping up the version to the oldest supported LTS

@twojtasz
Copy link
Contributor

twojtasz commented May 2, 2022

The main issue is gyp ERR! stack Error: not found: make

This likely means you are missing the expected build tools for your platform.

I suggest looking at https://askubuntu.com/questions/1037611/development-tools which covers how to install the basic development tools.

@prodramp
Copy link

I can solve the "yarn bootstrap" built errors by using "CXXFLAGS="--std=c++17" yarn bootstrap" command on mac running latest OSX. The problem is that I am keep getting "update required" error when running "./scripts/run-kitti-example.sh" command.

@LeZhang13
Copy link

maybe you can share some capture image

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

4 participants