Compiling plasma-framework and KDE5
Heena Mahour
heena393 at gmail.com
Sat Feb 1 10:50:37 UTC 2014
have you updated Qt5?
On Fri, Jan 31, 2014 at 12:59 PM, Rishav Thakker
<thakker.rishav at 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 at 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 at rishav-laptop:~/plasma-framework/build$
>>
>
> In the case of kdewebkit, here's the output:
>
>
> rishav at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140201/14d160e7/attachment.html>
More information about the Plasma-devel
mailing list