tce-load -i compiletc cmake ninja gettext intltool openldap-dev evolution-data-server-dev gnome-desktop-dev libcanberra-dev gnome-autoar-dev itstool gspell-dev wget https://download.gnome.org/sources/evolution/3.40/evolution-3.40.4.tar.xz cd evolution-3.40.4 sudo ln -s /usr/local/include/nss/* /usr/local/include remove iconv test from CMakeList.txt mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DENABLE_YTNEF=OFF -DENABLE_TEXT_HIGHLIGHT=OFF -DENABLE_PST_IMPORT=OFF -DLIBEXEC_INSTALL_DIR=/usr/local/lib/evolution -DWITH_HELP=OFF -G Ninja ../ ninja [6m 25.43s] sudo ninja install -- Configure options: -- LIB_SUFFIX ................... -- CMAKE_INSTALL_PREFIX ......... /usr/local -- BIN_INSTALL_DIR .............. /usr/local/bin -- INCLUDE_INSTALL_DIR .......... /usr/local/include -- LIB_INSTALL_DIR .............. /usr/local/lib -- LIBEXEC_INSTALL_DIR .......... /usr/local/lib/evolution -- SHARE_INSTALL_PREFIX ......... /usr/local/share -- LOCALE_INSTALL_DIR ........... /usr/local/share/locale -- SYSCONF_INSTALL_DIR .......... /usr/local/etc -- MAN_INSTALL_DIR .............. /usr/local/share/man -- ENABLE_CODE_COVERAGE ......... OFF -- ENABLE_SCHEMAS_COMPILE ....... ON -- ENABLE_GTK_DOC ............... OFF -- ENABLE_INSTALLED_TESTS ....... OFF -- WITH_OPENLDAP ................ /usr -- WITH_SUNLDAP ................. OFF -- WITH_STATIC_LDAP ............. OFF -- ENABLE_SMIME ................. ON -- WITH_NSPR_INCLUDES ........... -- WITH_NSPR_LIBS ............... -- WITH_NSS_INCLUDES ............ -- WITH_NSS_LIBS ................ -- ENABLE_MAINTAINER_MODE ....... OFF -- VERSION_SUBSTRING ............ -- VERSION_COMMENT .............. -- ENABLE_ALARM_NOTIFY_MODULE ... ON -- ENABLE_GNOME_DESKTOP ......... ON -- WITH_ENCHANT_VERSION ......... auto (enchant-1) -- ENABLE_CANBERRA .............. ON -- ENABLE_AUTOAR ................ ON -- WITH_HELP .................... ON -- ENABLE_YTNEF ................. OFF -- WITH_BOGOFILTER .............. /usr/bin/bogofilter -- WITH_SPAMASSASSIN ............ /usr/bin/spamassassin -- WITH_SA_LEARN ................ /usr/bin/sa-learn -- ENABLE_GSPELL ................ ON -- ENABLE_PLUGINS ............... all -- ENABLE_TEXT_HIGHLIGHT ........ OFF -- ENABLE_WEATHER ............... ON -- ENABLE_CONTACT_MAPS .......... OFF -- ENABLE_PST_IMPORT ............ OFF -- WITH_GLADE_CATALOG ........... OFF