プロが教える店舗&オフィスのセキュリティ対策術

postgresql-7.3.11を以下の手順で作業実施後ですがエラーが帰ってきますので教えて欲しいのですが。

#tar xfz postgresql-7.3.11.tar.gz
#./configure --enable-multibyte=EUC_JP --enabl

エラーは以下の通りです。

configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVS or
*** change any of the parser definition files. You can obtain Bison from
*** a GNU mirror site. (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this because the Bison
*** output is pre-generated.) To use a different yacc program (possible,
*** but not recommended), set the environment variable YACC before running


configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.


VineLinux3.1です。

宜しくお願いします

A 回答 (2件)

> configure: error: readline library not found



NINJA104 さんが 指摘されているように readline がインストールされていないためです。readline は bash などにも付属している履歴参照機能を提供するライブラリです。「↑」「↓」キーによって履歴が参照できるのは readline によるものです。configure 時に --without-readline を指定することでコンパイルすることは可能になりますが、もし、psql を利用して操作をされるようでしたら、是非 readline をインストールされることをお勧めします。

ちなみに、上の WARNING は bison がインストールされていないために表示されているものと思われますが (今回のエラーとは直接関係はありません)、もし今後もいろんなソースコードをコンパイルようでしたら、必要になることもあるパッケージですので、インストールしておかれると良いかと思います。
    • good
    • 0

> configure: error: readline library not found


「readlineライヴラリが見付かりません。」

エラーメッセージの通りです。
readlineライヴラリを利用しない場合は、configure実行時のオプションに --without-readline を指定します。

参考URL:http://www.sraoss.co.jp/PostgreSQL/7.3/install.h …
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!

関連するカテゴリからQ&Aを探す