-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
Steps to build:
$ brew install cmake
$ brew install snappy # note, I didn't use "sudo", does that make a difference?
$ git clone <repo>
$ cd forestdb && mkdir build && cd build && cmake ../
Cmake output: https://gist.github.com/tleyden/555a6ea565f768c739f3
When I ran make all, I got an error:
[ 27%] Building CXX object CMakeFiles/docio_test.dir/src/docio.cc.o
/Users/tleyden/DevLibraries/forestdb/src/docio.cc:26:10: fatal error: 'snappy-c.h' file not found
#include "snappy-c.h"
^
1 error generated.
make[2]: *** [CMakeFiles/docio_test.dir/src/docio.cc.o] Error 1
make[1]: *** [CMakeFiles/docio_test.dir/all] Error 2
make: *** [all] Error 2
Full make all output: https://gist.github.com/tleyden/86c926a85adfd9d175da
I do have snappy-c.h in my /usr/local/Cellar dir:
$ find /usr/local/Cellar -iname "*snappy*"
/usr/local/Cellar/snappy
/usr/local/Cellar/snappy/1.1.1/include/snappy-c.h
....
but it doesn't seem to be found during the compilation. Is my brew misconfigured or do I need to do another step?
Metadata
Metadata
Assignees
Labels
No labels