'which gmake' and 'which qmake' error on windows 7 #181
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I am trying to install jasmine-headless-webkit -v '0.8.4' on windows 7 64bit but it gives me following error:
Environment Details:
OS: Windows 7 64bit
QT: 5.0.2
Ruby: 1.9.3p429 + Devkit
C:\Users\AnjaliWadhwa>gem install jasmine-headless-webkit -v '0.8.4'
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing jasmine-headless-webkit:
ERROR: Failed to build gem native extension.
make: *** No rule to make target
'clean'. Stop. which: no gmake in (.;C:\DevKit\bin;C:\DevKit\mingw\bin;C:\Ruby193\bin;C:\Window s\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerS hell\v1.0\;C:\Qt\Qt5.0.2\Tools\QtCreator\bin) which: no qmake-qt4 in (.;C:\DevKit\bin;C:\DevKit\mingw\bin;C:\Ruby193\bin;C:\Wi ndows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPo werShell\v1.0\;C:\Qt\Qt5.0.2\Tools\QtCreator\bin) which: no qmake in (.;C:\DevKit\bin;C:\DevKit\mingw\bin;C:\Ruby193\bin;C:\Window s\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerS hell\v1.0\;C:\Qt\Qt5.0.2\Tools\QtCreator\bin) C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/lib/qt/qmake.r b:126:in
check_qmake!': undefined methodstrip' for nil:NilClass (NoMethodErro r) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/l ib/qt/qmake.rb:38:in
make!'from extconf.rb:8:in `
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-h
eadless-webkit-0.8.4 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/ext/jasmine-webkit-specrunner/gem_make.out
Referring to earlier issues, I installed QT and added it in PATH variable and QTDIR, but still issue persists.
I tried running extconf.rb from "jasmine-webkit-specrunner" got foll error:
C:\Ruby193\lib\ruby\gems\1.9.1\gems\jasmine-headless-webkit-0.8.4\ext\jasmine-we
bkit-specrunner>ruby extconf.rb
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/lib/qt/qmake.r
b:97:in ``': No such file or directory - which gmake (Errno::ENOENT)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/l
ib/qt/qmake.rb:97:in
get_exe_path' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/l ib/qt/qmake.rb:53:in
make_path'from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/l
ib/qt/qmake.rb:16:in
make_installed?' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/l ib/qt/qmake.rb:103:in
check_make!'from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jasmine-headless-webkit-0.8.4/l
ib/qt/qmake.rb:37:in
make!' from extconf.rb:8:in
'