This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Updating installation docs

Tags: None
(comma "," separated)
dummytester
Registered Member
Posts
40
Karma
0
OS

Updating installation docs

Mon May 06, 2013 1:51 am
I'm using Kubuntu. I noticed that a new version 4.5 came out and I'd like to try it out. Someone created some directions at http://userbase.kde.org/KDevelop/Install4.5 but Kubuntu is not included. I'd rather not install a new distro. I tried to install from source. The person who created that userbase page actually suggested http://techbase.kde.org/Getting_Started/Build but as you might imagine it's not very helpful for a newbie. I went ahead and added a link to http://techbase.kde.org/Projects/KDevelop4/HowToCompile instead. However, I can't figure out how to compile it using these directions. I suspect that maybe I don't have the requirements (http://techbase.kde.org/KDevelop4/requirements) but the explanation on how to find these requirements is sparse and the requirements page is untouched since 2011. I tried the suggested "[program name] --version" but it doesn't generally work. Here are my comments on the requirements:
  • "kdelibs-devel >= 4.3": in the Muon package manager and couldn't find anything but "kdelibs5-dev". I'm guessing this will work (??) although I do wonder why the format of the program name has to be periodically changed.
  • "Qt-devel >= 4.5.2": libqt4-dev is close, will that work?
  • "Boost MultiIndex library >= 1.35": there seems to be tons of "libboost" programs, such as libboost-random1.49.0 and liboost1.49.dev. What do I need to have?
  • "g++ >= 4.0 (or compatible) for linux": when I do g++ --version I get 4.7.2 so this should be good I guess.
  • "msvc >= 8 for MS Windows systems": msvc --version is a command, ended up installing minit; could not open /lib/minit/in, tried sudo and shell locked up at that point.
  • "GNU make (for linux, and BSD systems)": I see "make" in the package list
  • "CMake >= 2.6.2": OK.
  • "KDevelop Development Platform >= 1.0.0": OK, but what are the requirements for this, because I got errors trying to compile it.
The error I got trying to compile KdevelopPlatform looked like this:
Code: Select all
  By not providing "FindGrantlee.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Grantlee",
  but CMake did not find one.

  Could not find a package configuration file provided by "Grantlee"
  (requested version 0.1.7) with any of the following names:

    GrantleeConfig.cmake
    grantlee-config.cmake
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Updating installation docs

Tue May 07, 2013 8:07 pm
Hey!

Since 4.5 we also depend on Grantlee, I updated the wiki page. Sorry!
There should be a package in your distribution called like grantlee-dev or so, install that and you should be fine.

This is what cmake messages like this one always mean: Search your package manager for a package called like what it mentions, and install that.

In general don't worry too much about versions or dependencies or anything by yourself, just run cmake and see what it says. It'll tell you if anything is missing.

Cheers,
Sven


I'm working on the KDevelop IDE.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Updating installation docs

Wed May 08, 2013 10:42 am
In regards to a few dependencies you mentioned:
"kdelibs-devel >= 4.3": in the Muon package manager and couldn't find anything but "kdelibs5-dev". I'm guessing this will work (??) although I do wonder why the format of the program name has to be periodically changed.

This is the correct package. It is named kdelibs5-dev for historical reasons in Debian derivates. KDE 3 was known as "kdelibs4-dev" for instance.

"Qt-devel >= 4.5.2": libqt4-dev is close, will that work?

That is the right package, yes.

"Boost MultiIndex library >= 1.35": there seems to be tons of "libboost" programs, such as libboost-random1.49.0 and liboost1.49.dev. What do I need to have?

I would suggest looking for libboost-multiindex or similar here.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]