# (debian) compilation of qt4-qtruby : help needed for cmake

**URL:** <https://www.ruby-forum.com/t/debian-compilation-of-qt4-qtruby-help-needed-for-cmake/169074>\
**Category:** Ruby\
**Created:** [May 29, 2009, 12:48am UTC](https://www.ruby-forum.com/t/debian-compilation-of-qt4-qtruby-help-needed-for-cmake/169074 "2009-05-29T00:48:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jolivierld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Post date:** [May 29, 2009, 12:48am UTC](https://www.ruby-forum.com/t/debian-compilation-of-qt4-qtruby-help-needed-for-cmake/169074/1 "2009-05-29T00:48:37Z")

</div>

hello,

I would like to compile qt4-qtruby2.0.3 because the official debian  
package use qt3.  
I unzipped the archive (here : [http://rubyforge.org/projects/korundum/](http://rubyforge.org/projects/korundum/)),  
and I entered (as shown in the doc) : cmake  
-DCMAKE\_INSTALL\_PREFIX=/opt/kde4/ . && make && make install,

but there is this output:

* * *

lolveley@debian:~/bin/qt4-qtruby-2.0.3$ cmake  
-DCMAKE\_INSTALL\_PREFIX=/opt/kde4/ . && make && make install  
– Found Qt-Version 4.4.3 (using  
/usr/local/Trolltech/Qt-4.4.3/bin/qmake)  
– Ruby found: /usr/lib/libruby1.8.so  
– Build Smoke… yes - Qt, QtWebKit, QtScript, QtUiTools, QtTest  
– Ruby found: /usr/lib/libruby1.8.so  
– Build QtRuby… yes  
– Build QtWebKit Ruby… yes  
– Build QtUiTools Ruby… yes  
– Build QtScript… yes  
– Build QtTest… yes  
– Build QScintilla Ruby… no  
– Build Qwt Ruby… no  
CMake Warning (dev) in CMakeLists.txt:  
No cmake\_minimum\_required command is present. A line of code such as

```
cmake_minimum_required(VERSION 2.6)

```

should be added at the top of the file. The version specified may be  
lower  
if you wish to support older CMake versions for this project. For  
more  
information run “cmake --help-policy CMP0000”.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error: The following variables are used in this project, but they  
are set to NOTFOUND.  
Please set them or make sure they are set and tested correctly in the  
CMake files:  
QT\_QTDBUS\_LIBRARY (ADVANCED)  
linked by target “smokeqt” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qt  
linked by target “smokeqtwebkit” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qtwebkit  
linked by target “smokeqtscript” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qtscript  
linked by target “smokeqtuitools” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qtuitools  
linked by target “smokeqttest” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qttest  
linked by target “qtruby4” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtruby/src  
linked by target “qtruby4shared” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtruby/src  
linked by target “rubyqtwebkit” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtwebkit  
linked by target “rubyqtuitools” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtuitools  
linked by target “qtscript” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtscript  
linked by target “qttest” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qttest  
QT\_QTOPENGL\_LIBRARY (ADVANCED)  
linked by target “smokeqt” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qt  
linked by target “smokeqtwebkit” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qtwebkit  
linked by target “smokeqtscript” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qtscript  
linked by target “smokeqtuitools” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qtuitools  
linked by target “smokeqttest” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qttest  
linked by target “qtruby4” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtruby/src  
linked by target “qtruby4shared” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtruby/src  
linked by target “rubyqtwebkit” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtwebkit  
linked by target “rubyqtuitools” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtuitools  
linked by target “qtscript” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtscript  
linked by target “qttest” in directory  
/home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qttest

– Configuring done

* * *

how can I continue?

thx,

olivier.

* * *

Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son  
interface révolutionnaire.

> **[Yahoo](https://mail.yahoo.com/)**
>
> It's

---

<div class="post-metadata">

**Author:** ![jolivierld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Post date:** [May 29, 2009, 9:18am UTC](https://www.ruby-forum.com/t/debian-compilation-of-qt4-qtruby-help-needed-for-cmake/169074/2 "2009-05-29T09:18:16Z")

</div>

stop!  
it works fine after apt-get -f install.

olivier.

lolveley a écrit :

> – Build QtScript… yes  
> if you wish to support older CMake versions for this project. For more  
> linked by target “smokeqtwebkit” in directory  
> /home/lolveley/bin/qt4-qtruby-2.0.3/ruby/qtruby/src  
> /home/lolveley/bin/qt4-qtruby-2.0.3/smoke/qt  
> linked by target “qtruby4shared” in directory  
> – Configuring done
> 
> * * *
> 
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et  
> son interface révolutionnaire.  
> [http://fr.mail.yahoo.com](http://fr.mail.yahoo.com)

* * *

Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son  
interface révolutionnaire.

> **[Yahoo Mail](https://mail.yahoo.com/)**
>
> Take a trip into an upgraded, more organized inbox. Sign in and start exploring all the free, organizational tools for your email. Check out new themes, send GIFs, find every photo you've ever sent or received, and search your account faster than...
