Once more this problem: Failed to find fcitx5 in immodule.

32 views
Skip to first unread message

Hongyi Zhao

unread,
Jan 27, 2021, 12:06:26 AM1/27/21
to fcitx-dev
On Ubuntu 20.04, I've compiled and installed the git master version of fcitx5-gtk and fcitx5-qt with the following options respectively:

fcitx5-gtk:
$ cmake -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK4_IM_MODULE=OFF -DGTK3_IM_MODULEDIR=/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules ..

fcitx5-qt:
$ cmake -DENABLE_QT4=false -DCMAKE_INSTALL_QT5PLUGINDIR=/lib/x86_64-linux-gnu/qt5/plugins ..

But fcitx5-diagnose still reports the following errors:

$ fcitx5-diagnose | grep  '\*\*'
    **Config GUI for qt not found.**
    **`kcmshell5` not found.**
    **Cannot find a GUI config tool, please install one of `kcm-fcitx5`, or `fcitx5-config-qt`.**
    **Your LC_CTYPE is set to en_US.UTF-8 instead of one of zh, ja, ko. You may not be able to use input method in emacs because of an really old emacs bug that upstream refuse to fix for years.**
    **Cannot find fcitx5 input method module for Qt4.**
    **Cannot find fcitx5 input method module for Qt5.**
        **Cannot find `gtk-query-immodules` for gtk 2**
        **Cannot find fcitx5 im module for gtk 2.**
        **Cannot find `gtk-query-immodules` for gtk 3**
        **Cannot find fcitx5 im module for gtk 3.**
        **Failed to find fcitx5 in immodule cache at `/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`**
        **Cannot find fcitx5 im module for gtk 2 in cache.**
        **Failed to find fcitx5 in immodule cache at `/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`**
        **Cannot find fcitx5 im module for gtk 3 in cache.**
        **Cannot find immodules cache for gtk 4**
        **Cannot find fcitx5 im module for gtk 4 in cache.**

As a result, I can't activate and switch among different fcitx5 input methods. Any hints/notes for solving this problem are highly appreciated.

Regards,
HY
Reply all
Reply to author
Forward
0 new messages