SifonFeramon / py-leveldb

Automatically exported from code.google.com/p/py-leveldb
Other
0 stars 0 forks source link

Does not build due to missing snappy header #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation with the compile_leveldb.sh script fails due to an include error in 
snappy:

c++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fPIC -O2 -DNDEBUG 
-DSNAPPY -I../snappy-read-only -c db/builder.cc -o db/builder.o
In file included from db/builder.cc:7:
In file included from ./db/filename.h:14:
In file included from ./port/port.h:14:
In file included from ./port/port_posix.h:46:
../snappy-read-only/snappy.h:45:10: fatal error: 'snappy-stubs-public.h' file 
not found
#include "snappy-stubs-public.h"
         ^
1 error generated.
make: *** [db/builder.o] Error 1

Original issue reported on code.google.com by e...@arfvidsson.com on 6 Feb 2013 at 10:52

GoogleCodeExporter commented 9 years ago
Sorry, this was caused by libtoolize being called glibtoolize on OS X. Aliasing 
libtoolize to glibtoolize fixes this error.

Original comment by e...@arfvidsson.com on 6 Feb 2013 at 11:44

GoogleCodeExporter commented 9 years ago
Good to hear.

Original comment by arnim...@gmail.com on 6 Feb 2013 at 11:57