veket官方网站论坛

veket

 找回密码
 要注册
搜索
查看: 1339|回复: 3

centOS 7.7下重新编译fcitx,有没有有经验的大佬帮一起看看

[复制链接]
发表于 2019-10-15 21:57 | 显示全部楼层 |阅读模式
出现错误
_____________________________________________________________________________
Error Error :
-------------------------------------------------------------------------------------------------------
[fyuan@192 build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/fcitx
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2")
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.17") found components: doxygen dot
-- Found DOXYFILE_IN: /home/fyuan/Downloads/fcitx/Doxyfile.in
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Libintl: /usr/include
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_HAVE_WERROR
-- Performing Test ICONV_HAVE_WERROR - Success
-- Performing Test LIBICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test LIBICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Libiconv: /usr/include
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Found Pthread: /usr/include
-- Looking for backtrace
-- Looking for backtrace - found
-- Found LibExecinfo: /usr/include
-- Found GettextPo: /usr/lib64/libgettextpo.so
-- Could NOT find XKBCommon_XKBCommon (missing: XKBCommon_XKBCommon_LIBRARY) (found version "")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find XKBCommon (missing: XKBCommon_LIBRARIES XKBCommon) (Required
is at least version "0.5.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/FindXKBCommon.cmake:30 (find_package_handle_standard_args)
CMakeLists.txt:76 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/fyuan/Downloads/fcitx/build/CMakeFiles/CMakeOutput.log".
See also "/home/fyuan/Downloads/fcitx/build/CMakeFiles/CMakeError.log".

________________________________________________________________________

尝试重新编译libiconv和gettext, 但不能解决
发表于 2019-10-16 13:05 | 显示全部楼层
centOS的环境未配置好中文支持?或者相关库文件缺少?我也是菜鸟
 楼主| 发表于 2019-10-17 10:38 | 显示全部楼层
fcitx我已编译成功了,但在gnome 下很多软件输入不了中文,在应用QT设计的软件可以输入中文
 楼主| 发表于 2019-10-18 10:32 | 显示全部楼层
帖子写得不好,fcitx在linux 桌面的应用很广泛,坑也特别多。
您需要登录后才可以回帖 登录 | 要注册

本版积分规则

QQ|手机版|Archiver|veket官方网站论坛 ( 粤ICP备 11052856 )

GMT+8, 2024-4-27 21:47

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表