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

From KDE TechBase
(trouble with qt4 from ports)
 
m (moved Talk:Getting Started/Build/KDE4/FreeBSD to Talk:Installing third party softwares in terminal/Build/KDE4/FreeBSD: I want to know how to install a 3rd party software , which doesn't have 1-click install. eg. i downloaded pidgin and extract)
 
(No difference)

Latest revision as of 02:09, 2 February 2011

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.