Giter VIP home page Giter VIP logo

homebrew-clickhouse's People

Contributors

bashkarev avatar hatarist avatar kzaitsev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebrew-clickhouse's Issues

Installation semi-fails

==> cmake .. -DUSE_STATIC_LIBRARIES=0
==> make
Error: Failed to install plist file
Error: Calling <<-EOS.undent is disabled!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/hatarist/homebrew-clickhouse/clickhouse.rb:104:in `caveats'
Please report this to the hatarist/clickhouse tap!
Or, even better, submit a PR to fix it!

After that -- brew services restart hatarist/clickhouse/clickhouse leads to

Stopping `clickhouse`... (might take a while)
==> Successfully stopped `clickhouse` (label: homebrew.mxcl.clickhouse)
Error: Calling <<-EOS.undent is disabled!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/hatarist/homebrew-clickhouse/clickhouse.rb:93:in `plist'
Please report this to the hatarist/clickhouse tap!
Or, even better, submit a PR to fix it! ```

Stable and/or devel server do not starting

dyld: Library not loaded: /tmp/clickhouse-20170414-81968-8hmmg3/ClickHouse-1.1.54214-testing/build/dbms/libclickhouse.1.dylib
  Referenced from: /usr/local/Cellar/clickhouse/1.1.54214/bin/clickhouse-server
  Reason: image not found
Abort trap: 6```

mariadb instead of mysql

Seems like it only works with mysql and not mariadb:

screen shot 2017-12-09 at 15 13 04

Since both are quite similar it should not be a big deal to also support MariaDB. But I am not a homebrew expert. Does someone know how to express an "or-requirement" like mysql or mariadb in a homebrew formula?

Installation error

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
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

ClickHouse-1.1.54292-stable/contrib/libpoco/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:33:20: fatal error: sqlext.h: No such file or directory

==> Downloading https://github.com/yandex/ClickHouse/archive/v1.1.54292-stable.zip
Already downloaded: /Users/lanwen/Library/Caches/Homebrew/clickhouse-1.1.54292.zip
==> cmake .. -DUSE_STATIC_LIBRARIES=0
==> make
Last 15 lines from /Users/lanwen/Library/Logs/Homebrew/clickhouse/02.make:
[ 61%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Dictionaries/ComplexKeyHashedDictionary.cpp.o
[ 61%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Dictionaries/DictionaryBlockInputStreamBase.cpp.o
[ 61%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Dictionaries/DictionarySourceFactory.cpp.o
[ 61%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Dictionaries/DictionarySourceHelpers.cpp.o
In file included from /tmp/clickhouse-20171117-34180-otyvd4/ClickHouse-1.1.54292-stable/contrib/libpoco/Data/ODBC/include/Poco/Data/ODBC/ODBC.h:58:0,
                 from /tmp/clickhouse-20171117-34180-otyvd4/ClickHouse-1.1.54292-stable/contrib/libpoco/Data/ODBC/include/Poco/Data/ODBC/Connector.h:23,
                 from /tmp/clickhouse-20171117-34180-otyvd4/ClickHouse-1.1.54292-stable/dbms/src/Dictionaries/DictionarySourceFactory.cpp:23:
/tmp/clickhouse-20171117-34180-otyvd4/ClickHouse-1.1.54292-stable/contrib/libpoco/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:33:20: fatal error: sqlext.h: No such file or directory
 #include <sqlext.h>
                    ^
compilation terminated.
make[2]: *** [dbms/CMakeFiles/dbms.dir/src/Dictionaries/DictionarySourceFactory.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [dbms/CMakeFiles/dbms.dir/all] Error 2
make: *** [all] Error 2
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python.rb
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make

How it can be solved?

error: 'syslog' was not declared in this scope

Installation fails because syslog was not declared in this scope.

❯ brew install clickhouse
==> Installing clickhouse from hatarist/clickhouse
==> Downloading https://github.com/yandex/ClickHouse/archive/v1.1.54292-stable.zip
Already downloaded: /Users/chris/Library/Caches/Homebrew/clickhouse-1.1.54292.zip
==> cmake .. -DUSE_STATIC_LIBRARIES=0
==> make
Last 15 lines from /Users/chris/Library/Logs/Homebrew/clickhouse/02.make:
/usr/include/sys/syslog.h:227:124: error: expected initializer before '__asm'
 void syslog(int, const char *, ...) __printflike(2, 3) __not_tail_called __DARWIN_ALIAS_STARTING(__MAC_10_13, __IPHONE_NA, __DARWIN_EXTSN(syslog));
                                                                                                                            ^
/tmp/clickhouse-20171209-7876-pfmf74/ClickHouse-1.1.54292-stable/contrib/libpoco/Foundation/src/SyslogChannel.cpp: In member function 'virtual void Poco::SyslogChannel::log(const Poco::Message&)':
/tmp/clickhouse-20171209-7876-pfmf74/ClickHouse-1.1.54292-stable/contrib/libpoco/Foundation/src/SyslogChannel.cpp:74:50: error: 'syslog' was not declared in this scope
  syslog(getPrio(msg), "%s", msg.getText().c_str());
                                                  ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-for-loop-analysis'
cc1plus: warning: unrecognized command line option '-Wno-unused-local-typedef'
cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'
make[2]: *** [contrib/libpoco/Foundation/CMakeFiles/PocoFoundation.dir/src/SyslogChannel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [contrib/libpoco/Foundation/CMakeFiles/PocoFoundation.dir/all] Error 2
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.