[Kde-bindings] install error

Rajinder Yadav devguy.ca at gmail.com
Mon Oct 24 04:06:08 UTC 2011


Hello I am trying install the qtbinding on my linux box, I have QT SDK 
4.7.4 installed on my system under /opt/QtSDK1.1.2/

$ uname -a
Linux karma 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 
2011 x86_64 x86_64 x86_64 GNU/Linux

I've tried updating my path on my term like:

export PATH=/opt/QtSDK1.1.2/:${PATH}

I get the following error when I type: sudo gem install qtbindings

Building native extensions.  This could take a while...
ERROR:  Error installing qtbindings:
         ERROR: Failed to build gem native extension.

         /usr/local/bin/ruby 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; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: cannot remove `*': No such file or directory
make: [clean] Error 1 (ignored)
cd ext/build; \
cmake \
-G "Unix Makefiles" \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=on \
-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 \
..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1148 (MESSAGE):
   Qt qmake not found!
Call Stack (most recent call first):
   generator/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: Entering directory 
`/usr/local/lib/ruby/gems/1.9.1/gems/qtbindings-4.6.3.4/ext/build'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory 
`/usr/local/lib/ruby/gems/1.9.1/gems/qtbindings-4.6.3.4/ext/build'
make: *** [build] Error 2


Gem files will remain installed in 
/usr/local/lib/ruby/gems/1.9.1/gems/qtbindings-4.6.3.4 for inspection.
Results logged to 
/usr/local/lib/ruby/gems/1.9.1/gems/qtbindings-4.6.3.4/./gem_make.out

-- 
Kind Regards,
Rajinder Yadav | http://DevMentor.org | Do Good! ~ Share Freely




More information about the Kde-bindings mailing list