Help sought to build KDE SC & Qt Framework.

Ankit Bhatnagar ankitbhatnagar2012 at gmail.com
Thu Dec 29 05:00:20 UTC 2011


On Thu, Dec 29, 2011 at 12:55 AM, Anne-Marie Mahfouf <
annemarie.mahfouf at free.fr> wrote:

> You need the  Qt and KDE devel packages from your distribution. Inthe
> cloned folder of kbruch fro example, mkdir build, cd build and run your
> cmake command here. Find out first where you want to install these devel
> programs, something like ~/kde/install where you have access rights. Your
> cmake command will be something like:
> cmake -DCMAKE_INSTALL_PREFIX=~/kde/install ..
>
> Paste here the result if it fails. You can probably find out why it fails
> though looking at the output.
>
> You do NOT need to build Qt and kdelibs and such, this is too difficult
> and not needed for KDE Edu programs. Follow the above and paste the command
> and the full result in your mail please.
>

Hi Anne,

I tried repeating what, I'd already done, but, it failed again :( The error
reported is as follows :

ankit at ubuntu:~/kde/kbruch/build$ cmake ..
-DCMAKE_INSTALL_PREFIX=~/kde/install
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/ankit/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be
lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
ankit at ubuntu:~/kde/kbruch/build$

Wishes.
Ankit.


>
> Anne-Marie
>
> ----- Mail original -----
> De: "Ankit Bhatnagar" <ankitbhatnagar2012 at gmail.com>
> À: kde-edu at kde.org
> Envoyé: Mercredi 28 Décembre 2011 19:12:54
> Objet: Re: Help sought to build KDE SC & Qt Framework.
>
>
>
>
>
> On Wed, Dec 28, 2011 at 8:12 PM, Aleix Pol < aleixpol at kde.org > wrote:
>
>
>
>
>
> On Wed, Dec 28, 2011 at 3:13 PM, Tomaz Canabrava < tcanabrava at kde.org >
> wrote:
>
>
> As Albert Astals said,
>
> You don't need to have all KDE modules to build rocs,
> you just need the development packages for kde, the rest you can
> install from your distro.
> Please, download just Rocs ( or any other app that you want to hack on
> ), and try to run the CMake,
> it will tell you what are the parts that you miss.
>
> Tomaz
>
>
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
>
>
> Some time ago I wrote some of the needed steps here, maybe that helps:
> http://techbase.kde.org/Getting_Started/Build/KDE_Applications
>
>
> Aleix,
>
>
> Thanks for the link above. I could make quite a bit of what's stated in
> there.
>
>
> My progress thus far :
> Up with GIT, Cmake, Kdelib-dev..............cloned. Still have some issues
> with the Qt stuff.
>
>
> I tried pullling one of the projects on kdeedu - kbruch, I have the git
> cloned source and also tried cmaking it, but for some reason it failed. The
> error is somethink like - missing source line in cmakelists.txt. I fathomed
> it to be something related to the version of the project and being
> incompatible with the version of cmake, I've installed. Is that possibly
> the reason ???
>
>
> Also, suggest me if I could use KDE SVN Build, available in the
> KPackageKit ? How's that useful, if at all.
>
>
> Wishes.
> Ankit.
>
>
>
>
> Aleix
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
>
>
>
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20111229/826fcca7/attachment-0001.html>


More information about the kde-edu mailing list