Hi guys,
I have a amd64 8.2-STABLE box and I'm trying to compile membase on it (we need it at work). The "progress" can be tracked here. I've downloaded the src code from here (1.7.0) and I used gmake, gmake CC=gcc45 and gmake CC=gcc47 (note the things that needed to be modified). Also tried on Centos and I'm getting errors too but on ubuntu (apparently it's the dev's development platform of choice) it compiles.
Basically, to get to the point I'm at, the following steps need to be followed (more or less):
**NOTE: we do not need SASL (and it's a pain in the neck anyway to compile with SASL enabled)
About the include problem, I'm not a C guy so maybe someone can help me out here too.
LE: damn, just realized that maybe this should go to "Porting new software".
I have a amd64 8.2-STABLE box and I'm trying to compile membase on it (we need it at work). The "progress" can be tracked here. I've downloaded the src code from here (1.7.0) and I used gmake, gmake CC=gcc45 and gmake CC=gcc47 (note the things that needed to be modified). Also tried on Centos and I'm getting errors too but on ubuntu (apparently it's the dev's development platform of choice) it compiles.
Basically, to get to the point I'm at, the following steps need to be followed (more or less):
**NOTE: we do not need SASL (and it's a pain in the neck anyway to compile with SASL enabled)
Code:
- cd memcached; ./configure --disable-sasl
- memcached/Makefile -> line 1622 (“make†-> “gmakeâ€)
- bucket_engine/Makefile, line146/148: removed “-Werror†because “cc1: warnings are treates as errors" and
“CONFIGURE_ARGS=--disable-warn-as-err" (in make.conf) makes no difference
- ep-engine/common.hh, comment out line 29 & 36, because “boost/shared_ptr.hpp: No such file or directoryâ€
- cd libmemcache && ./configure --without-memcached --disable-sasl
- cd memcachedtest && ./configure --without-memcached
- cd moxi && ./configure --without-memcached
- moxi/memcached.h (define absolute path for event.h) <- problem with include
- moxi/work.h (define absolute path for event.h) <- problem with include
- memcached/libevent/event.h (define absolute path for event-config.h) <- problem with include
- memcached/libevent/evutil.h (define absolute path for event-config.h) <- problem with include
- moxi/Makefile (remove -Werror from line 360 and 362)
About the include problem, I'm not a C guy so maybe someone can help me out here too.
LE: damn, just realized that maybe this should go to "Porting new software".