Failure to compile if memcached is not detected.

Bug #1167844 reported by guozhen zhang
This bug report is a duplicate of:  Bug #1164440: broken --with_memcached option. Edit Remove
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libmemcached
New
Undecided
Unassigned

Bug Description

The error message is liked this:

libtest/framework.cc: In member function 'void libtest::Framework::collections(collection_st*)':
libtest/framework.cc:73: warning: assuming that the loop counter does not overflow
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/stl_algo.h: In destructor 'libtest::Framework::~Framework()':
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/stl_algo.h:4199: warning: assuming that the loop counter does not overflow
  CXX libtest/libtest_libtest_la-killpid.lo
  CXX libtest/libtest_libtest_la-libtool.lo
  CXX libtest/libtest_libtest_la-main.lo
  CXX libtest/libtest_libtest_la-port.lo
  CXX libtest/libtest_libtest_la-result.lo
  CXX libtest/libtest_libtest_la-runner.lo
  CXX libtest/libtest_libtest_la-server.lo
  CXX libtest/libtest_libtest_la-server_container.lo
libtest/server_container.cc: In member function 'libtest::Server* libtest::server_startup_st::create(const std::string&, in_port_t, bool)':
libtest/server_container.cc:241: error: 'HAVE_MEMCACHED_BINARY' was not declared in this scope
make[1]: *** [libtest/libtest_libtest_la-server_container.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/stl_construct.h: In destructor 'libtest::Server::~Server()':
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.7/../../../../include/c++/4.4.7/bits/stl_construct.h:92: warning: assuming that the loop counter does not overflow
make[1]: Leaving directory `/opt/apps_install/libmemcached-1.0.17'
make: *** [all] Error 2
[root@bx_2_25 libmemcached-1.0.17]

-----------------------------------------------
but I haved successfully compiled with 1.0.14

Revision history for this message
guozhen zhang (zgz1000) wrote :
Brian Aker (brianaker)
summary: - libmemcached 1.0.17doesn't compile
+ Failure to compile if memcached is not detected.
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.