Archive:Getting Started/Build/Requirements: Difference between revisions

From KDE TechBase
(snNfyOUKVVQQs)
m (Reverted edits by KennethMartinez (talk) to last revision by AnneW)
 
(173 intermediate revisions by 22 users not shown)
Line 1: Line 1:
comment5, http://avuce.com/doxycycline/doxycycline-and-diarrhea-side-effect.html Doxycycline And Diarrhea Side Effect,  hjva, http://avuce.com/doxycycline/doxycycline-hyclate-acne.html Doxycycline Hyclate Acne, lwe, http://avuce.com/doxycycline/ic-doxycycline-pill.html Ic Doxycycline Pill,  zxbpws, http://avuce.com/doxycycline/doxycycline-and-gonorrhea-treatment.html Doxycycline And Gonorrhea Treatment,  %[[, http://avuce.com/doxycycline/side-effects-doxycycline.html Side Effects Doxycycline,  8-[, http://avuce.com/doxycycline/doxycycline-dosage-for-acne.html Doxycycline Dosage For Acne, 8-))), http://avuce.com/doxycycline/buy-doxycycline.html Buy Doxycycline, wnatk, http://avuce.com/doxycycline/what-is-doxycycline-hyclate-used-to-treat.html What Is Doxycycline Hyclate Used To Treat, 8[[, http://avuce.com/doxycycline/dhea-doxycycline.html Dhea Doxycycline,  %-]]], http://avuce.com/doxycycline/doxycycline-for-sale-and-accepts-mastercard.html Doxycycline For Sale And Accepts Mastercard,  856, http://avuce.com/doxycycline/doxycycline-acne-reviews.html Doxycycline Acne Reviews,  %-PPP, http://avuce.com/doxycycline/doxycycline-capsule.html Doxycycline Capsule,  664759, http://avuce.com/doxycycline/gonorrhea-doxycycline-hyclate.html Gonorrhea Doxycycline Hyclate,  786745, http://avuce.com/doxycycline/doxycycline-dose.html Doxycycline Dose,  ryq, http://avuce.com/doxycycline/doxycycline-hyclate-effects.html Doxycycline Hyclate Effects,  nkzd, http://avuce.com/doxycycline/doxycycline-treatment-for-gonorrhea.html Doxycycline Treatment For Gonorrhea,  %]]], http://avuce.com/doxycycline/doxycycline-7-day-treatment-for-gonorreah.html Doxycycline 7 Day Treatment For Gonorreah,  zckfe, http://avuce.com/doxycycline/doxycycline-hyclate-against-acne.html Doxycycline Hyclate Against Acne,  kma, http://avuce.com/doxycycline/doxycycline-dental-abscess.html Doxycycline Dental Abscess,  85470, http://avuce.com/doxycycline/people-said-on-doxycycline.html People Said On Doxycycline,  985, http://avuce.com/doxycycline/doxycycline-rash.html Doxycycline Rash,  49844, http://avuce.com/doxycycline/doxycycline-hyclate-uses.html Doxycycline Hyclate Uses,  ewhwkv, http://avuce.com/doxycycline/doxycycline-caps.html Doxycycline Caps,  8PPP, http://avuce.com/doxycycline/side-effects-of-doxycycline-hyclate.html Side Effects Of Doxycycline Hyclate,  uke, http://avuce.com/doxycycline/what-is-doxycycline-100-mg.html What Is Doxycycline 100 Mg,  >:PPP, http://avuce.com/doxycycline/reactions-to-doxycycline.html Reactions To Doxycycline,  rujcr, http://avuce.com/doxycycline/doxycycline-with-alcohol.html Doxycycline With Alcohol,  517634, http://avuce.com/doxycycline/doxycycline-100mg-capsules.html Doxycycline 100Mg Capsules,  8P, http://avuce.com/doxycycline/doxycycline-and-alcohol.html Doxycycline And Alcohol,  =-]]], http://avuce.com/doxycycline/doxycycline-effectiveness.html Doxycycline Effectiveness,  %)), http://avuce.com/doxycycline/doxycycline-mono.html Doxycycline Mono,  %-OOO, http://avuce.com/doxycycline/doxycycline-dose-chlamydia-vaginosis.html Doxycycline Dose Chlamydia Vaginosis,  8-O, http://avuce.com/doxycycline/side-effects-of-doxycycline-hyclate-in-dogs.html Side Effects Of Doxycycline Hyclate In Dogs,  ixd, http://avuce.com/doxycycline/gonorrhea-doxycycline.html Gonorrhea Doxycycline,  cou, http://avuce.com/doxycycline/doxycycline-versus-amoxicillin.html Doxycycline Versus Amoxicillin,  :-OO, http://avuce.com/doxycycline/doxycycline-hyc-cap-100mg.html Doxycycline Hyc Cap 100Mg,  381180, http://avuce.com/doxycycline/doxycycline-gonorrhea.html Doxycycline Gonorrhea,  rljsz, http://avuce.com/doxycycline/how-does-doxycycline-work.html How Does Doxycycline Work,  7103, http://avuce.com/doxycycline/doxycycline-headache.html Doxycycline Headache,  =[[[, http://avuce.com/doxycycline/doxycycline-and-prostatitis.html Doxycycline And Prostatitis, 93327, http://avuce.com/doxycycline/doxycycline-monohydrate.html Doxycycline Monohydrate, 63449, http://avuce.com/doxycycline/stomach-distention-pain-doxycycline-appendicitis.html Stomach Distention Pain Doxycycline Appendicitis, 998690, http://avuce.com/doxycycline/sex-while-taking-doxycycline.html Sex While Taking Doxycycline,  %-(, http://avuce.com/doxycycline/doxycycline-dogs-hair-loss.html Doxycycline Dogs Hair Loss,  ddyl, http://avuce.com/doxycycline/doxycycline-dosage-for-lyme-dog.html Doxycycline Dosage For Lyme Dog,  >:P, http://avuce.com/doxycycline/what-is-doxycycline-prescribed-for.html What Is Doxycycline Prescribed For, qwx, http://avuce.com/doxycycline/natural-herbal-antibiotics-like-doxycycline.html Natural Herbal Antibiotics Like Doxycycline,  zhuso, http://avuce.com/doxycycline/doxycycline-asthma.html Doxycycline, Asthma,  24549, http://avuce.com/doxycycline/doxycycline-hcl.html Doxycycline Hcl,  acvujw, http://avuce.com/doxycycline/tooth-infection-doxycycline.html Tooth Infection Doxycycline,  708,
__NOINDEX__
{{warning|This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care. Please see the [[Development/Git|KDE Git hub page]] for more details. }}
 
 
 
