membase / bucket_engine Goto Github PK
View Code? Open in Web Editor NEWA multi-tenancy meta-engine for memcached.
Home Page: http://www.membase.org
License: MIT License
A multi-tenancy meta-engine for memcached.
Home Page: http://www.membase.org
License: MIT License
I am trying to compile the bucket engine independent and I am having some difficulties.
At the moment, I notice that it is needed compile a lot projects of membase as dependency of bucket_engine.
I need install libsnappy-dev package in Ubuntu 13.04 Raring and then I can compile couchstore store project because libcouchstore is a dependency of ep-engine (aka membase engine). For compile ep-engine I need memcached, but compile with engine-pu (proposed update) branch.
After that, It failed in configure because it needs the couchbase server too. But I can't find where is the repository with the source. Only I found the download page with all the sources bundled as dependencies (http://packages.couchbase.com/releases/2.0.0/couchbase-server_src-2.0.0.tar.g) but I only want the headers needed by ep_extension.h for compile.
So, I am stuck for compile bucket_engine, because ep-engine needs couchbase-server. I am reporting this issue here, because ep-engine github repo has disabled the issues.
This is the error in configure for ep-engine:
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src -pipe -I./include -DHAVE_VISIBILITY=1 -fvisibility=hidden -I./src -I./include -pipe -O3 -MT src/ep_la-access_scanner.lo -MD -MP -MF src/.deps/ep_la-access_scanner.Tpo -c -o src/ep_la-access_scanner.lo `test -f 'src/access_scanner.cc' || echo './'`src/access_scanner.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -pipe -I./include -DHAVE_VISIBILITY=1 -fvisibility=hidden -I./src -I./include -pipe -O3 -MT src/ep_la-access_scanner.lo -MD -MP -MF src/.deps/ep_la-access_scanner.Tpo -c src/access_scanner.cc -fPIC -DPIC -o src/.libs/ep_la-access_scanner.o
In file included from src/access_scanner.h:25:0,
from src/access_scanner.cc:22:
src/common.h:118:8: error: 'ALLOCATOR_HOOKS_API' does not name a type
In file included from src/stats.h:30:0,
from src/item.h:33,
from src/bgfetcher.h:30,
from src/ep.h:44,
from src/ep_engine.h:35,
from src/access_scanner.h:27,
from src/access_scanner.cc:22:
src/memory_tracker.h:61:5: error: 'allocator_stats' does not name a type
In file included from src/ep_engine.h:37:0,
from src/access_scanner.h:27,
from src/access_scanner.cc:22:
src/ep_extension.h:43:45: error: 'mc_extension_token_t' has not been declared
src/ep_extension.h:46:44: error: 'mc_extension_token_t' has not been declared
make[1]: *** [src/ep_la-access_scanner.lo] Error 1
make[1]: Leaving directory `/home/shakaran/Documentos/Projects/ep-engine'
make: *** [all] Error 2
This is how I am trying to compile all the dependencies:
# Compile memcached using engine-pu branch (proposed update)
git clone -b engine-pu --single-branch git://github.com/memcached/memcached.git memcached-engine-pu
cd memcached-engine-pu; sh config/autorun.sh;
.configure; make; make install
# sudo apt-get install libsnappy-dev
git clone -b master --single-branch https://github.com/couchbaselabs/couchstore
cd couchstore; sh config/autorun.sh;
./configure; make; make install
# Require libcouchstore
git clone -b master --single-branch git://github.com/membase/ep-engine.git
cd ep-engine; sh config/autorun.sh;
./configure
# Require memcached using engine-pu branch (proposed update) and ep-engine
git clone https://github.com/membase/bucket_engine.git
cd bucket_engine/
sh config/autorun.sh
./configure
Downloading the couchbase server (all bundled):
mkdir -p couchbase-server; cd couchbase-server;
wget http://packages.couchbase.com/releases/2.0.0/couchbase-server_src-2.0.0.tar.gz -O - | tar xvz
cd couchbase-server_src;
Then I have all there, but I only want the files needed for ep-engine and not all the plataform.
I am trying to compile this, because I want a memcached with ACL support (for shared hosting enviroment and offer memcached with security for shared hosting users). I read that bucket_engine has integrated as far I know ¿it is possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.