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

ナビゲーションに移動 検索に移動
321行目: 321行目:
  export CPATH="/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Core:/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Config:/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Module:/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Utils"
  export CPATH="/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Core:/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Config:/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Module:/<Fcitx5のインストールディレクトリ>/include/Fcitx5/Utils"
   
   
bazel build package --action_env CC=<GCC8以降のパス> --action_env CXX=<G++8以降のパス> \
            //unix/fcitx5:fcitx5-mozc.so          \
            -c opt --force_pic --config oss_linux \
            --jobs $(nproc)                      \
            --strip=never                        \
            --sandbox_debug                      \
            --verbose_failures                    \
            -s
# または
  bazel build --action_env CC=<GCC8以降のパス> --action_env CXX=<G++8以降のパス> \
  bazel build --action_env CC=<GCC8以降のパス> --action_env CXX=<G++8以降のパス> \
             -c opt --copt=-fPIC --config oss_linux \
             -c opt --copt=-fPIC --config oss_linux \
327行目: 337行目:
<br>
<br>
上記のファイルを、以下に示す場所に配置する。<br>
上記のファイルを、以下に示す場所に配置する。<br>
  cp bazel-bin/unix/fcitx5/fcitx5-mozc.so /<Fcitx5のインストールディレクトリ>/lib64/fcitx5/
  cp bazel-bin/unix/fcitx5/fcitx5-mozc.so /<Fcitx5のインストールディレクトリ>/lib64/fcitx5/mozc.so  # ファイル名を変更する必要があることに注意する
  sudo cp bazel-bin/server/mozc_server /usr/lib64/mozc/
  sudo cp bazel-bin/server/mozc_server /usr/lib64/mozc/
  sudo cp bazel-bin/gui/tool/mozc_tool /usr/lib64/mozc/
  sudo cp bazel-bin/gui/tool/mozc_tool /usr/lib64/mozc/

案内メニュー