在AIX上编译rcs
时出现以下错误:
# ./configure
creating cache ./config.cache
checking diff basename... diff
checking for diff... /usr/bin/diff
checking diff success status... 0
checking diff failure status... 1
checking diff trouble status... 2
checking diff options for RCS... -n
checking diff -L... no
checking diff3 -m... no
checking diff3 library program... configure: error: cannot find a working diff3 library program
答案 0 :(得分:0)
我注意到当我执行which diff3
时,该程序位于此处:/usr/bin/diff3
。
所以要修复,我在configure
中更改了这一行:
for i in /usr/*lib*/*diff3*; do
到此:
for i in /usr/*bin*/*diff3*; do
我还没有完全测试过,但确实编译过了。