Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.7.x

make fails, any suggestions?

3 replies [Last post]
  • Login or register to post comments
Thu, 08/04/2011 - 09:17
devalias
Offline
Joined: 08/04/2011
Groups: None

Hi, I am trying to compile Membase from source on centos. I don't have root but I was able to get all the dependencies installed before trying to make. I get this error on make:

make[2]: *** [ep_la-backfill.lo] Error 1
make[2]: Leaving directory `/membase-server_src/ep-engine'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/membase-server_src/ep-engine'
make: *** [make-install-ep-engine] Error 2

Any help or ideas will be appreciated.

Top
  • Login or register to post comments
Thu, 08/04/2011 - 11:16
perry
Offline
Joined: 10/11/2010
Groups:

There should be many more error messages "higher up" in the output of make...can you post the whole output?

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Thu, 08/04/2011 - 12:51
devalias
Offline
Joined: 08/04/2011
Groups: None

hi, the make runs through a bunch of successes, but fails at ep-engine, thanks for helping, here is more:

Libraries have been installed in:
/membase-server_src/install/lib/memcached

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/membase-server_src/install/share/bucket_engine" || /bin/mkdir -p "/membase-server_src/install/share/bucket_engine"
/usr/bin/install -c 'management/create_bucket.py' '/membase-server_src/install/share/bucket_engine/create_bucket.py'
/usr/bin/install -c 'management/delete_bucket.py' '/membase-server_src/install/share/bucket_engine/delete_bucket.py'
/usr/bin/install -c 'management/list_buckets.py' '/membase-server_src/install/share/bucket_engine/list_buckets.py'
/usr/bin/install -c 'management/mc_bin_client.py' '/membase-server_src/install/share/bucket_engine/mc_bin_client.py'
/usr/bin/install -c 'management/memcacheConstants.py' '/membase-server_src/install/share/bucket_engine/memcacheConstants.py'
/usr/bin/install -c 'management/collectd.py' '/membase-server_src/install/share/bucket_engine/collectd.py'
/usr/bin/install -c 'management/collectd_memcached_buckets.py' '/membase-server_src/install/share/bucket_engine/collectd_memcached_buckets.py'
/usr/bin/install -c 'management/types.db' '/membase-server_src/install/share/bucket_engine/types.db'
test -z "/membase-server_src/install/lib/python" || /bin/mkdir -p "/membase-server_src/install/lib/python"
/usr/bin/install -c -m 644 'management/mc_bin_client.py' '/membase-server_src/install/lib/python/mc_bin_client.py'
/usr/bin/install -c -m 644 'management/memcacheConstants.py' '/membase-server_src/install/lib/python/memcacheConstants.py'
/usr/bin/install -c -m 644 'management/types.db' '/membase-server_src/install/lib/python/types.db'
test -z "/membase-server_src/install/lib/python" || /bin/mkdir -p "/membase-server_src/install/lib/python"
/usr/bin/install -c 'management/collectd.py' '/membase-server_src/install/lib/python/collectd.py'
/usr/bin/install -c 'management/collectd_memcached_buckets.py' '/membase-server_src/install/lib/python/collectd_memcached_buckets.py'
/usr/bin/install -c 'management/create_bucket.py' '/membase-server_src/install/lib/python/create_bucket.py'
/usr/bin/install -c 'management/delete_bucket.py' '/membase-server_src/install/lib/python/delete_bucket.py'
/usr/bin/install -c 'management/list_buckets.py' '/membase-server_src/install/lib/python/list_buckets.py'
make[3]: Leaving directory `/membase-server_src/bucket_engine'
make[2]: Leaving directory `/membase-server_src/bucket_engine'
make[1]: Leaving directory `/membase-server_src/bucket_engine'
if [ "xfalse" = "xtrue" ]; then rm -f -f /membase-server_src/install/lib/*.la; fi
(rm -rf tmp/ep-engine; mkdir -p tmp/ep-engine)
make -C ep-engine install
make[1]: Entering directory `/membase-server_src/ep-engine'
make install-am
make[2]: Entering directory `/membase-server_src/ep-engine'
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -ggdb3 -I../memcached/include -I/membase-server_src/install/include -pthread -pipe -std=gnu++98 -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-oc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -ggdb3 -I../memcached/include -I/membase-server_src/install/include -pthread -pipe -std=gnu++98 -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wforo
cc1plus: warnings being treated as errors
histo.hh: In instantiation of 'Histogram':
histo.hh:373: instantiated from here
histo.hh:351: warning: lowering visibility of 'std::ostream& operator<<(std::ostream&, const Histogram&) [with Ttype = Ttype, T = long unsigned int]' to match its type [-Wattributes]
histo.hh: In instantiation of 'Histogram':
stored-value.hh:695: instantiated from here
histo.hh:351: warning: lowering visibility of 'std::ostream& operator<<(std::ostream&, const Histogram&) [with Ttype = Ttype, T = unsigned int]' to match its type [-Wattributes]
make[2]: *** [ep_la-backfill.lo] Error 1
make[2]: Leaving directory `/membase-server_src/ep-engine'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/membase-server_src/ep-engine'
make: *** [make-install-ep-engine] Error 2

Top
  • Login or register to post comments
Fri, 08/05/2011 - 11:22
perry
Offline
Joined: 10/11/2010
Groups:

I believe the problem is related to the -Werror flag. We've got a task to remove it from our own source, but could you try removing that on your system and retrying?

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker