0

MAC OS X 10.9 に cmake をインストールしようとしていますが、以下のエラー ログが表示されます。

Error when bootstrapping CMake:
Cannot find appropriate C compiler on this system.
Please specify one using environment variable CC.
See cmake_bootstrap.log for compilers attempted.

しかし、OSにgccをインストールしました:

localhost:cmake-2.8.11.2 markyoung$ gcc --help
Usage: i686-apple-darwin11-llvm-gcc-4.2 [options] file...
Options:
  -pass-exit-codes         Exit with highest error code from a phase
  --help                   Display this information
  --target-help            Display target specific command line options
...

どうすれば問題を解決できますか?

4

1 に答える 1

0

それがあなたのためのオプションである場合は、自作を使用してください。その後:

brew install cmake

私のために働いた。警告: その前に、brew install gcc48 を介して gcc-4.8 を既にインストールしていました。

于 2013-10-24T22:34:22.203 に答える