Lendfating / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

LevelDB library build failed #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.svn checkout http://py-leveldb.googlecode.com/svn/trunk/ py-leveldb-read-only
2. cd py-leveldb-read-only
3. sudo ./compile_leveldb.sh 

What is the expected output? What do you see instead?
It should build LevelDB library. It is throwing following error

deepak@cloud:~/svn/py-leveldb-read-only$ sudo ./compile_leveldb.sh 
./autogen.sh: 3: aclocal: not found
./compile_leveldb.sh: 9: ./configure: not found
make: *** No rule to make target `clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
rm -f db_bench arena_test c_test cache_test coding_test corruption_test 
crc32c_test db_test dbformat_test env_test filename_test log_test memenv_test 
skiplist_test table_test version_edit_test version_set_test write_batch_test 
db_bench_sqlite3 db_bench_tree_db libleveldb.a libmemenv.a */*.o */*/*.o 
ios-x86/*/*.o ios-arm/*/*.o
rm -rf ios-x86/* ios-arm/*
rm build_config.mk
g++ -c -I. -I./include -fno-builtin-memcmp -DLEVELDB_PLATFORM_POSIX -pthread 
-DOS_LINUX -fPIC -O2 -DNDEBUG -DSNAPPY -I../snappy-read-only  db/builder.cc -o 
db/builder.o
In file included from ./port/port_posix.h:24:0,
                 from ./port/port.h:14,
                 from ./db/filename.h:14,
                 from db/builder.cc:7:
../snappy-read-only/snappy.h:45:33: fatal error: snappy-stubs-public.h: No such 
file or directory
compilation terminated.
make: *** [db/builder.o] Error 1

What version of the product are you using? On what operating system?
Ubuntu 11.10

Please provide any additional information below.

Original issue reported on code.google.com by dkjhan...@gmail.com on 1 Mar 2012 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
All of the error messages seem to be related to things not
in the leveldb distribution (either snappy or py-leveldb
issues).

Original comment by san...@google.com on 30 May 2012 at 5:12