[erlang-questions] Eleveldb / Snappy on macOS 10.13

Marc Worrell <>
Wed Dec 5 17:33:14 CET 2018


Hi,

I am trying to compile eleveldb on macOS 10.13 and running into compile errors.
Anybody got a fork or an idea which magic CXXFLAGS might do the trick?

Thanks!

Marc


gmake[1]: Entering directory '/Users/marc/tmp/eleveldb/eleveldb/c_src/snappy-1.0.4'
/bin/sh ./libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I.     -Wall -O3 -fPIC -mmacosx-version-min=10.8 -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c -o snappy.lo snappy.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -Wall -O3 -fPIC -mmacosx-version-min=10.8 -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c snappy.cc  -fno-common -DPIC -o snappy.o
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from snappy.cc:29:
./snappy.h:43:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
1 warning and 1 error generated.
Makefile:417: recipe for target 'snappy.lo' failed



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181205/7f62a4b6/attachment.html>


More information about the erlang-questions mailing list