GithubHelp home page GithubHelp logo

membase / bucket_engine Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 9.0 628 KB

A multi-tenancy meta-engine for memcached.

Home Page: http://www.membase.org

License: MIT License

C 96.18% C++ 2.01% Shell 1.26% Perl 0.56%

bucket_engine's People

Contributors

avsej avatar bcui6611 avatar capttofu avatar chiyoung avatar dustin avatar steveyen avatar trondn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bucket_engine's Issues

Create a INSTALL file explaning how to compile ONLY bucket_engine

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.