"松永 一郎"
vikke****@blues*****
2007年 2月 26日 (月) 18:24:06 JST
cygwinにmutt 1.5.13 + patch-1.5.13.mutt-j.ja.1 をinstallしようとして失敗しています。 もしなにか助言があればお願いします。 cygwinのversion $ uname -a CYGWIN_NT-5.1 xxxxx 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin http://www.emaillab.org/mutt/ より、 patch-1.5.13.mutt-j.ja.1 slang-1.4.8-utf8.diff を取得する。 slang 1.4.8に上記patchを当て、静的ライブラリとしてinstallする。 mutt 1.5.13に上記patchを当て、次の引数でconfigureする。 ./configure --with-libiconv-prefix=/usr --without-wc-funcs --with-slang=/usr/local --with-slanglib=slang-utf8 --enable-default-japanese ※ slangをinstallしたら、/usr/local/libにlibslang-utf8.aという名前でinstallされたので、with-slanglibを付けてます。 すると、次のようなエラーが発生して止まります。 config.logより抜粋 ------------------------------------------- configure:7880: gcc -o conftest.exe -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c -lslang -lm >&5 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lslang collect2: ld returned 1 exit status configure:7886: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "mutt" | #define VERSION "1.5.13" | #define _GNU_SOURCE 1 | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_FSEEKO 1 | #define SIZEOF_OFF_T 8 | #define HAVE_INTTYPES_H 1 | #define HAVE_C99_INTTYPES 1 | #define SENDMAIL "/usr/sbin/sendmail" | #define CRYPT_BACKEND_CLASSIC_PGP 1 | #define CRYPT_BACKEND_CLASSIC_SMIME 1 | #define USE_SLANG_CURSES 1 | #define HAVE_COLOR 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char SLtt_get_terminfo (); | int | main () | { | SLtt_get_terminfo (); | ; | return 0; | } configure:7912: result: no configure:7917: error: unable to compile. check config.log ------------------------------------------- 気になる点としては、 ・--with-slanglib=slang-utf8を与えているのに、slangとlinkしようとしている。 ・SLtt_get_terminfo()を探して、存在しないという形でcompile errorが出ているが、/usr/local/include/slang.hにはextern int SLtt_get_terminfo (void)が存在している。 以上、なにかアドヴァイスお願いします。 ------ (株)Blueship MATSUNAGA Ichiro mailto:vikke****@blues***** phone:03-3668-5040