/bin/rm: cannot remove `libtoolT’: No such file or directory
忽略錯誤,強制
make,出錯.網上查了下,有很多提到採用[bash]
# aclocal
# autoconf
# automake
# libtoolize –force
[/bash]
OR
[bash]
# autoreconf –force –install
# libtoolize –automake –force
# automake –force –add-missing
[/bash]
但安裝無法成功.
Debian Bug report logs - #523750 autoconf false error這裡是類似的錯誤,臨時解決方法是刪除 /usr/share/aclocal/libtool.m4 文件中的 680 行
$RM -f "$cfgfile", 遂按此方法重新編譯安裝,還是失敗.
Package: libtool
Version: 2.2.6a-2
Normal run of libtool, produces no other warnings until the end of the master configure script.
At which point out pops:
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT': No such file or directory
This is resolved by placing:
$RM -f "$cfgfile"
at line 680 of /usr/share/aclocal/libtool.m4
One thing to note, is that the package producing this error has been bootstrapped to install libLtdl and related stuff under lib/libLtdl instead of the defaults.
The actual error may be elsewhere with a failure of the macro to detect and handle that case.
因為在上段引用中,有看到提到 libLtdl,於是,搜索了下,在 11.6 How to distribute libltdl with your package,看到聲明 libLtdl 的路徑
libtoolize --ltdl, 用這種方法再重新編譯,雖然編譯還是報如上同樣的錯誤,但安裝已能順利進行下去.
— Macro: LT_CONFIG_LTDL_DIR (directory)
Declare directory to be the location of the libltdl source files, for libtoolize --ltdl to place them.
没有评论:
发表评论