[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Compiling plasma-framework and KDE5
From: Rishav Thakker <thakker.rishav () gmail ! com>
Date: 2014-01-31 7:41:06
Message-ID: CAGTYpW4mGp4vz=chN0Sxq-xvE7Ldzr2Bc2pTJZwBC738JcDbJg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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!
[Attachment #5 (text/html)]
<div dir="ltr"><div><div><div>Hi<br><br>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:<br><br><a \
href="http://community.kde.org/Frameworks/Building">http://community.kde.org/Frameworks/Building</a><br>
<br></div>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.<br><br></div><div>Here's the output (while building \
plasma-framework)<br> </div><div><br><br><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">rishav@rishav-laptop:~/plasma-framework/build$ cmake \
-DCMAKE_INSTALL_PREFIX=$KF5 -DCMAKE_PREFIX_PATH=$KF5 ..<br> </blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">CMake Error at \
CMakeLists.txt:52 (find_package):<br></blockquote><blockquote style="margin:0px 0px \
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote"> Could not find a package configuration file provided by \
"KActivities"<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
(requested version 5.0.0) with any of the following names:<br> \
<br></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
KActivitiesConfig.cmake<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
kactivities-config.cmake<br><br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
Add the installation prefix of "KActivities" to CMAKE_PREFIX_PATH or \
set<br> </blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
"KActivities_DIR" to a directory containing one of the above files. If<br> \
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> "KActivities" \
provides a separate development package or SDK, be sure it<br> \
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> has been \
installed.<br><br><br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">
-- Configuring incomplete, errors occurred!<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">See also \
"/home/rishav/plasma-framework/build/CMakeFiles/CMakeOutput.log".<br> \
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">rishav@rishav-laptop:~/plasma-framework/build$ \
<br></blockquote><div><br></div><div> In the case of kdewebkit, here's the \
output:<br> <br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">rishav@rishav-laptop:~/kdewebkit/build$ cmake \
-DCMAKE_INSTALL_PREFIX=$KF5 -DCMAKE_PREFIX_PATH=$KF5 ..<br> </blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">CMake Error at \
/home/rishav/qt5/qtbase/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package):<br> \
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> Could not find a package \
configuration file provided by "Qt5WebKitWidgets"<br> \
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> with any of the following \
names:<br></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
<br></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
Qt5WebKitWidgetsConfig.cmake<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
qt5webkitwidgets-config.cmake<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote"><br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH \
or<br></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> set \
"Qt5WebKitWidgets_DIR" to a directory containing one of the \
above<br></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> files. If \
"Qt5WebKitWidgets" provides a separate development package or<br> \
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> SDK, be sure it has been \
installed.<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
Call Stack (most recent call first):<br></blockquote><blockquote style="margin:0px \
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote"> CMakeLists.txt:10 (find_package)<br></blockquote> <blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"><br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> <br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">-- Configuring incomplete, \
errors occurred!<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
See also "/home/rishav/kdewebkit/build/CMakeFiles/CMakeOutput.log".<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">rishav@rishav-laptop:~/kdewebkit/build$ <br> \
</blockquote><br></div><div>Here are the environment variables I set before running \
anything:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> export \
KF5=/home/rishav/KF5<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">export QTDIR=/home/rishav/qt5/qtbase<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> export \
XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">export \
XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg<br> </blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">export \
PATH=$KF5/bin:$QTDIR/bin:$PATH<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
export QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> export \
QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:$KF5/lib/x86_64-linux-gnu/qml:$QTDIR/qml<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> export \
KDE_SESSION_VERSION=5<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">export KDE_FULL_SESSION=true<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> <br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">export \
XDG_DATA_HOME=$HOME/.local5<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
export XDG_CONFIG_HOME=$HOME/.config5<br></blockquote><blockquote style="margin:0px \
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote">export XDG_CACHE_HOME=$HOME/.cache5<br></blockquote> <blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"><br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> export \
CMAKE_PREFIX_PATH=$KF5:$CMAKE_PREFIX_PATH<br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"><br></blockquote><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> export \
QT_MESSAGE_PATTERN='%{appname}(%{pid})/%{category} %{function}: \
%{message}'<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
<br></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote">c=`echo -e \
"\033"`<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
export QT_MESSAGE_PATTERN="%{appname}(%{pid})/(%{category}) \
$c[31m%{if-debug}$c[34m%{endif}%{function}$c[0m: \
%{message}"<br></blockquote><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> \
unset c<br></blockquote></div><br></div>I don't know where to find the files \
cmake needs to run.<br><br></div>Any help would be appreciated, Thanks!<br></div>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic