Talk:Installing third party softwares in terminal/Build/KDE4/FreeBSD

Jump to: navigation, search

qt4 from ports

I've installed qt4 from ports, so I've skipped qt-copy.

Got the following error when running cmakekde in kdesupport:

[... ~/kde/src/kdesupport]$ cmakekde
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Found ZLIB: /usr/lib/libz.so
-- Looking for __RTTI___ in Crun
-- Looking for __RTTI___ in Crun - not found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - 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 - not found.
WARNING querying qmake for QMAKE_MOC.  qmake reported:
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /usr/home/gogo/kde/build/kdesupport/soprano/CMakeFiles/CMakeTmpQmake/tmp.pro
WARNING querying qmake for QMAKE_UIC.  qmake reported:
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /usr/home/gogo/kde/build/kdesupport/soprano/CMakeFiles/CMakeTmpQmake/tmp.pro
-- Qt's moc NOT found!
-- Qt's uic NOT found!
CMake Error: Qt libraries, includes, moc, uic or/and rcc NOT found!
-- Configuring done

After setting QMAKESPACE in the ~/.bashrc file (and deleting the build/kdesupport directory)

#export QTDIR=$HOME/qt-copy
export QMAKESPEC=/usr/local/share/qt4/mkspecs/freebsd-g++
#export QT_PLUGINS_DIR=$KDEDIR/lib/kde4/plugins:$QT_PLUGINS_DIR

the command cmakekde in the directory src/kdesupport works.

There are no threads on this page yet.

This page was last modified on 2 February 2011, at 03:09. This page has been accessed 3,606 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal