Tag: gcc4.9

在npm安装期间,libssh2中的“C编译器无法创build可执行文件”

在npm安装nodegit的过程中,我得到以下错误: > nodegit@0.15.1 preinstall /home/mhu/nodegit > node lifecycleScripts/preinstall [nodegit] Running pre-install script [nodegit] npm@2 installed, pre-loading required packages [nodegit] Configuring libssh2. { [Error: Command failed: /bin/sh -c /home/mhu/nodegit/vendor/libssh2/configure –with-libssl-prefix=/home/mhu/nodegit/vendor/openssl/openssl configure: error: in `/home/mhu/nodegit/vendor/libssh2': configure: error: C compiler cannot create executables See `config.log' for more details ] killed: false, code: 77, signal: null, cmd: '/bin/sh -c […]