node-five icon indicating copy to clipboard operation
node-five copied to clipboard

Build script fails on Ubuntu 12.04

Open thanasik opened this issue 9 years ago • 0 comments

Unfortunately the build script fails for this repo as well, I can't say I'm surprised by that though since it relies on the node-qt repository, which is also currently failing for me with the same error. Any ideas what could be causing it? I would love to contribute to it if I can get it working.

> [email protected] install /home/karysto/Desktop/nodeFiveExample/node-five/node_modules/node-qt
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
Package QtCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtCore' found
Package QtGui was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtGui.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtGui' found
Package QtTest was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtTest.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtTest' found
gyp: Call to 'pkg-config --libs-only-l QtCore QtGui QtTest' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.2.0-77-generic-pae
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/karysto/Desktop/nodeFiveExample/node-five/node_modules/node-qt
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Linux 3.2.0-77-generic-pae
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.6.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-qt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-qt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/karysto/Desktop/nodeFiveExample/node-five/npm-debug.log

thanasik avatar Mar 20 '15 08:03 thanasik