Comments (6)
Same problem here
from hyperleveldb.
I'd love to fix this, but without a Mac, I'm left randomly changing code in hopes of making it portable. I'll gladly accept patches or hardware, and keep the bug open until I get one or the other.
from hyperleveldb.
Try CXXFLAGS=-DOS_MACOSX ./configure
from hyperleveldb.
@yinqiwen That worked, thanks!
make --no-print-directory all-am
CXX db/builder.lo
CXX db/c.lo
CXX db/dbformat.lo
CXX db/db_impl.lo
db/db_impl.cc: In member function 'leveldb::Status leveldb::DBImpl::OptimisticCompaction()':
db/db_impl.cc:910: warning: format '%ld' expects type 'long int', but argument 3 has type 'uint64_t'
CXX db/db_iter.lo
CXX db/filename.lo
CXX db/log_reader.lo
CXX db/log_writer.lo
CXX db/memtable.lo
CXX db/repair.lo
CXX db/table_cache.lo
CXX db/version_edit.lo
CXX db/version_set.lo
CXX db/write_batch.lo
CXX table/block_builder.lo
CXX table/block.lo
CXX table/filter_block.lo
CXX table/format.lo
CXX table/iterator.lo
CXX table/merger.lo
CXX table/table_builder.lo
CXX table/table.lo
CXX table/two_level_iterator.lo
CXX util/arena.lo
CXX util/bloom.lo
CXX util/cache.lo
CXX util/coding.lo
CXX util/comparator.lo
CXX util/crc32c.lo
CXX util/env.lo
CXX util/env_posix.lo
CXX util/filter_policy.lo
CXX util/hash.lo
CXX util/histogram.lo
CXX util/logging.lo
CXX util/options.lo
CXX util/status.lo
CXX port/port_posix.lo
CXXLD libhyperleveldb.la
CXX db/db_bench.o
CXX util/testutil.o
CXXLD db_bench
CXX db/leveldb_main.o
CXXLD leveldbutil
from hyperleveldb.
CXXFLAGS=-DOS_MACOSX ./configure
also works for me. THANKS :)
At first, i tried to add soft link from /usr/include/machine
to /usr/local/include/machine
, however, still not work.
PS: it seems mac doesn't have ldconfig
command
from hyperleveldb.
I've updated the configure
script and some code to "just work". You should be able to just do ./configure
from hyperleveldb.
Related Issues (20)
- LiveBackup: Allow user pass absolute path of backup location HOT 1
- Virtual memory leak HOT 5
- fatal error: 'tr1/memory' file not found (OS X 10.9) HOT 1
- Merge back upstream to LevelDB? HOT 3
- Minor issues with db_impl.cc HOT 1
- Minor issues with version_set.cc HOT 2
- ReplayIteratorImpl: data member start_at_ is unused HOT 1
- Compile with a custom snappy library HOT 1
- Change the structure of includes? HOT 16
- util/arena.cc:111:64: error: use of undeclared identifier 'MAP_ANONYMOUS' HOT 1
- copyright notice confusion HOT 1
- Error When building with snappy-1.1.0-1ubuntu1 HOT 5
- build failure, can't find a function in snappy? HOT 1
- Tag for 1.2.2? HOT 1
- Windows Support HOT 3
- Moving into C++11 concurrency objects HOT 1
- Installing on macOS HOT 1
- unx86ing atomic functions HOT 4
- Tag a New Release HOT 1
- how to compile db_bench without assertions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperleveldb.