
勉強中の身です。
環境 fedora 2
postgresqlをインストールして
(postgresql-8.2.1)
make コンパイルがうまくいきません
[postgres@localhost postgresql-8.2.1]$ ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... no
checking for cc... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[postgres@localhost postgresql-8.2.1]$ make
You need to run the 'configure' program first. See the file
'INSTALL' for installation instructions.
make: *** [all] エラー 1
$ make とすると上記のようにエラーがでます。
./configure -オプション
が必要なのでしょうか?
よろしくおねがいします。
No.8ベストアンサー
- 回答日時:
> failure. It is possible the compiler isn't looking in the
> proper directory.
> Use --without-readline to disable readline support.
configue で failure が出ているのに make をしても意味がありません。
すけさん、かくさんのまねをして「この failure が目に入らぬか!」といいたくなります。
次は readline を入れましょう。
yum が使えるのなら、
yum install readline-devel.i386
でいいはずです。
No.7
- 回答日時:
>gccをインストールしていますが・・もう少しだと思うのですが。
だから、次を教えて欲しいということですか。
#4 で
yum で いろいろ install 出来ることが解ったのですから
思考停止ではなく、
yum で readline 及び library のinstall
の仕方くらいの質問をして下さい。
error は、エラーです!!
質問も良いのですが
前の質問 「 wgetその後」 を閉じるなり
ちゃんと始末をつけるのが礼儀でしょう。
前の前の諮問 「 wget 」 は無くなっていて
どうなったかは、解りませんが。
No.5
- 回答日時:
> ないようです。
困ったもんですwご自分の問題ですから、「困ったもんです」じゃないでしょう。それともご自分のPCではないのでしょうか? いずれにしろ、インストールしなくては話は進まないと思います。
この回答への補足
すみません、インストールできました。
教科書どおり進んでいるにもかかわらず、色々継ぎ足しがあるので
困惑しています。色々助言おねがいします。
No.4
- 回答日時:
#3の方の方法で入っていないというのであれば
最低限
# yum -y install gcc gcc-c++
くらいはやっておかないとmakeは不可能ですね。
この回答への補足
ANo.3,ANo.5の方失礼しました、インストできました。
# yum -y install gcc gcc-c++
-結果省略-
[root@localhost postgresql-8.2.1]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time
support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking if gcc supports -Wdeclaration-after-statement...
yes
checking if gcc supports -Wendif-labels... yes
checking if gcc supports -fno-strict-aliasing... yes
configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -Wdeclaration-after-statement
-Wendif-labels -fno-strict-aliasing
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking allow thread-safe client libraries... no
checking whether to build with Tcl... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with OpenSSL support... no
checking for egrep... grep -E
configure: using CPPFLAGS=-D_GNU_SOURCE
configure: using LDFLAGS=
checking for gawk... gawk
checking for flex... no
configure: WARNING:
*** Without Flex you will not be able to build PostgreSQL
from CVS or
*** 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 whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for tar... /bin/tar
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for bison... no
configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL
from CVS nor
*** 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'.
checking for perl... /usr/bin/perl
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 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.
しかしやはり#makeしてもQNo.2737655同様なエラーでます・・
gccをインストールしていますが・・もう少しだと思うのですが。
No.1
- 回答日時:
エラーメッセージは読みましたか?
> You need to run the 'configure' program first. See the file
> 'INSTALL' for installation instructions.
↑は
「まず最初にconfigure実行してください」
「インストールの手順は'INSTALL'というファイルに説明してあります」
という懇切丁寧な指摘です。
「あれ?cofigureはしたはず……」と思ったなら
configureの出力見てみましょう。
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
エラー:$PATHでパスが通っているディレクトリから実行可能なCコンパイラが見つかりませんでした。
詳しい情報を得るにはファイル 'config.log' を参照してください。
このように、非常に単純な英語で教えてくれています。
次からは自分で英文のエラーや報告をきちんと読むようにしましょう。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
似たような質問が見つかりました
- MySQL 参考書に従って入力したつもりでしたが、最後はエラーがでました。 1 2022/09/28 03:45
- その他(プログラミング・Web制作) python fbprophetについて 1 2022/09/29 19:44
- 英語 英語の質問です。 When I taught in high school, I wanted to 4 2023/08/19 16:10
- その他(SNS・コミュニケーションサービス) 自分のpcがハッキングされたようなメールが来たのですがどうすればいいですか? 4 2022/10/02 16:14
- 戦争・テロ・デモ ウクライナ人から 3 2023/03/05 07:25
- Gmail 【お助け!】サーバーからのメール送信でGmailに送信されない問題について 1 2023/06/20 22:03
- 英語 下記の英文を日本語に訳してください。 1 2023/03/10 13:04
- 英語 できるだけ直訳で英語の翻訳をお願いします。(英語→日本語) 1 2022/10/15 20:59
- その他(SNS・コミュニケーションサービス) 爆サイやっていたら、下のような文字が出ました! これは何なのでしょうか? nginx error! 1 2023/06/09 12:27
- 英語 下記の英文の日本語訳をお願いします。 1 2023/03/02 10:01
このQ&Aを見た人はこんなQ&Aも見ています
-
「それ、メッセージ花火でわざわざ伝えること?」
「それ、メッセージ花火でわざわざ伝えること?」というメッセージを教えて下さい
-
字面がカッコいい英単語
あなたが思う「字面がカッコいい英単語」を教えてください。
-
"I love you" をかっこよく翻訳してみてください
あなたが考えるいちばんかっこいい "I love you"の訳を教えてください。
-
ゆるやかでぃべーと タイムマシンを破壊すべきか。
[状況]これはディベートの論題だと仮定したうえでの回答お願いします。
-
準・究極の選択
「年収1000万円で一生カレーライス」か「年収180万円で毎日何でも食べ放題」
-
PostgreSQLのインストール
UNIX・Linux
-
make時に出てきたエラーメッセージの意味が分からなく困っています。
その他(コンピューター・テクノロジー)
-
readline-develについて
UNIX・Linux
-
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・昔のあなたへのアドバイス
- ・字面がカッコいい英単語
- ・許せない心理テスト
- ・歩いた自慢大会
- ・「I love you」 をかっこよく翻訳してみてください
- ・ゆるやかでぃべーと タイムマシンを破壊すべきか。
- ・はじめての旅行はどこに行きましたか?
- ・準・究極の選択
- ・この人頭いいなと思ったエピソード
- ・「それ、メッセージ花火でわざわざ伝えること?」
- ・ゆるやかでぃべーと すべての高校生はアルバイトをするべきだ。
- ・【お題】甲子園での思い出の残し方
- ・【お題】動物のキャッチフレーズ
- ・人生で一番思い出に残ってる靴
- ・これ何て呼びますか Part2
- ・スタッフと宿泊客が全員斜め上を行くホテルのレビュー
- ・あなたが好きな本屋さんを教えてください
- ・かっこよく答えてください!!
- ・一回も披露したことのない豆知識
- ・ショボ短歌会
- ・いちばん失敗した人決定戦
- ・性格悪い人が優勝
- ・最速怪談選手権
- ・限定しりとり
- ・性格いい人が優勝
- ・これ何て呼びますか
- ・チョコミントアイス
- ・単二電池
- ・初めて自分の家と他人の家が違う、と意識した時
- ・「これはヤバかったな」という遅刻エピソード
- ・ゴリラ向け動画サイト「ウホウホ動画」にありがちなこと
- ・泣きながら食べたご飯の思い出
- ・一番好きなみそ汁の具材は?
- ・人生で一番お金がなかったとき
- ・カラオケの鉄板ソング
- ・自分用のお土産
このQ&Aを見た人がよく見るQ&A
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
64bitのRedHatでlibSSH2がmak...
-
Debianでのmakeコマンドインス...
-
solarisのmakeについて
-
Apache起動時にエラー
-
Cygwinでnamazuのmake
-
ソースからmakeした場合の削除方法
-
ダウンロードファイルなどは、...
-
make でエラー
-
*** ターゲット `all' を make ...
-
ApacheにおけるSSLモジュールの...
-
./configureの次にmakeが出来ま...
-
RedHat9のgtk-configってどこ?
-
CentOS 5.4をインストールした...
-
ターミナルのコマンド"man"
-
gccのインクルードパスの確認
-
openSSLで秘密鍵ファイルエラー
-
solarisにphpが入りません な...
-
Linuxのgccのインクルードパス?
-
PHP5ビルド時のundefined refer...
-
パソコンでゲームをプレイしよ...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
gccのインクルードパスの確認
-
makeコマンドができない
-
Debianでのmakeコマンドインス...
-
./configureの次にmakeが出来ま...
-
Linuxのgccのインクルードパス?
-
OpensslのVer.ダウン
-
PHP5ビルド時のundefined refer...
-
Solaris10でCコンパイラが見...
-
macos での /usr/local/lib と...
-
make でエラー
-
perlのダウングレード方法
-
rsyncのインストール(エラー発...
-
apachectlが使えない
-
Apacheのバージョンアップでエラー
-
configure error
-
Apacheで「 magicの」 PATH
-
solarisのmakeについて
-
glibcバージョンアップ
-
Linuxでhttpプロトコルで時刻合...
-
*** ターゲット `all' を make ...
おすすめ情報