Open sanjaybharadwaj opened 7 years ago
(apologies for the delayed reply. Basho is effectively dead. All developers were laid off March 15, 2017. I have not been watching this repository closely since then.)
ldb_config.h is created at build time by the build_detect_platform script. Here is a sample from a Mac OS X build:
/** This file is generated by build_detect_platform.
#define OS_MACOSX
#define LEVELDB_PLATFORM_POSIX
I suspect you will be able to quickly mock one up for your environment.
I am trying to build the package using Mingw64 on windows. Since the system is similar to Linux, I modified the build_system_detect to return Linux configurations also for Mingw64 compiler.
When I build the system, I get the following error
In file included from ./util/refobject_base.h:33:0, from ./include/leveldb/expiry.h:30, from ./include/leveldb/options.h:59, from ./include/leveldb/iterator.h:20, from ./include/leveldb/db.h:10, from ./db/dbformat.h:10, from ./db/builder.h:9, from db/builder.cc:8: ./port/port.h:9:32: fatal error: leveldb/ldb_config.h: No such file or directory
include "leveldb/ldb_config.h"
I do not find the file ldb_config.h present anywhere in the system, I used the Master and the latest 2.1.3 version. What can be the problem?