Namazu-win32-users-ja(旧)


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

Namazu のコンパイル



林と申します。
HACKING.txtを参考にしてコンパイル環境を構築しているのですが、
Namazuのコンパイルに失敗してしまいました。
何方か原因・対策をご存知でしたら御教授願います。

【問題点】
  「Namazuのコンパイル」でエラーとなり止まってしまいます。

$CFLAGS=-O2 LIBS=-lintl ./configure --host=i386-mingw32 --prefix=/namazu
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc -O2 ) works... no
configure: error: installation or configuration problem: 
C compiler cannot create executables.

  以下のようにも実行してみましたがmake時にエラーが出ているようです。
$./configure
$make

make  all-recursive
make[1]: 入ります ディレクトリ `/usr/local/namazu-2.0.7'
Making all in conf
make[2]: 入ります ディレクトリ `/usr/local/namazu-2.0.7/conf'
perl -pe 's/^/\x23 / unless /^(\x23|package|$)/' ../pl/conf.pl 
> mknmzrc-sample
make[2]: 出ます ディレクトリ `/usr/local/namazu-2.0.7/conf'
Making all in doc
make[2]: 入ります ディレクトリ `/usr/local/namazu-2.0.7/doc'
Making all in en
make[3]: 入ります ディレクトリ `/usr/local/namazu-2.0.7/doc/en'
make[3]: `all' に対して行うべき事はありません。
                     (途中略)
/bin/sh ../libtool --mode=compile gcc
-DLOCALEDIR=\"/usr/local/share/locale\"   
-DOPT_CONFDIR=\"/usr/local/etc/namazu\"        
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"        
-DHAVE_SUPPORT_H -DNO_ALLOCA        
-DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src 	
-I../intl -I./../nmz    -g -O2 -Wall -pedantic -c alias.c
rm -f .libs/alias.lo
gcc -DLOCALEDIR=\"/usr/local/share/locale\"
-DOPT_CONFDIR=\"/usr/local/etc/namazu\" 
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" 
-DHAVE_SUPPORT_H -DNO_ALLOCA -DHAVE_CONFIG_H -I. 
-I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall -pedantic -c
alias.c  
-DDLL_EXPORT -DPIC -o .libs/alias.lo
In file included from alias.c:50:
i18n.h:8: libintl.h: No such file or directory
make[2]: *** [alias.lo] エラー 1
make[2]: 出ます ディレクトリ `/usr/local/namazu-2.0.7/nmz'
make[1]: *** [all-recursive] エラー 1
make[1]: 出ます ディレクトリ `/usr/local/namazu-2.0.7'
make: *** [all-recursive-am] エラー 2

【環境】
Windows NT 4.0 SP6
Active Perl v5.6.1
Cygwin version 2.78.2.9
Namazu  2.0.7
gcc 2.95.3-4

以上宜しくお願い致します。