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

Open
opened 2013-05-21 09:06:21 +00:00 by AnjaliWadhwa · 0 comments
AnjaliWadhwa commented 2013-05-21 09:06:21 +00:00 (Migrated from github.com)

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:inmake_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'

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:in`check_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:in`make!' from extconf.rb:8:in `<main>' 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`<main>'
Sign in to join this conversation.
No Label
bug
doc
feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/jasmine-headless-webkit#181
No description provided.