[Momonga-devel.ja:02293] Re: cvs, quickml, xfsdumpの rebuildに失敗
- From: Hiromasa YOSHIMOTO <yosimoto@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 11 Nov 2003 11:33:27 +0900 (JST)
吉本です.
ToshiOkada <to1107@xxxxxxxxxxxxxxxxx> wrote:
> こんにちは,Toshi(O)です。
:
> cvsは,私の環境ではどうやら configureで krb5が有効になるとエラーして
> しまうようで,"%configure --without-gssapi" で makeすれば無事 Rebuildで
> きます。
エラーの直接的な原因は cvs-1.11.5-IPv6.patch にある
Cの文法的な間違いだと思います.
とりあえずコンパイルが通るようにするための patch を書きましたので添付します.
ただし正しくkrb5が利用できるかは確認していません.
--
Hiromasa YOSHIMOTO http://limu.is.kyushu-u.ac.jp/~yosimoto/
Index: cvs-1.11.5-IPv6.patch
===================================================================
RCS file: /home/cvs/pkgs/cvs/cvs-1.11.5-IPv6.patch,v
retrieving revision 1.1
diff -u -r1.1 cvs-1.11.5-IPv6.patch
--- cvs-1.11.5-IPv6.patch 22 Jan 2003 15:44:30 -0000 1.1
+++ cvs-1.11.5-IPv6.patch 11 Nov 2003 02:40:34 -0000
@@ -714,7 +714,7 @@
+ NULL, 0, NI_NUMERICHOST))
{
- error (1, 0, "gserver currently only enabled for socket connections");
-+ error (1, 0, "getnameinfo failed")
++ error (1, 0, "getnameinfo failed");
+ error_exit();
}
@@ -895,7 +895,7 @@
+ hints.ai_family = AF_UNSPEC;
+ hints.ai_socktype = SOCK_STREAM;
+ hints.ai_flags = AI_CANONNAME;
-+ if (getaddrinfo (hostname, NULL, &hints, &res))
++ if (getaddrinfo (hostname, NULL, &hints, &res0))
error (1, 0, "can't get canonical hostname");
- sprintf (buf, "cvs@%s", hp->h_name);