KDevelop4/Manual/Appendix A: Building KDevelop from Sources/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with "Докладний опис дій можна знайти у [http://techbase.kde.org/KDevelop4/HowToCompile цій статті].")
(Created page with "=== Вимоги ===")
Line 9: Line 9:
Be aware that you ''could'' build an unstable version. To help the developers fix bugs, please keep the <code>RelWithDebInfo</code> and report bugs to http://bugs.kde.org, either per hand or using Dr. Konqi.
Be aware that you ''could'' build an unstable version. To help the developers fix bugs, please keep the <code>RelWithDebInfo</code> and report bugs to http://bugs.kde.org, either per hand or using Dr. Konqi.


== Requirements ==
=== Вимоги ===


* kdelibs-devel >= 4.3 - http://www.kde.org
* kdelibs-devel >= 4.3 - http://www.kde.org

Revision as of 09:15, 20 May 2011

Other languages:

Збирання KDevelop з початкового коду

Якщо вам хочеться скористатися всіма щойно реалізованими можливостями та виправленнями вад, ви можете зібрати KDevelop власноруч з кодів середовища.

Докладний опис дій можна знайти у цій статті.

Be aware that you could build an unstable version. To help the developers fix bugs, please keep the RelWithDebInfo and report bugs to http://bugs.kde.org, either per hand or using Dr. Konqi.

Вимоги

Install for all users

mkdir kdevgit
cd kdevgit
git clone git://anongit.kde.org/kdevplatform
git clone git://anongit.kde.org/kdevelop
cd kdevplatform
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make && sudo make install
kbuildsycoca4
cd ../..
cd kdevelop
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make && sudo make install
kbuildsycoca4

Install for local user

mkdir kdevgit
cd kdevgit
git clone git://anongit.kde.org/kdevplatform
git clone git://anongit.kde.org/kdevelop
cd kdevplatform
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ..
make && make install
# the following line is needed so that kbuildsycoca4 finds all .desktop files
export KDEDIRS=$HOME/kdevelop4:/usr
kbuildsycoca4
cd ../..
cd kdevelop
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ..
make && make install
kbuildsycoca4

Please note: Whenever you do some package or distribution update that calls kbuildsycoca4, you need to execute the following lines after the update:

export KDEDIRS=$HOME/kdevelop4:/usr
kbuildsycoca4