Update INSTALL instructions:

* KDE Frameworks are required.
  * partitionmanager->kpmcore.
This commit is contained in:
Andrius Štikonas 2015-06-11 12:27:00 +01:00
parent 36b78b4b3f
commit 10441c7df4
1 changed files with 6 additions and 28 deletions

34
INSTALL
View File

@ -1,4 +1,4 @@
Building and installing KDE Partition Manager from source
Building and installing KDE Partition Manager Core Library from source
=========================================================
@ -13,17 +13,16 @@ http://userweb.kernel.org/~kzak/util-linux-ng/.
libatasmart: Available from http://0pointer.de/blog/projects/being-smart.html
KDE4: KDE 4.2 or earlier will not work. The minimum required version is 4.3.0.
KDE Frameworks: The minimum required version is 5.0.
2. Configure
KDE Partition Manager is built with cmake, like most of KDE4 today. It is
recommended to build out of tree: After unpacking the source, create a separate
build directory and run cmake there:
KDE Partition Manager is built with cmake. It is recommended to build out of tree:
After unpacking the source, create a separate build directory and run cmake there:
$ tar xfj partitionmanager-1.0.60.tar.bz2
$ cd partitionmanager-1.0.60
$ tar xfj kpmcore-x.y.z.tar.bz2
$ cd partitionmanager-x.y.z
$ mkdir build
$ cd build
$ cmake ..
@ -42,24 +41,3 @@ install path after configuring and building, run
$ ccmake .
in the build directory and modify CMAKE_INSTALL_PREFIX there.
4. Running
KDE Partition Manager should be run as root. Running it as an unprivileged user
does no harm, but the default settings will not allow you to apply any
operations (i.e., you can click through the UI, but cannot modify your disks).
5. Troubleshooting
If you are getting an error like this during the build:
index.docbook:71: parser error : Entity 'partman' not defined
there is a problem with a documentation file. This is easily fixed by
commenting out the offending language in doc/CMakeLists.txt -- the error
message should indicate which language causes the error. As an alternative, you
can disable building all documentation by commenting out the
macro_optional_add_subdirectory(doc) line in the toplevel CMakeLists.txt file.