{{TutorialBrowser|
 
series=Getting Started|
 
name=Building KDE4 From Source/Requirements|
 
pre=[[Getting_Started|Getting Started]]|
 
next=[[Getting_Started/Build/Qt|Qt]]|
|
}}
 
== Introduction ==
 
This page details the software requirements that need to be installed on your system before you can start building KDE SoftwareFor most of these requirements it is preferable to use your distribution supplied packages, however in some case you will need to build some requirements yourself and this page will also explain how to do so.
 
=== Required Steps ===
 
You need to have completed the following steps:
* Set up your [[../Environment|Build Environment]]
* Selected your [[../Recipes|Build Recipes]]
 
== Definitions ==
 
The Build Requirements for each Module will be documented in a common table format as follows:
 
{| border="1" cellpadding="5" cellspacing="0"
|+ '''Build Requirements'''
|-
! width="20%" style="background-color:#EFEFEF;" | Requirement
! width="15%" style="background-color:#EFEFEF;" | Stable Requires
! width="15%" style="background-color:#EFEFEF;" | Unstable Requires
! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?
! width="40%" style="background-color:#EFEFEF;" | Details
|-
| [http://en.wikipedia.org/wiki/Foobar Foobar]
| style="background-color:#FF6666" | >= 2.0
| style="background-color:#66FF66" | >= 1.0
| Yes
| A library to enable KDE Software to foo your bar.
|}
 
The fields in this table are defined as follows:
 
{| border="1" cellpadding="5" cellspacing="0"
|-
| width="30%" style="background-color:#EFEFEF;" | '''Requirement'''
| width="70%" | The project that KDE Software depends on, including a link to the Project home page.]
|-
| style="background-color:#EFEFEF;" | '''Stable Requires'''
| The version of the Project that the current Stable KDE Release requiresThe background color indicates if the requirement is optional (green) or mandatory (red). Stable is currently KDE Release 4.6.
|-
| style="background-color:#EFEFEF;" | '''Unstable Requires'''
| The version of the Project that the current Unstable development version requiresThe background color indicates if the requirement is optional (green) or mandatory (red). Unstable is currently targeting KDE Release 4.7.
|-
| style="background-color:#EFEFEF;" | '''Devel Pkgs?'''
| If installing from distribution packages, whether you also need to install the -devel packages.
|-
| style="background-color:#EFEFEF;" | '''Details'''
| More information about the Project and the requirement
|}
 
