1
Building and installing KDE Partition Manager from source
2
=========================================================
7
libparted: Either get it from http://www.gnu.org/software/parted/download.shtml
8
and build it yourself or, preferably, install your distribution's packages
9
(don't forget the dev-package).
11
libuuid: This is part of e2fsprogs, something you will most probably need
12
anyway. Get the source and build it from
13
http://sourceforge.net/project/showfiles.php?group_id=2406 or, preferably,
14
install your distribution's packages (again, don't forget the dev-package).
16
libblkid: Also part of e2fsprogs. See libuuid.
18
KDE4: KDE 4.0 will not work. The minimum required version is 4.1.0. To build the
19
documentation, you need 4.1.4 or 4.2.0.
24
KDE Partition Manager is built with cmake, like most of KDE4 today. It is
25
recommended to build out of tree: After unpacking the source, create a separate
26
build directory and run cmake there:
28
$ tar xfj partitionmanager-1.0.0-BETA1.tar.bz2
29
$ cd partitionmanager-1.0.0-BETA1
34
If all dependencies are met, cmake configures the build directory.
36
If you get an error message like "ERROR: Could not find KDE4 kde4-config" but
37
have KDE4 and its development packages installed, you might need to add the
38
KDE4 bin directory to the path.
43
Just run make and make install in the build directory. The default install path
44
is /usr/local, so installing will need write privileges there. You can
45
configure a different install path by passing
46
-DCMAKE_INSTALL_PREFIX=<your_path> to cmake when configuring. To change the
47
install path after configuring and building, run
51
in the build directory and modify CMAKE_INSTALL_PREFIX there.
56
KDE Partition Manager should be run as root. Running it as an unprivileged user
57
does no harm, but you will not be allowed to apply any operations (i.e., you
58
can click through the UI, but cannot modify your disks).
63
If you are getting an error like this during the build:
65
index.docbook:71: parser error : Entity 'partman' not defined
67
there is a problem with a documentation file. This is easily fixed by
68
commenting out the offending language in doc/CMakeLists.txt -- the error
69
message should indicate which language causes the error. As an alternative, you
70
can disable building all documentation by commenting out the
71
macro_optional_add_subdirectory(doc) line in the toplevel CMakeLists.txt file.