• 締切済み

PostgreSQLのインストール

./configureすると 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. というエラーが出ます。 この先make できません。 どう対処したらいいかわからず困っています。

みんなの回答

  • astronaut
  • ベストアンサー率58% (303/516)
回答No.4

readline, zlib 無しで問題ないなら、今回はうまくいったようですね。 ところで、追加のご質問については、 OS = Linux ディストリビューション = Fedora Core 1 など様々 とお考え下さい。 また、「開発環境の追加」の意味が伝わらなかったようですが、「アプリケーションの追加と削除」みたいなメニューがありませんか? 今後もソースからいろいろなソフトウェアをコンパイルするなら、ここから 開発環境を追加インストールしましょう。 良くわからなければ、Fedora Core 1 を「ワークステーション」を選択してインストールし直しましょう。

  • astronaut
  • ベストアンサー率58% (303/516)
回答No.3

使用しているディストリビューションぐらい、質問文に書きましょう。 readlineにせよzlibにせよ、おそらくヘッダファイルがインストールされていないだけだと思います。 インストール時に開発環境が含まれるようにしなかったのでは? 一つ一つ潰していくより、開発環境をまとめてインストールした方が早いと思いますよ。

ModenaSpeed
質問者

補足

申し訳ありません。 ディストリビューションってなんですか? OSはfedora core1 を使用しています。 >インストール時に開発環境が含まれるようにしなかったのでは? ftp://ftp.sra.co.jp/pub/cmd/postgres/7.3.2/から ダウンロードし、postgresql-7.3.2.tar.gzを /usr/srcの直下に置き、 tar xvfz postgresql-7.3.2.tar.gz 展開し、 展開したディレクトリに移動し、 ./configure ここでエラーが出ました。 とりあえず、withoutしてやり直したら make make install make install-all-headers まで出来たのですが 何か間違っていましたでしょうか? ma

  • xjd
  • ベストアンサー率63% (1021/1612)
回答No.2

Use --without-zlib to disable zlib support. 書いてあるとおりです。 zlibも無効にしてください。 (または、zlibライブラリをインストールするか、です。) ./configure --without-readline --without-zlib ./configure --help でヘルプを見てください。

  • xjd
  • ベストアンサー率63% (1021/1612)
回答No.1

>Use --without-readline to disable readline support. 書いてあるとおりです。 readlineを無効にしてください。 (または、readlineライブラリをインストールするか、です。) ./configure --without-readline ./configure --help でヘルプを見てください。

ModenaSpeed
質問者

お礼

いつもアドバイス頂いて申し訳ないです. やってみましたところ, 今度は違うエラーが出ました. configure: error: zlib library not found If you have zlib already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-zlib to disable zlib support.

