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

fatal error: city.h: No such file or directory #2

Open
Zhigalov opened this issue Jul 10, 2018 · 0 comments
Open

fatal error: city.h: No such file or directory #2

Zhigalov opened this issue Jul 10, 2018 · 0 comments

Comments

@Zhigalov
Copy link

Zhigalov commented Jul 10, 2018

I'm trying to install node-cityhash use command npm i node-cityhash and get error:

root@055a02f7465f:/app# npm i node-cityhash

> node-cityhash@0.0.1 install /app/node_modules/node-cityhash
> node-gyp rebuild

make: Entering directory '/app/node_modules/node-cityhash/build'
  CXX(target) Release/obj.target/cityhash/src/binding.o
  CXX(target) Release/obj.target/cityhash/src/cityhash/src/city.o
../src/cityhash/src/city.cc:31:18: fatal error: city.h: No such file or directory
compilation terminated.
cityhash.target.mk:96: recipe for target 'Release/obj.target/cityhash/src/cityhash/src/city.o' failed
make: *** [Release/obj.target/cityhash/src/cityhash/src/city.o] Error 1
make: Leaving directory '/app/node_modules/node-cityhash/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.88-42
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /app/node_modules/node-cityhash
gyp ERR! node -v v10.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN app@1.0.0 No description
npm WARN app@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-cityhash@0.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-cityhash@0.0.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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

1 participant