「インストール - Fcitx」の版間の差分

ナビゲーションに移動 検索に移動
294行目: 294行目:
  git submodule update --init --recursive
  git submodule update --init --recursive
  cd src
  cd src
<br>
Mozcのビルドに必要な依存関係のライブラリをインストールする。<br>
sudo zypper install libQt5Core-devel libQt5Gui-devel libQt5Widgets-devel libQt5DBus-devel libQt5Concurrent-devel \
                    libqt5-qtbase-devel libqt5-qtbase-private-headers-devel
<br>
<br>
Fcitx5のパスを追加する。<br>
Fcitx5のパスを追加する。<br>
305行目: 309行目:
  bazel build --action_env CC=<GCC8以降のパス> --action_env CXX=<G++8以降のパス> -c opt --copt=-fPIC --config oss_linux \
  bazel build --action_env CC=<GCC8以降のパス> --action_env CXX=<G++8以降のパス> -c opt --copt=-fPIC --config oss_linux \
             unix/fcitx5:fcitx5-mozc.so server:mozc_server gui/tool:mozc_tool --verbose_failures
             unix/fcitx5:fcitx5-mozc.so server:mozc_server gui/tool:mozc_tool --verbose_failures
<br>
上記のファイルを、以下に示す場所に配置する。<br>
cp bazel-bin/unix/fcitx5/fcitx5-mozc.so /<Fcitx5のインストールディレクトリ>/lib64/fcitx5/
sudo cp bazel-bin/server/mozc_server /usr/lib64/mozc/
sudo cp bazel-bin/gui/tool/mozc_tool /usr/lib64/mozc/
<br>
<br>


案内メニュー