hatarist / homebrew-clickhouse

28 stars 7 forks source link

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

Open lanwen opened 6 years ago

lanwen commented 6 years ago
==> 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?

h6ak commented 6 years ago

The same issue appeared in the official ClickHouse repository in October, but nobody haven't solved it yet.

h6ak commented 6 years ago

I also faced with this problem. Instead, I tried to build ClickHouse from the latest stable source code on my MacOS (Sierra, v10.12.6). The build was successsful.

I guess homebrew-clickhouse needs to support the latest stable ClickHouse.

pavelnemirovsky commented 5 years ago

For me it doesn't work as well, using OS Mojave 10.14.3, please advise

SButterfly commented 5 years ago

I have the same problem as well

OlegStotsky commented 5 years ago

Same issue on Mojave 10.14.3