[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FDclone-users:00800] Re: configure時のエラーについて



お世話になります。今尾です。


>  その挙動を示すのは configure の先頭行を /bin/sh から fdsh
> に書換えた場合なんじゃないかと思うんですが、一応その環境でも
> configure が成功するように修正を加えてみました。

configure の先頭行はそのまま (つまり /bin/sh) で試しています。ただし、
SHELL= は /usr/local/bin/fdsh を指定してある状態です。

>  下記 patch は 3.00a に対するものなので、先の patch を一旦
> 破棄してから当て直して下さい。

パッチのご提供ありがとうございました。が、unbound dovecot の両方とも最後
までたどり着けませんでした。もはやこれは fdsh とはまったく関係ないお話か
もしれませんが、念のためご報告しておきます。


-- dovecot-1.1.1 --

configure の実行時に下記のエラーを出して止まってしまいました。

checking for iconv declaration... ./configure:
$as_me:$LINENO: result:${ac_t:-
	$am_cv_proto_iconv": bad substitution
# checking の行と $as_me の行は実際には1行です。


/bin/sh を login shell として指定した場合、該当する行では

checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
# extern の行と *inbytesleft の行は実際には1行です。

となっていました。


-- unbound-1.0.0 --

configure は終了しますが、その後の gmake 実行時に失敗します。
# エラーメッセージは長くなってしまいますが、必要であれば添付、あるいは直
# 送させていただきます。

configure して作成した Makefile の差分は次の通りでした。

--- configure_result_sh	2008-06-27 08:58:33.000000000 +0900
+++ configure_result_fdsh	2008-06-27 08:57:51.000000000 +0900
@@ -47,8 +47,8 @@
 checking host system type... i386-unknown-freebsd7.0
 checking for flex... flex
 checking lex output file root... lex.yy
-checking lex library... -lfl
-checking whether yytext is a pointer... yes
+checking lex library... none needed
+checking whether yytext is a pointer... no
 checking for bison... no
 checking for byacc... byacc
 checking for a sed that does not truncate output... /usr/bin/sed
@@ -70,7 +70,7 @@
 checking if gcc supports -fno-rtti -fno-exceptions... no
 checking for gcc option to produce PIC... -fPIC
 checking if gcc PIC flag -fPIC works... yes
-checking if gcc static flag -static works... yes
+checking if gcc static flag "-static" works... no
 checking if gcc supports -c -o file.o... yes
 checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes checking whether -lc should be explicitly linked in...
no @@ -127,7 +127,7 @@
 checking for pthread_rwlock_t... yes
 checking for library containing inet_pton... none required
 checking for library containing socket... none required
-test: x_no: unexpected operator
+argument expected
 checking for stdlib.h... (cached) yes
 checking for GNU libc compatible malloc... yes
 checking for unistd.h... (cached) yes


-- 
(株)イマオコーポレーション 情報システム部
今尾 泰之 (いまお やすし)
mailto:yasushi_imao@imao.jp