[pgsql-jp: 27642] cygwinで、./configure。エラー

kazuo fujimoto fujimoto @ sakushin-u.ac.jp
2002年 10月 17日 (木) 13:08:04 JST


はじめまして。

これまで、LinuxでPostgreSQL使ってきたのですが、win2k+cygwinで使うべく、
ソースからbuildしております。いかし、./configureに対して、

> checking whether the C compiler (gcc -O2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot crea
> e executables.

のようなメッセージがでてしまいます(詳細以下)。他のversion(7.1.1)でも
同じでした。また、cygwinのgccをreinstallしてみましたが、症状はかわりませ
ん。

どこを確認すればよろしいか、アドバイスいただけせんでしょうか。

よろしくお願いいたします。

kazuo @ JUPITER419 /usr/local/src/postgresql-7.2.2
$ ./configure --enable-multibyte=EUC_JP --enable-syslog
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking which template to use... win
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... yes, default EUC_
P
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=-O2
checking whether the C compiler (gcc -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot crea
e executables.

ふじもと
--------------------------------------------------- 
kazuo fujimoto <fujimoto @ sakushin-u.ac.jp>
Sakushin Gakuin University, Faculty Human & Culture
http://www.sakushin-u.ac.jp/~fujimoto
PGP:D664 D542 D578 5B39  BB2E 50AA 6FEC 2FE7
----------------------------------------------------




pgsql-jp メーリングリストの案内