Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Bret Jordan
Installation help on MacOSX [ reply ]  
2012-08-06 22:16
I am getting a lot of errors that I can not seem to resolve by following existing blog posts about this.

Mac OSX: 10.7.4 (Lion) on Macbook Pro

Ruby: installed ruby-1.9.3-p194 via rvm to $HOME/.rvm/rubies/

Qt4: installed Qt SDK ver 1.2.1 binary to /Applications/QtSDK/ which includes the Qt 4.8.1 libraries

cmake: installed cmake-2.8.8-Darwin64-universal.dmg to default location and let it make symlinks in /usr/bin

qt4-qtruby-2.2.0: Downloaded source, untared (tar xzf) and tried to run cmake . from the root directory.

cmake \
-DCMAKE_INSTALL_PREFIX=$HOME/.rvm/rubies/ruby-1.9.3-p194/ \
-DRUBY_INCLUDE_PATH=$HOME/.rvm/rubies/ruby-1.9.3-p194/include/ \
-DRUBY_LIBRARY=$HOME/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.dylib \
-DQT_QMAKE_EXECUTABLE=/Applications/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake .

I have also tried turning lots of things off, but still get errors. Example:

cmake \
-DENABLE_SMOKE=off \
-DENABLE_QTWEBKIT_SMOKE=off \
-DENABLE_QTWEBKIT_RUBY=off \
-DENABLE_QTTEST=off \
-DENABLE_QTTEST_SMOKE=off \
-DENABLE_PHONON_SMOKE=off \
-DENABLE_PHONON_RUBY=off \
-DRUBY_INCLUDE_PATH=/Users/jordan/.rvm/rubies/ruby-1.9.3-p194/include/ \
-DRUBY_LIBRARY=/Users/jordan/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.dylib \
-DQT_QMAKE_EXECUTABLE=/Applications/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake .

Gives the following output:
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- 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
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /Applications/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake (found version "4.8.0")
-- Could not find SMOKE
CMake Warning at cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
By not providing "FindQImageBlitz.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"QImageBlitz", but CMake did not find one.

Could not find a package configuration file provided by "QImageBlitz" with
any of the following names:

QImageBlitzConfig.cmake
qimageblitz-config.cmake

Add the installation prefix of "QImageBlitz" to CMAKE_PREFIX_PATH or set
"QImageBlitz_DIR" to a directory containing one of the above files. If
"QImageBlitz" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
smokeqt/CMakeLists.txt:16 (macro_optional_find_package)


CMake Warning at cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
By not providing "FindPhonon.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Phonon", but
CMake did not find one.

Could not find a package configuration file provided by "Phonon" with any
of the following names:

PhononConfig.cmake
phonon-config.cmake

Add the installation prefix of "Phonon" to CMAKE_PREFIX_PATH or set
"Phonon_DIR" to a directory containing one of the above files. If "Phonon"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
smokeqt/CMakeLists.txt:22 (macro_optional_find_package)


-- Checking how Qt was built...
-- Threshold is set to 15
-- QT_NO_DEBUG *Undefined*
-- QT_NO_ACCESSIBILITY [Defined]
-- QT_NO_STYLE_PLASTIQUE *Undefined*
-- QT_NO_STYLE_WINDOWSXP [Defined]
-- QT_NO_STYLE_WINDOWS *Undefined*
-- QT_NO_STYLE_MAC [Defined]
-- QT_NO_STYLE_CLEANLOOKS *Undefined*
-- QT_NO_TABLEVIEW *Undefined*
-- Build SMOKEQT4 bindings: Qt3Support;QtDBus;QtDeclarative;QtGui;QtHelp;QtMultimedia;QtNetwork;QtOpenGL;QtScript;QtSql;QtSvg;QtTest;QtUiTools;QtWebKit;QtXml;QtXmlPatterns
-- Skip SMOKEQT4 bindings: Phonon;QImageBlitz;QScintilla;Qwt

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* QImageBlitz <http://www.kde.org>
QImageBlitz library
Needed to compile QImageBlitz bindings
* Qwt5 for Qt4 <http://qwt.sourceforge.net>
Qwt5 libraries for Qt4
Needed to compile Qwt5 bindings
* Phonon <http://www.kde.org>
Phonon multimedia framework
Needed to compile Phonon bindings
* QScintilla2 <http://www.riverbankcomputing.co.uk/software/qscintilla/intro>
QScintilla2 libraries
Needed to compile QScintilla2 bindings

-----------------------------------------------------------------------------

-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-- Ruby found: /Users/jordan/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.dylib
CMake Warning at cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
By not providing "FindPhonon.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Phonon", but
CMake did not find one.

Could not find a package configuration file provided by "Phonon" with any
of the following names:

PhononConfig.cmake
phonon-config.cmake

Add the installation prefix of "Phonon" to CMAKE_PREFIX_PATH or set
"Phonon_DIR" to a directory containing one of the above files. If "Phonon"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
qtruby/CMakeLists.txt:18 (macro_optional_find_package)


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:
SMOKE_INCLUDE_DIR (ADVANCED)
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtcore
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtnetwork
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtdbus
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtdeclarative
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtgui
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtsvg
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtsql
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtxml
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtxmlpatterns
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtopengl
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtwebkit
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtscript
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtuitools
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qttest
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qtmultimedia
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qt3support
used as include directory in directory /Users/src/qt4-qtruby-2.2.0/smokeqt/qthelp

-- Configuring incomplete, errors occurred!