我正在尝试建立传输-2.94在我没有特权访问的远程服务器上。因此,我想安装所有自定义软件~/.local
。我已成功安装gettext
并intltool
设置PATH
。PKG_CONFIG_PATH
[user@remote transmission-2.94]$ intltool-update --version
intltool-update (intltool) 0.50.2
Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler.
Copyright (C) 2000-2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[user@remote transmission-2.94]$ gettext --version
gettext (GNU gettext-runtime) 0.19
Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
[user@remote transmission-2.94]$
但是,当我运行时./configure --prefix=${HOME}/.local --enable-utp --enable-cli --enable-daemon --disable-gtk
,我仍然收到以下错误:
checking system miniupnpc library... none
configure: error: "--enable-nls requires intltool to be installed."
我很确定我当前的 bash 可以正确intltool
找到gettext
。
[user@remote transmission-2.94]$ which intltool-extract
~/.local/bin/intltool-extract
[user@remote transmission-2.94]$ which intltool-merge
~/.local/bin/intltool-merge
[user@remote transmission-2.94]$ which intltool-prepare
~/.local/bin/intltool-prepare
[user@remote transmission-2.94]$ which intltool-update
~/.local/bin/intltool-update
[user@remote transmission-2.94]$ which intltoolize
~/.local/bin/intltoolize
[user@remote transmission-2.94]$ which gettext
~/.local/bin/gettext
[user@remote transmission-2.94]$ which gettextize
~/.local/bin/gettextize
[user@remote transmission-2.94]$
有任何想法吗?