Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

'which gmake' and 'which qmake' error on windows 7 #181

Open
AnjaliWadhwa opened this issue May 21, 2013 · 0 comments
Open

'which gmake' and 'which qmake' error on windows 7 #181

AnjaliWadhwa opened this issue May 21, 2013 · 0 comments

Comments

@AnjaliWadhwa
Copy link

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.

    C:/Ruby193/bin/ruby.exe extconf.rb

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:incheck_qmake!': undefined method strip' 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:inmake!'
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:inget_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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant