[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cvs-ml 502] "cvs diff" calls "/usr/bin/diff". Why?
- To: cvs-ml@vox.dj.kit.ac.jp
- Subject: [cvs-ml 502] "cvs diff" calls "/usr/bin/diff". Why?
- From: HARAGUCHI Shuugou <haraguti@nd.net.fujitsu.co.jp>
- Date: Sat, 15 Apr 2000 15:11:52 +0900
- Reply-To: cvs-ml
- Sender: owner-cvs-ml
- User-Agent: Wanderlust/1.1.0 (Overjoyed) REMI/1.14.1(虫川大杉) CLIME/1.13.6(中ノ庄) APEL/10.2 Emacs/20.6(i386-*-windows98.1998) MULE/4.1 (葵)Meadow/1.13 Beta1 (棚橋:61段)
はらぐちと申します。
Solaris 2.6 on Ultra Sparc に cvs-1.10.7 をインストールして利用してい
るのですが、"cvs diff -u" が実行できないことに気がつきました。
実行しようとすると以下のようなエラーメッセージが出力されます。
haraguti% cvs diff -u hoge.c
Index: rport_cfg.h
===================================================================
RCS file: /src/master/proj/Attic/hoge.c,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 hoge.c
/usr/bin/diff: オプションが正しくありません -- u
使用法: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
diff [-bitw] [-C number] file1 file2
diff [-bitw] [-D string] file1 file2
diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
rcsdiff: hoge.c: diff failed
# ファイル名とリポジトリ名は変更しています。
cvs-1.10.7 の INSTALL には、
Unlike previous versions of CVS, you do not need to install RCS
or GNU diff.
と書かれていますが、なぜか /usr/bin/diff が呼ばれています。しかも、
PATH は /usr/local/bin の方を /usr/bin よりも前にしているのに、
/usr/local/bin/diff ではなく /usr/bin/diff が呼ばれているのもよくわか
りません。いったいどういうことなのでしょう?
インストールの手順はごく普通に
./configure
make
make install
しただけです。しかし make check すると "FAIL: rcsdiff-5" で失敗してお
り、check.log を見ると、
PASS: rcsdiff-4
** expected:
===================================================================
Checking out foo\.c
RCS: /tmp/cvs-sanity/cvsroot/first-dir/foo\.c,v
VERS: 1\.1
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
I am the first foo, and my name is $Name: first $\.
** got:
===================================================================
Checking out foo.c
RCS: /tmp/cvs-sanity/cvsroot/first-dir/foo.c,v
VERS: 1.1
***************
I am the first foo, and my name is $Name: first $.
FAIL: rcsdiff-5
となっていました。やはり何らかの問題があるようですが、なにがまずいのか
私にはわかりません。
なにがまずいのか、お解りになる方がいらっしゃいましたらアドバイスをお願
いします。
--
原口 秀剛