About the default install location of fcitx5-config-qt.

12 views
Skip to first unread message

Hongyi Zhao

unread,
Jan 4, 2021, 1:03:31 AM1/4/21
to fcitx-dev
See my following installation results:

$ find . -type f -name 'install_manifest.txt' | xargs egrep '(fcitx5-configtool|fcitx5-config-qt)$'
./fcitx5-configtool.git/build/install_manifest.txt:/usr/bin/fcitx5-config-qt
./fcitx5.git/build/install_manifest.txt:/usr/local/bin/fcitx5-configtool

为什么自己编译的fcitx5-configtool默认使用/usr/bin 而不是 /usr/local/bin 作为prefix?

Weng Xuetian

unread,
Jan 4, 2021, 11:27:30 AM1/4/21
to fcitx-dev
……这显然是你自己的参数的问题

你自己指定过不同的 -DCMAKE_INSTALL_PREFIX 吧
> --
> You received this message because you are subscribed to the Google Groups "fcitx-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fcitx-dev+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/fcitx-dev/8d195600-6a31-43c9-8c94-2c75d79014ban%40googlegroups.com.

Hongyi Zhao

unread,
Jan 4, 2021, 7:22:39 PM1/4/21
to fcit...@googlegroups.com
On Tue, Jan 5, 2021 at 12:27 AM Weng Xuetian <wen...@gmail.com> wrote:
>
> ……这显然是你自己的参数的问题
>
> 你自己指定过不同的 -DCMAKE_INSTALL_PREFIX 吧

没有。相反,如果想得到相应的结果,则需要这样:

-DCMAKE_INSTALL_PREFIX=/usr/local

而fcitx5的其他程序组件则没有这个问题。
> To view this discussion on the web visit https://groups.google.com/d/msgid/fcitx-dev/CAKiDycF6H%2BUwORXTgb3aOs%3DfVRy-W1zKwa%2B_9rrUVW2kqMi4mg%40mail.gmail.com.



--
Assoc. Prof. Hongyi Zhao <hongy...@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China

Weng Xuetian

unread,
Jan 4, 2021, 8:20:24 PM1/4/21
to fcitx-dev
看起来是因为用了 include(KDEInstallDirs) 的作用,所以默认用了和系统 KDE 一样的 prefix
> To view this discussion on the web visit https://groups.google.com/d/msgid/fcitx-dev/CAGP6POKjmEaBi-WABa1m%2B_p%2BZz7vafo%3D25iwsK1CK4uEcT4m7g%40mail.gmail.com.

Hongyi Zhao

unread,
Jan 5, 2021, 7:35:28 AM1/5/21
to fcit...@googlegroups.com
On Tue, Jan 5, 2021 at 9:20 AM Weng Xuetian <wen...@gmail.com> wrote:
>
> 看起来是因为用了 include(KDEInstallDirs) 的作用,所以默认用了和系统 KDE 一样的 prefix

可以考虑修正一下,以免和从系统 apt repo安装的包冲突。
> To view this discussion on the web visit https://groups.google.com/d/msgid/fcitx-dev/CAKiDycEFdzzM3hWVN%2BDhOzLiJcC%2B133AWPhVttAsMnNk_p1_5w%40mail.gmail.com.

Weng Xuetian

unread,
Jan 5, 2021, 11:28:57 AM1/5/21
to fcitx-dev
但是还是你可以手动指定一下 -DCMAKE_INSTALL_PREFIX 其实没什么关系
> To view this discussion on the web visit https://groups.google.com/d/msgid/fcitx-dev/CAGP6PO%2Bqs%3DCJr5wqDSBiUSkgt6iQ5twR4C-YbvF0A3WGwLaC-Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages