veket官方网站论坛

shimch 发表于 2019-10-15 21:57

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

出现错误
_____________________________________________________________________________
Error Error :
-------------------------------------------------------------------------------------------------------
$ 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的环境未配置好中文支持?或者相关库文件缺少?我也是菜鸟

shimch 发表于 2019-10-17 10:38

fcitx我已编译成功了,但在gnome 下很多软件输入不了中文,在应用QT设计的软件可以输入中文

shimch 发表于 2019-10-18 10:32

帖子写得不好,fcitx在linux 桌面的应用很广泛,坑也特别多。
页: [1]
查看完整版本: centOS 7.7下重新编译fcitx,有没有有经验的大佬帮一起看看