From kde-panel-devel Fri Jan 31 07:41:06 2014 From: Rishav Thakker Date: Fri, 31 Jan 2014 07:41:06 +0000 To: kde-panel-devel Subject: Compiling plasma-framework and KDE5 Message-Id: X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=139125041211359 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0749694712411606192==" --===============0749694712411606192== Content-Type: multipart/alternative; boundary=001a11c330061043d704f13f219b --001a11c330061043d704f13f219b Content-Type: text/plain; charset=ISO-8859-1 Hi I'm trying to build KDE5, but I get stuck while compiling plasma-framework, kdewebkit, and a few other packages. I'm following instructions given here: http://community.kde.org/Frameworks/Building I even tried manually building the individual packages, and that's when i found out that plasma-framework is not building. I'm getting errors related to cmake. Here's the output (while building plasma-framework) rishav@rishav-laptop:~/plasma-framework/build$ cmake > -DCMAKE_INSTALL_PREFIX=$KF5 -DCMAKE_PREFIX_PATH=$KF5 .. > CMake Error at CMakeLists.txt:52 (find_package): > Could not find a package configuration file provided by "KActivities" > (requested version 5.0.0) with any of the following names: > > KActivitiesConfig.cmake > kactivities-config.cmake > > Add the installation prefix of "KActivities" to CMAKE_PREFIX_PATH or set > "KActivities_DIR" to a directory containing one of the above files. If > "KActivities" provides a separate development package or SDK, be sure it > has been installed. > > > -- Configuring incomplete, errors occurred! > See also "/home/rishav/plasma-framework/build/CMakeFiles/CMakeOutput.log". > rishav@rishav-laptop:~/plasma-framework/build$ > In the case of kdewebkit, here's the output: rishav@rishav-laptop:~/kdewebkit/build$ cmake -DCMAKE_INSTALL_PREFIX=$KF5 > -DCMAKE_PREFIX_PATH=$KF5 .. > CMake Error at /home/rishav/qt5/qtbase/lib/cmake/Qt5/Qt5Config.cmake:26 > (find_package): > Could not find a package configuration file provided by "Qt5WebKitWidgets" > with any of the following names: > > Qt5WebKitWidgetsConfig.cmake > qt5webkitwidgets-config.cmake > > Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or > set "Qt5WebKitWidgets_DIR" to a directory containing one of the above > files. If "Qt5WebKitWidgets" provides a separate development package or > SDK, be sure it has been installed. > Call Stack (most recent call first): > CMakeLists.txt:10 (find_package) > > > -- Configuring incomplete, errors occurred! > See also "/home/rishav/kdewebkit/build/CMakeFiles/CMakeOutput.log". > rishav@rishav-laptop:~/kdewebkit/build$ > Here are the environment variables I set before running anything: export KF5=/home/rishav/KF5 > export QTDIR=/home/rishav/qt5/qtbase > export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share > export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg > export PATH=$KF5/bin:$QTDIR/bin:$PATH > export > QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH > export > QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:$KF5/lib/x86_64-linux-gnu/qml:$QTDIR/qml > export KDE_SESSION_VERSION=5 > export KDE_FULL_SESSION=true > > export XDG_DATA_HOME=$HOME/.local5 > export XDG_CONFIG_HOME=$HOME/.config5 > export XDG_CACHE_HOME=$HOME/.cache5 > > export CMAKE_PREFIX_PATH=$KF5:$CMAKE_PREFIX_PATH > > export QT_MESSAGE_PATTERN='%{appname}(%{pid})/%{category} %{function}: > %{message}' > > c=`echo -e "\033"` > export QT_MESSAGE_PATTERN="%{appname}(%{pid})/(%{category}) > $c[31m%{if-debug}$c[34m%{endif}%{function}$c[0m: %{message}" > unset c > I don't know where to find the files cmake needs to run. Any help would be appreciated, Thanks! --001a11c330061043d704f13f219b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

I'm trying to build KDE5, but= I get stuck while compiling plasma-framework, kdewebkit, and a few other p= ackages. I'm following instructions given here:

http://community.kde.org/Framework= s/Building

I even tried manually building the individual packages, and that&= #39;s when i found out that plasma-framework is not building. I'm getti= ng errors related to cmake.

Here's the output (while = building plasma-framework)


rishav= @rishav-laptop:~/plasma-framework/build$ cmake -DCMAKE_INSTALL_PREFIX=3D$KF= 5 -DCMAKE_PREFIX_PATH=3D$KF5 ..
CMake Error = at CMakeLists.txt:52 (find_package):
=A0 Could not find a package configuration file provided by "KActiviti= es"
= =A0 (requested version 5.0.0) with any of the following names:

=A0=A0= =A0 KActivitiesConfig.cmake
=A0=A0=A0 kactivities-config.cmake

=A0 Add the installation prefix of "KAct= ivities" to CMAKE_PREFIX_PATH or set
=A0 "KA= ctivities_DIR" to a directory containing one of the above files.=A0 If=
=A0 "KA= ctivities" provides a separate development package or SDK, be sure it<= br>
=A0 has been= installed.


-- Configuring incomplete, errors occurred!
See also "/home/rishav/plasma-frame= work/build/CMakeFiles/CMakeOutput.log".
rishav@risha= v-laptop:~/plasma-framework/build$

=A0= In the case of kdewebkit, here's the output:


rishav@rishav-lap= top:~/kdewebkit/build$ cmake -DCMAKE_INSTALL_PREFIX=3D$KF5 -DCMAKE_PREFIX_P= ATH=3D$KF5 ..
CMake Error = at /home/rishav/qt5/qtbase/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package):=
=A0 Could no= t find a package configuration file provided by "Qt5WebKitWidgets"= ;
=A0 with any= of the following names:

=A0=A0= =A0 Qt5WebKitWidgetsConfig.cmake
=A0=A0=A0 qt5webkitwidgets-config.cmake

=A0 Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PR= EFIX_PATH or
=A0 set "Qt5WebKitWidgets_DIR" to a directory containing one of t= he above
= =A0 files.=A0 If "Qt5WebKitWidgets" provides a separate developme= nt package or
=A0 SDK, be = sure it has been installed.
Call Stack (most recent call first):
=A0 CMakeLists.txt:10 (find_package)


-- Confi= guring incomplete, errors occurred!
See also "/home/rishav/kdewebkit/build/CMakeFiles/CMakeOutput.log"= ;.
rishav= @rishav-laptop:~/kdewebkit/build$

Here are the environment variables I set before= running anything:

export KF5=3D/home/rishav/KF5
export QTDIR=3D/home/rishav/qt5/qtbase
export XDG_DATA_DIRS=3D$KF5/share:$XDG_DATA_DIRS:/usr/share
export XDG_CONFIG_DIRS= =3D$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
export PATH= =3D$KF5/bin:$QTDIR/bin:$PATH
export QT_PLUGIN_PATH=3D$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64= -linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
export QML2_IMPORT_PATH=3D$KF5/lib/qml:$KF5/lib64/qml:$KF5/lib/x86_64-linux= -gnu/qml:$QTDIR/qml
export KDE_SESSION_VERSION=3D5
export KDE_FULL_SESSION=3Dtrue

export X= DG_DATA_HOME=3D$HOME/.local5
export XDG_CONFIG_HOME=3D$HOME/.config5
export XDG_CACHE_HOME=3D$HOME/.cache5
<= /blockquote>

export CMAKE_PREFIX_PATH=3D$KF5:$CMAKE_PREFIX_PATH

export QT_MESSAGE_PATTERN=3D'%{appname}(%{pid})/%{category} %{function}= : %{message}'

c=3D`ech= o -e "\033"`
export QT_MESSAGE_PATTERN=3D"%{appname}(%{pid})/(%{category}) $c[31m%{= if-debug}$c[34m%{endif}%{function}$c[0m: %{message}"
<= blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex" class=3D"gmail_quote"> unset c

I don't know where to find the = files cmake needs to run.

Any help would be appreciated, Thank= s!
--001a11c330061043d704f13f219b-- --===============0749694712411606192== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============0749694712411606192==--