== System Prerequisites ==
 
TODO: Complete updating this list
 
All of these packages should be installed from your distributionIf you cannot meet these requirements from your distribution, it is recommended to either update to a more recent distribution or to build KDE in a virtual machine.
 
Requirements as at 2011-03-02.
 
{| border="1" cellpadding="5" cellspacing="0"
|+ '''KDE Software Build Requirements'''
|-
! width="20%" style="background-color:#EFEFEF;" | Requirement
! width="15%" style="background-color:#EFEFEF;" | Stable Requires
! width="15%" style="background-color:#EFEFEF;" | Unstable Requires
! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?
! width="40%" style="background-color:#EFEFEF;" | Details
|-
| GCC / G++
| style="background-color:#FF6666" | >= 4.2
| style="background-color:#FF6666" | >= 4.2
| No
|
|-
| [http://git-scm.com/ Git]
| style="background-color:#66FF66" |
| style="background-color:#66FF66" |
| No
| Revision control software, required for development builds.
|-
| [http://subversion.apache.org/ Subversion]
| style="background-color:#66FF66" |
| style="background-color:#66FF66" |
| No
| Revision control software, required for development builds.
|-
| [http://pkg-config.freedesktop.org/wiki/ pkg-config]
| >=
| >=
| No
|
|-
| [http://cmake.org/HTML/index.html CMake]
| style="background-color:#FF6666" | >= 2.6.4
| style="background-color:#FF6666" | >= 2.6.4
| No
| Build configuration tool
|-
| [http://www.freedesktop.org/wiki/Software/dbus DBus]
| style="background-color:#FF6666" | >= 1.4.0
| style="background-color:#FF6666" | >= 1.4.0
| Yes
| Also dbus-glib
|-
| [http://www.x.org/wiki/ X11]
| >=
| >=
| Yes
|
|-
| [http://www.mesa3d.org/ Mesa]
| >=
| >=
| Yes
| mesa-common-dev and libglu1-mesa-dev
|-
| [http://www.ijg.org/ libjpeg]
| >=
| >=
| Yes
|
|-
| [http://www.libpng.org/pub/png/libpng.html libpng]
| >=
| >=
| Yes
|
|-
| [http://sourceforge.net/projects/giflib/ libungif]
| >=
| >=
| Yes
|
|-
| [http://download.librdf.org/source/ librdf]
| >=
| >=
| Yes
|
|-
| [http://bzip.org/ libbz2]
| >=
| >=
| Yes
|
|-
| [http://xmlsoft.org/ libxml2]
| >=
| >=  
| Yes
|
|-
| [http://xmlsoft.org/xslt/ libxslt]
| >=
| >=
| Yes
|
|-
| [http://boost.org/ Boost]
| >=
| >=
| Yes
|
|-
| [http://www.mysql.com/ libmysqlclient]
| >=
| >=
| Yes
|
|-
| [http://freedesktop.org/wiki/Software/shared-mime-info shared-mime-info]
| >=
| >=
| Yes
|
|-
| [http://sourceforge.net/projects/oscaf/files/ Shared-Desktop-Ontologies]
| >=
| >=
| No
|
|-
| [http://docbook.org/schemas/4x.html DocBook XML DTD's]
| >= 4.2
| >= 4.2
| No
| Required for the KDE documentation and help
|-
| [http://wiki.docbook.org/topic/DocBookXslStylesheets DocBook XSl Stylesheets]
| >= 4.2
| >= 4.2
| No
| Required for the KDE documentation and help
|}
 
=== Hardware Libraries ===
HAL (Hardware Abstraction Layer) is required by KDE 4.5 and earlier for interfacing with your hardwareYour distribution supplied packages should be sufficient for this.
 
From KDE 4.6 onwards HAL has been deprecated in favor of uDisk, uPower and related projects, but all but the most recent distributions will still require HAL.
 
=== Distributions ===
 
Many distributions provide shortcut meta-packages or install commands to simplify installing all the KDE requirementsCheck the [[Getting_Started/Build/Distributions|Distributions page]] first to see if your distribution provides a simple way to install the requirements.
 
== Shared-Desktop-Ontologies ==
 
The Ontologies are a shared resource required for the semantic desktop.
 
{| border="1" cellpadding="5" cellspacing="0"
|+ '''KDE Software Build Requirements'''
|-
! width="20%" style="background-color:#EFEFEF;" | Requirement
! width="15%" style="background-color:#EFEFEF;" | Stable Requires
! width="15%" style="background-color:#EFEFEF;" | Unstable Requires
! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?
! width="40%" style="background-color:#EFEFEF;" | Details
|-
| [http://sourceforge.net/projects/oscaf/ Shared-Desktop-Ontologies]
| >=
| >= 0.7
| No
|
|}
 
Your distribution packages should be sufficient for this package but some older distributions may not have them so you may need to build them yourself using either the Easy Recipe or Full Recipe.
 
To obtain the source you can either download a tarball from the website or use the following git command:
 
  git clone git://oscaf.git.sourceforge.net/gitroot/oscaf/shared-desktop-ontologies
 
== Next Step ==
Once all requirements have been installed it is time to install [[Getting_Started/Build/Qt|Qt]]

Latest revision as of 15:53, 31 July 2012

Warning
This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care. Please see the KDE Git hub page for more details.



Building KDE4 From Source/Requirements
Tutorial Series   Getting Started
Previous   Getting Started
What's Next   Qt
Further Reading   n/a

Introduction

This page details the software requirements that need to be installed on your system before you can start building KDE Software. For most of these requirements it is preferable to use your distribution supplied packages, however in some case you will need to build some requirements yourself and this page will also explain how to do so.

Required Steps

You need to have completed the following steps:

  • Set up your [[../Environment|Build Environment]]
  • Selected your [[../Recipes|Build Recipes]]

Definitions

The Build Requirements for each Module will be documented in a common table format as follows:

Build Requirements
Requirement Stable Requires Unstable Requires Devel Pkgs? Details
Foobar >= 2.0 >= 1.0 Yes A library to enable KDE Software to foo your bar.

The fields in this table are defined as follows:

Requirement The project that KDE Software depends on, including a link to the Project home page.]
Stable Requires The version of the Project that the current Stable KDE Release requires. The background color indicates if the requirement is optional (green) or mandatory (red). Stable is currently KDE Release 4.6.
Unstable Requires The version of the Project that the current Unstable development version requires. The background color indicates if the requirement is optional (green) or mandatory (red). Unstable is currently targeting KDE Release 4.7.
Devel Pkgs? If installing from distribution packages, whether you also need to install the -devel packages.
Details More information about the Project and the requirement

System Prerequisites

TODO: Complete updating this list

All of these packages should be installed from your distribution. If you cannot meet these requirements from your distribution, it is recommended to either update to a more recent distribution or to build KDE in a virtual machine.

Requirements as at 2011-03-02.

KDE Software Build Requirements
Requirement Stable Requires Unstable Requires Devel Pkgs? Details
GCC / G++ >= 4.2 >= 4.2 No
Git No Revision control software, required for development builds.
Subversion No Revision control software, required for development builds.
pkg-config >= >= No
CMake >= 2.6.4 >= 2.6.4 No Build configuration tool
DBus >= 1.4.0 >= 1.4.0 Yes Also dbus-glib
X11 >= >= Yes
Mesa >= >= Yes mesa-common-dev and libglu1-mesa-dev
libjpeg >= >= Yes
libpng >= >= Yes
libungif >= >= Yes
librdf >= >= Yes
libbz2 >= >= Yes
libxml2 >= >= Yes
libxslt >= >= Yes
Boost >= >= Yes
libmysqlclient >= >= Yes
shared-mime-info >= >= Yes
Shared-Desktop-Ontologies >= >= No
DocBook XML DTD's >= 4.2 >= 4.2 No Required for the KDE documentation and help
DocBook XSl Stylesheets >= 4.2 >= 4.2 No Required for the KDE documentation and help

Hardware Libraries

HAL (Hardware Abstraction Layer) is required by KDE 4.5 and earlier for interfacing with your hardware. Your distribution supplied packages should be sufficient for this.

From KDE 4.6 onwards HAL has been deprecated in favor of uDisk, uPower and related projects, but all but the most recent distributions will still require HAL.

Distributions

Many distributions provide shortcut meta-packages or install commands to simplify installing all the KDE requirements. Check the Distributions page first to see if your distribution provides a simple way to install the requirements.

Shared-Desktop-Ontologies

The Ontologies are a shared resource required for the semantic desktop.

KDE Software Build Requirements
Requirement Stable Requires Unstable Requires Devel Pkgs? Details
Shared-Desktop-Ontologies >= >= 0.7 No

Your distribution packages should be sufficient for this package but some older distributions may not have them so you may need to build them yourself using either the Easy Recipe or Full Recipe.

To obtain the source you can either download a tarball from the website or use the following git command:

git clone git://oscaf.git.sourceforge.net/gitroot/oscaf/shared-desktop-ontologies

Next Step

Once all requirements have been installed it is time to install Qt