在 CentOS 6.4 上编译 kdepim 时,cmake 找不到 LinkGrammar 库。 应该在哪里找到和安装这些库?
unix >cmake .
... <snip> ...
-- Found Qt-Version 4.8.3 (using /usr/local/Trolltech/Qt-4.8.3/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found libassuan-config at /usr/local/bin/libassuan-config
-- Found assuan v2.1.0
-- Checking whether assuan is usable...yes
-- Usable assuan found.
-- Includes: /usr/local/include
-- Libraries: /usr/local/lib/libassuan.so;/usr/local/lib/libgpg-error.so
-- Usable assuan found for Kleopatra
-- Could NOT find LinkGrammar (missing: LinkGrammar_LIBRARIES LinkGrammar_INCLUDE_DIR)
CMake Error at mailcommon/filter/filterimporter/tests/CMakeLists.txt:15
(add_akonadi_isolated_test_advanced):
Unknown CMake command "add_akonadi_isolated_test_advanced"
LinkGrammar是AbiWord社区目前正在开发的库,其网站在这里。
但是,我可以建议使用发行版的包管理器来安装 KDE 吗?这应该可以解决您尝试自己编译它的"痛苦"体验。可以在此处找到相关说明。