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

[plamo:32967] Re: c++ compiler works... no



From: 山本 伸一 <beniya@xxxxxxxxxxxxxx>
Subject: [plamo:32966] c++ compiler works... no
Date: Sat, 13 Jul 2019 18:47:52 +0900

> さて、7月11日にupdatepkg した後くらいから
> ./configure で
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for g++... g++
> checking whether the C++ compiler works... no
> configure: error: in `/home/hogehoge/smartmontools-7.0':
> configure: error: C++ compiler cannot create executables
> 
> って感じで C++が動かないよって言われるんですが、どれが原因でしょうか?

これだと g++ がエラーになってることしか分からないですね。
具体的にどういうエラーになっているかは、config.log に出力されている
はずなので、そちらを確認 & 紹介くださいませ。

config.log も慣れないと読みにくいんだけど、
とりあえず一番下から逆に見ていって、
最後のエラーを確認するのが簡単かと。

# configure の場合、「エラーになること」によってライブラリの有無を確認してたり
# するので、そういうエラーは無視して「致命的なエラー」を探す必要があり、
# それはたいてい一番最後のエラーになってるはず。

------
こじま



Follow-Ups
[plamo:32968] Re: c++ compiler works... no, Takahiro Yoshizawa
References
[plamo:32965] firefox 68.0, KATOH Yasufumi
[plamo:32966] c++ compiler works... no, 山本 伸一

[検索ページ] [メール一覧]
Plamo ML 公開システム