Talk:Installing third party softwares in terminal/Build/KDE4: Difference between revisions

Page contents not supported in other languages.
From KDE TechBase
(Excluding Qt examples from building)
(Added "Install CMake modules local")
Line 22: Line 22:


In a couple of build tutorials I've seen various ways to build only the src and tools directories (like 'make sub-src sub-tools'). Should we mention this here (since it does speed up compiling a lot by skipping the examples etc)? -- milliams 22:12, 30 December 2006 (CET)
In a couple of build tutorials I've seen various ways to build only the src and tools directories (like 'make sub-src sub-tools'). Should we mention this here (since it does speed up compiling a lot by skipping the examples etc)? -- milliams 22:12, 30 December 2006 (CET)
== Install CMake modules local ==
The CMake modules should be installed local into ~/install/cmake/modules or similar.
When following the current instructions [[ Getting_Started/Build/Unstable_Version#Install_additional_CMake_modules|6.1: Install additional CMake modules]],  it's impossible to do a non-root installation, because "kdelibs/cmake/modules/cmake_install.cmake" wants to install the modules to "/cmake/modules".
I've already tried to do this, fiddling around with CMAKE_MODULE_PATH but couldn't get it working.
Does anybody know how to do this properly?
--[[User:Eliasp|Eliasp]] 15:44, 4 January 2007 (CET)

Revision as of 14:44, 4 January 2007

~/install

When installing KDE4, I strongly recommend installing all tools (like dbus and cmake) and kde packages into the same place, e.g. ~/install. Qt is the only exception.

The reason for this is because if you install some packages to ~/kde and some to /usr/local and maybe one in /usr then cmake will generate errors like:

-- It is impossible to order the include directories.

This is not a fatal error, so you will still be able to compile, but you will possibly be using the wrong versions of libraries and this will product problems that are very hard to diagnose.

You may not experience any problems when installed like I advise not to, however I have and you might too in some typical situations.

Please see:

http://developer.kde.org/build/trunk.html

Platform Independence

We should provide multiple versions of these instructions based on which OS the user wishes to compile on. Right now the windows instructions are on kdelibs.com and I don't know of any Mac instructions. Mattr 17:42, 26 December 2006 (CET)

Excluding Qt examples from building

In a couple of build tutorials I've seen various ways to build only the src and tools directories (like 'make sub-src sub-tools'). Should we mention this here (since it does speed up compiling a lot by skipping the examples etc)? -- milliams 22:12, 30 December 2006 (CET)

Install CMake modules local

The CMake modules should be installed local into ~/install/cmake/modules or similar. When following the current instructions 6.1: Install additional CMake modules, it's impossible to do a non-root installation, because "kdelibs/cmake/modules/cmake_install.cmake" wants to install the modules to "/cmake/modules".

I've already tried to do this, fiddling around with CMAKE_MODULE_PATH but couldn't get it working.

Does anybody know how to do this properly?

--Eliasp 15:44, 4 January 2007 (CET)