qtbindings Installation Problem

Marco's Avatar

Marco

25 Apr, 2012 05:44 PM

Hi,

first of all thank you in advance for your support.

Now the problem: i've tried to install qtbindings 4.6.3.4 (http://rubygems.org/gems/qtbindings) on Windows with Ruby 1.9.3 installed; but the installation fail with the following error message:

C:\Users\<my_user_name>\Downloads>gem install qtbindings
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing qtbindings:
ERROR: Failed to build gem native extension.

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

make
mkdir ext\build
mkdir bin\1.8
mkdir bin\1.9
mkdir bin\plugins
mkdir bin\plugins\accessible
mkdir bin\plugins\codecs
mkdir bin\plugins\designer
mkdir bin\plugins\graphicssystems
mkdir bin\plugins\iconengines
mkdir bin\plugins\imageformats
mkdir bin\plugins\phonon_backend
mkdir bin\plugins\sqldrivers
mkdir lib\1.8
mkdir lib\1.9
cd ext\build && rmdir /S /Q CMakeFiles
/bin/sh: line 0: cd: extbuild: No such file or directory
make: [clean] Error 1 (ignored)
cd ext\build && rmdir /S /Q generator
/bin/sh: line 0: cd: extbuild: No such file or directory
make: [clean] Error 1 (ignored)
cd ext\build && rmdir /S /Q smoke
/bin/sh: line 0: cd: extbuild: No such file or directory
make: [clean] Error 1 (ignored)
cd ext\build && rmdir /S /Q ruby
/bin/sh: line 0: cd: extbuild: No such file or directory
make: [clean] Error 1 (ignored)
cd ext\build && del /F /Q *
/bin/sh: line 0: cd: extbuild: No such file or directory
make: [clean] Error 1 (ignored)
set CC=mingw32-gcc.exe
set CXX=mingw32-g++.exe
cd ext\build && \
cmake \
-G "MinGW Makefiles" \
-DCMAKE_MAKE_PROGRAM=mingw32-make.exe \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=off \
-DENABLE_QTGUI_SMOKE=on \
-DENABLE_QTSVG_SMOKE=on \
-DENABLE_QTSQL_SMOKE=on \
-DENABLE_QTXML_SMOKE=on \
-DENABLE_QTXMLPATTERNS_SMOKE=on \
-DENABLE_QTOPENGL_SMOKE=on \
-DENABLE_QTWEBKIT_SMOKE=on \
-DENABLE_QTSCRIPT_SMOKE=on \
-DENABLE_QTUITOOLS_SMOKE=on \
-DENABLE_QTTEST_SMOKE=on \
-DENABLE_QTMULTIMEDIA_SMOKE=on \
-DENABLE_QTRUBY=on \
-DENABLE_QTWEBKIT_RUBY=on \
-DENABLE_QTUITOOLS_RUBY=on \
-DENABLE_QTSCRIPT=on \
-DENABLE_QTTEST=on \
..
/bin/sh: line 0: cd: extbuild: No such file or directory
make: [build] Error 1 (ignored)
cd ext\build && mingw32-make
/bin/sh: line 0: cd: extbuild: No such file or directory
make: *** [build] Error 1


Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.9.1/gems/qtbindings-4
.6.3.4 for inspection.
Results logged to C:/Ruby/lib/ruby/gems/1.9.1/gems/qtbindings-4.6.3.4/./gem_make
.out

I'm waiting for your answer. Thanks.

Regards

Marco

  1. 1 Posted by Marco on 25 Apr, 2012 05:47 PM

    Marco's Avatar

    i forgot to mention that i've installed the Qt SDK

    sorry

  2. Support Staff 2 Posted by Luis Lavena on 25 Apr, 2012 06:13 PM

    Luis Lavena's Avatar

    Hello Marco,

    I would suggest you reach the qtbindings gem authors in their repository:
    https://github.com/ryanmelt/qtbindings

    From what I see on RubyGems, there is already a pre-compiled binary for i386-mingw32:
    https://rubygems.org/gems/qtbindings/versions/4.6.3.4-x86-mingw32

    So shouldn't be triggering the gem compilation.

    Please also see in the code README the requirements to compile the gem from source.

    Hope that helps.

  3. Luis Lavena closed this discussion on 25 Apr, 2012 06:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM