Closed cwenzelg closed 4 years ago
Try building with -std=c++11
in CXXFLAGS.
$ export CXXFLAGS=-std=c++11
$ phpize
$ ./configure
$ make
That worked, on Ubuntu, with docker, we install the build-essential package and run:
RUN git clone --recursive --depth=1 https://github.com/kjdev/php-ext-snappy.git RUN cd php-ext-snappy \ && export CXXFLAGS=-std=c++11 \ && phpize \ && ./configure \ && make \ && make install
I added a pull request to get that part into the readme as well.
Thanks for the fast help.
Hi,
we are running snappy with build-essential installed on ubuntu:16.04 for some while now. This setup is not working anymore with the new merges from yesterday (29.05.).
We get the following error:
What do we need to change? do we need more than the build-essential package? Can we provide more information on that issue?
Kind regards, Christian