hatarist / homebrew-clickhouse

28 stars 7 forks source link

Installation error #2

Closed bashkarev closed 7 years ago

bashkarev commented 7 years ago

macOS Sierra 10.12.5

log install


brew reinstall clickhouse
==> Reinstalling hatarist/clickhouse/clickhouse 
==> Downloading https://github.com/yandex/ClickHouse/archive/v1.1.54198-stable.zip
Already downloaded: /Users/bashkarev/Library/Caches/Homebrew/clickhouse-1.1.54198.zip
==> cmake .. -DUSE_STATIC_LIBRARIES=0
Last 15 lines from /Users/bashkarev/Library/Logs/Homebrew/clickhouse/01.cmake:
..
-DUSE_STATIC_LIBRARIES=0

CMake Error at /usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeDetermineCCompiler.cmake:48 (message): Could not find compiler set in environment variable CC:

/usr/local/opt/gcc/bin/gcc-6. Call Stack (most recent call first): CMakeLists.txt:1 (project)

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/tmp/clickhouse-20170625-31381-1h0z8cg/ClickHouse-1.1.54198-stable/build/CMakeFiles/CMakeOutput.log".

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/hatarist/homebrew-clickhouse/issues


```bash
brew info gcc
gcc: stable 7.1.0 (bottled), HEAD
GNU compiler collection
https://gcc.gnu.org/
/usr/local/Cellar/gcc/7.1.0 (1,486 files, 283.8MB) *
  Poured from bottle on 2017-06-25 at 22:50:19
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gcc.rb
==> Dependencies
Required: gmp ✔, libmpc ✔, mpfr ✔, isl ✔
==> Options
--with-jit
    Build just-in-time compiler
--with-nls
    Build with native language support (localization)
--without-multilib
    Build without multilib support
--HEAD
    Install HEAD version