[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Compiling plasma-framework and KDE5
From: Heena Mahour <heena393 () gmail ! com>
Date: 2014-02-01 10:50:48
Message-ID: CAFCfA19KtotkLPLgLYKur1OZ5cbNWrNYUSDgRnQDVgbTrdLGyw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
have you updated Qt5?
On Fri, Jan 31, 2014 at 12:59 PM, Rishav Thakker
<thakker.rishav@gmail.com>wrote:
> 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!
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
--
-Heena
Season of kde'12 participant
Google Summer of Code 2013
Delhi College of Engineering(COE),India
http://about.me/heena.mahour
http://heenamahour.blogspot.in
[Attachment #5 (text/html)]
<div dir="ltr">have you updated Qt5?</div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Fri, Jan 31, 2014 at 12:59 PM, Rishav Thakker <span \
dir="ltr"><<a href="mailto:thakker.rishav@gmail.com" \
target="_blank">thakker.rishav@gmail.com</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><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" \
target="_blank">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> \
<br>_______________________________________________<br> Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div \
style="text-align:left"><div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style="background-color:rgb(255,255,255)"><span style="font-family:'lucida \
console',sans-serif">-Heena</span></span></div> <div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style="background-color:rgb(255,255,255);font-family:'lucida \
console',sans-serif;font-size:small">Season of kde'12 participant<br> \
</span></div><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style="background-color:rgb(255,255,255);font-family:'lucida \
console',sans-serif;font-size:small">Google Summer of Code 2013</span></div> <div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style="background-color:rgb(255,255,255);font-family:'lucida \
console',sans-serif;font-size:small">Delhi College of Engineering(COE),India<br> \
</span></div><div><span \
style="background-color:rgb(255,255,255);line-height:15px"><font face="lucida \
console, sans-serif"><a href="http://about.me/heena.mahour" \
target="_blank">http://about.me/heena.mahour</a></font></span></div> <div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style="background-color:rgb(255,255,255)"><span style="font-family:'lucida \
console',sans-serif;font-size:small"><a href="http://heenamahour.blogspot.in/" \
style="color:blue!important" target="_blank">http://heenamahour.blogspot.in</a><br> \
</span></span></div><div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style="background-color:rgb(255,255,255)"><br></span></div></div></div> </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