Warning, /pim/akonadi/INSTALL is written in an unsupported language. File is not indexed.

0001 Akonadi's build system uses cmake.
0002 
0003 So to compile Akonadi first create a build dir
0004 
0005   mkdir build
0006   cd build
0007 
0008 then run cmake:
0009 
0010   cmake ..
0011 
0012 (a typical cmake option that is often used is: -DCMAKE_INSTALL_PREFIX=<prefix>)
0013 
0014 cmake then presents a configuration summary. At this point you may
0015 want to install missing dependencies (if you do, remove the CMakeCache.txt)
0016 and run cmake again.
0017 
0018 Finally build Akonadi:
0019 
0020   make
0021 
0022 And install it (in most cases root privileges are required):
0023 
0024   make install
0025 
0026 That's all :)
0027 
0028 === Build Options ===
0029 
0030 The following options are available when running CMake:
0031 
0032 * AKONADI_BUILD_TESTS (Default: TRUE): Build the Akonadi unit tests
0033 * AKONADI_BUILD_QSQLITE (Default: TRUE): Build the SQLite backend
0034 * KDE_INSTALL_USE_QT_SYS_PATHS (Default: FALSE): Useful for distributions.
0035   Once enabled, the qsqlite3 backend will be installed in the sqlbackends subdirectory of the default Qt plugins directory
0036   specified at Qt build time.
0037 * DATABASE_BACKEND (Default: MYSQL, available: MYSQL, POSTGRES, SQLITE): Define which database driver to use by default. MYSQL
0038   is the default right now, SQLITE is recommended for most users.
0039 
0040 === Build Requirements ===
0041 
0042 Required:
0043 
0044 * CMake (https://cmake.org/) >= 3.16
0045 * Qt5 >= 6.4.0 (http://qt.nokia.com/downloads)
0046 * Shared-mime-info >= 1.3 (https://freedesktop.org/wiki/Software/shared-mime-info/)
0047 * Xsltproc (http://xmlsoft.org/XSLT/downloads.html)
0048 
0049 Optional:
0050 
0051 * MySQL/MariaDB (https://www.mysql.com/) - Optional at build time. You can pass -DMYSQLD_EXECUTABLE=/path/to/mysqld when running CMake instead
0052 * Postgresql (https://www.postgresql.org/) - Optional at build time. You can pass -DPOSTGRES_PATH=/path/to/pg_ctl when running CMake instead
0053 
0054 === Runtime Requirements ===
0055 
0056 * SQLite if you plan to use the SQLite backend
0057 * MySQL server >= 5.1.3 (or compatible replacements such as MariaDB) if you plan to use the MySQL backend
0058 * a Postgresql server if you plan to use the Postgres backend
0059