Open RoccoMathijn opened 1 year ago
Could you post config.log
to gist?
It is created in the current directory when configure runs.
Could you run the configure with CXXFLAGS=-std=c++11
?
$ ./configure CXXFLAGS=-std=c++11
In config.log
:
configure:5688: checking snappy::Uncompress(snappy::Source*, snappy::Sink*)
configure:5701: g++ -o conftest -g -O2 -Wall -I/opt/homebrew/Cellar/snappy/1.1.10/include -L/opt/homebrew/Cellar/snappy/1.1.10/lib conftest.cpp -lsnappy >&5
In file included from conftest.cpp:38:
/opt/homebrew/Cellar/snappy/1.1.10/include/snappy.h:212:10: error: unknown type name 'constexpr'
static constexpr int kBlockLog = 16;
^
constexpr requires C++11 or later.
Yes now it works!
For my understanding: Is this a bug in the Homebrew formula? Should that flag be set there?
Hi!
I'm working on an Apple M2. I have
snappy 1.1.10
andsnzip 1.0.5
installed via Homebrew, When I try to run a command using raw format I get an error. For example:Readme says
The raw format support is enabled only when snzip is compiled for snappy 1.1.3 or upper.
so I tried to compile from source but also then it's not working.Any ideas?