関連するQ&A

  • postgresql-7.3.11のconfigre時のエラー

    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です。 宜しくお願いします

  • linuxにPostgreSQL8.3インストールについて

    CentOS5にpostgreSQL8.3をtarからインストールしようとしているのですが、"./configure --enable-multibyte=EUC_JP"とすると "configure: error: readline library not found"となるので、 readlineを # ./configure # make # make install # ldconfig としたのですが、再び同じエラーとなります。 ld.so.confにも"/usr/local/lib"と加えてあらためてldconfigとしてもダメでした… readlineインストール時に "install: you may need to run ldconfig"と出るのでreadlineはちゃんとインストールできていると思っているのですが、無理やり"./configure --enable-multibyte=EUC_JP --without-readline"として通してもやっぱり納得がいきません・・・ いったいまず何を見たらいいのでしょうか?

  • Linuxによるapacheのインストール

    ./configure --enable-so とすると、エラーがでました。 configure: error: C compiler cannot create executables See `config.log' for more details. config.logの中身のどこをみればわかるのでしょうか?

  • Postgres9インストールFlexが古い?

    お世話になります。 Centos5.8 64bitにPostgres9.0.8をソースからインストールしようとしていますが、./configure 実行時、以下のようなFlexの警告が表示されます。 どこに問題があるのかご存知の方教えていただけませんでしょうか? $ cd /usr/local/src/postgresql-9.0.8 $ ./configure checking for flex... configure: WARNING: *** The installed version of Flex, /usr/bin/flex, is too old to use with PostgreSQL. *** Flex version 2.5.31 or later is required, but this is /usr/bin/flex version 2.5.4. configure: WARNING: *** The installed version of Flex, /usr/bin/lex, is too old to use with PostgreSQL. *** Flex version 2.5.31 or later is required, but this is /usr/bin/lex version 2.5.4. no configure: WARNING: *** Without Flex you will not be able to build PostgreSQL from Git nor *** change any of the scanner definition files. You can obtain Flex 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 Flex *** output is pre-generated.) checking for perl... /usr/bin/perl configure: using perl 5.8.8 checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... -ldl checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing fdatasync... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for -lreadline... no checking for -ledit... no 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. インストールされているバージョンは古くないと思っているのですが、どうずればインストールを進めることができるでしょうか? $ rpm -qa | grep flex flex-2.5.4a-41.fc6 $ which flex /usr/bin/flex どうぞ宜しくお願い致します。

  • g++について

    FedoreCore3にjikestというソフトをインストールしようとしています。 このソフトをダウンロードしてきてconfigureしようとするとエラーがでてきてしまい先にすすめません。 ターミナルではこのように出力されます。 checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. そしてconfig.logをみてみると configure:2023: checking for C++ compiler version configure:2026: g++ --version </dev/null >&5 ./configure: line 2027: g++: command not found configure:2029: $? = 127 configure: failed program was: というように記述されています g++がどうやらインストールされていないのでこのようなことになっているようなのですが、 g++をどこからどのようにインストールすればいいのかわかりません。 どなたかアドバイスおねがいします。

  • apache mysqlのインストールエラー

    先日にも違う質問をしたのですが、また助けて下さい。 RedHat Linux9.0にapache(httpd-2.0.46)とmysql(mysql-4.0.13)をソースコードからインストールしようとしています。プログラムは何とか手に入れたのですが,configureがエラーになります。 エラー文はapacheの時は 【configure : error : no accepteble C compiler found in $PATH configure failed for srclib/apr】 となります。mysqlは 【configure : error : no accepteble C compiler found in $PATH】 となります。これはどうしたらインストールできるようになりますか?どうかご指導の程をよろしくお願いします。

  • rubyのインストールについて

    windowsでLinux(ubuntu)を動かしております。 で、rubyをインストールしたいんですが、インストール途中で以下のようなエラーがでました。 $ ./configure checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. どのようにすればうまく実行することができますか??

  • VirtualPCにてCentOs5を使用しています。

    VirtualPCにてCentOs5を使用しています。 mono2.6.4を導入しようと考えているのですが、configureの時点でエラーが発生します。 以下参考サイト http://ameblo.jp/ishina/entry-10505426107.html 以下エラー内容 [root@localhost mono-2.6.4]#./configure ・・・ checking for C compiler default output file name... configure: error: in '/root/mono-2.6.4: configure: error: C compiler cannot create executables See 'config.log' for more details. 原因がまったくわかりません。 どこが問題か教えていただけないでしょうか。

  • xineをインストールしたいのです

    http://www.atmarkit.co.jp/flinux/rensai/linuxtips/483playdivx.htmlを参考にしながらfecora core6にxineをインストールしようとしましたが、xine-uiを./configureしようとしたところ checking for XINE... configure: error: Package requirements (libxine >= 1.1.0) were not met: No package 'libxine' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XINE_CFLAGS and XINE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. と表示が出てmakeができません。 初心者で申し訳ないですが、どなたか対処法をご存じのかた教えてくださいませ。 よろしくお願いいたします。

  • VineLinux3.2でのMRTG(こちらで回答ねがいます)

    こんばんわ MRTGを導入しようと思ってダウンロード→tar.gz解凍→./configureを打ったら以下のエラーメッセージが出てきます。 [root@localhost mrtg-2.12.2]# ./configure checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. このときはどうすればよいのでしょうか。 尚参考ページとして、http://vine.1-max.net/net-snmp+MRTG.htmlを見てやりました。