Giter Site home page Giter Site logo

ubuntu 16.04 LTS install failed about run-rs HOT 7 OPEN

vkarpov15 avatar vkarpov15 commented on June 19, 2024
ubuntu 16.04 LTS install failed

from run-rs.

Comments (7)

andreialecu avatar andreialecu commented on June 19, 2024 10

Fixed with sudo apt-get install libkrb5-dev, you might want to add it to the README.

from run-rs.

jnosornov avatar jnosornov commented on June 19, 2024 1

It also happened to me, what I did downgrade the node version to 10, and it worked. Have not tried the @andreialecu solution yet.

from run-rs.

vkarpov15 avatar vkarpov15 commented on June 19, 2024

Does running run-rs fail after this message? This error is from an auth module the mongodb driver depends on and the driver should install successfully even if kerberos installation fails

from run-rs.

dtboy1995 avatar dtboy1995 commented on June 19, 2024

@vkarpov15 thanks
Sorry for not replying in time because of the time difference

  • global install
$ run-rs
run-rs: command not found 
  • local install
    i can use npx
npx run-rs -v 4.0.0
In file included from ../src/kerberos_common.h:7:0,
                 from ../src/kerberos.h:5,
                 from ../src/kerberos.cc:1:
../src/unix/kerberos_gss.h:18:31: fatal error: gssapi/gssapi.h: 没有那个文件或目录
compilation terminated.
make: *** [Release/obj.target/kerberos/src/kerberos.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:188:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.15.0-46-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/dtboy/.npm/_npx/3943/lib/node_modules/run-rs/node_modules/kerberos
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/dtboy/.npm/_logs/2019-03-29T01_24_13_577Z-debug.log
安装 run-rs@latest 失败,错误代码:1

from run-rs.

dtboy1995 avatar dtboy1995 commented on June 19, 2024
$ uname -a
Linux ubuntu-dev 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$node -v
v11.6.0
npm -v
6.9.0

2019-03-29 09-32-59屏幕截图

from run-rs.

andreialecu avatar andreialecu commented on June 19, 2024

Same issue here:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
npm install run-rs -g
/home/aandrei/.nvm/versions/node/v11.10.0/bin/run-rs -> /home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/run-rs/index.js

> [email protected] install /home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/run-rs/node_modules/kerberos
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=11.10.0 runtime=node arch=x64 libc= platform=linux)
make: Entering directory '/home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/run-rs/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/src/kerberos.o
In file included from ../src/kerberos_common.h:7:0,
                 from ../src/kerberos.h:5,
                 from ../src/kerberos.cc:1:
../src/unix/kerberos_gss.h:18:31: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
kerberos.target.mk:104: recipe for target 'Release/obj.target/kerberos/src/kerberos.o' failed
make: *** [Release/obj.target/kerberos/src/kerberos.o] Error 1
make: Leaving directory '/home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/run-rs/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:197:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.4.0-17763-Microsoft
gyp ERR! command "/home/aandrei/.nvm/versions/node/v11.10.0/bin/node" "/home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/aandrei/.nvm/versions/node/v11.10.0/lib/node_modules/run-rs/node_modules/kerberos
gyp ERR! node -v v11.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/aandrei/.npm/_logs/2019-04-01T11_04_34_824Z-debug.log

from run-rs.

dtboy1995 avatar dtboy1995 commented on June 19, 2024

@andreialecu thanks, I'll try.

from run-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.