Skip to main content

Installing memcached on WHM server

Comments

3 comments

  • cPanelMichael
    Do I need to install that manually, similar to what I found in this post from 2012:
    Hello :) Yes, I suggest using the instructions from the thread that you referenced: Memcached Installation Thank you.
    0
  • 63bus
    Make && make install of this step fails
    cd ~ wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz tar -zxvf libmemcached-1.0.18.tar.gz cd libmemcached-1.0.18 ./configure make && make install pecl install memcached

    make -j17 all-am make[1]: Entering directory `/root/libmemcached-1.0.18' CXX libhashkit/libhashkit_libhashkit_la-aes.lo CXX libhashkit/libhashkit_libhashkit_la-algorithm.lo CXX libhashkit/libhashkit_libhashkit_la-behavior.lo CXX libhashkit/libhashkit_libhashkit_la-crc32.lo CXX libhashkit/libhashkit_libhashkit_la-digest.lo CXX libhashkit/libhashkit_libhashkit_la-encrypt.lo CXX libhashkit/libhashkit_libhashkit_la-fnv_32.lo CXX libhashkit/libhashkit_libhashkit_la-fnv_64.lo CXX libhashkit/libhashkit_libhashkit_la-function.lo CXX libhashkit/libhashkit_libhashkit_la-has.lo CXX libhashkit/libhashkit_libhashkit_la-hashkit.lo CXX libhashkit/libhashkit_libhashkit_la-jenkins.lo CXX libhashkit/libhashkit_libhashkit_la-ketama.lo CXX libhashkit/libhashkit_libhashkit_la-md5.lo libhashkit/md5.cc: In function 'void Encode(unsigned char*, UINT4*, unsigned int)': libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:377: warning: assuming that the loop counter does not overflow libhashkit/md5.cc: In function 'void MD5Update(MD5_CTX*, const unsigned char*, unsigned int)': libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow libhashkit/md5.cc:230: warning: assuming that the loop counter does not overflow CXX libhashkit/libhashkit_libhashkit_la-murmur.lo CXX libhashkit/libhashkit_libhashkit_la-murmur3.lo CXX libhashkit/libhashkit_libhashkit_la-murmur3_api.lo CXX libhashkit/libhashkit_libhashkit_la-one_at_a_time.lo CXX libhashkit/libhashkit_libhashkit_la-str_algorithm.lo CXX libhashkit/libhashkit_libhashkit_la-strerror.lo CXX libhashkit/libhashkit_libhashkit_la-string.lo CXX libhashkit/libhashkit_libhashkit_la-nohsieh.lo CXXLD libhashkit/libhashkit.la CXX libmemcached/csl/libmemcached_libmemcached_la-context.lo In file included from ./libmemcached/common.h:114, from ./libmemcached/csl/common.h:50, from libmemcached/csl/context.cc:38: ./libmemcached-1.0/memcached.h:46:23: error: cinttypes: No such file or directory make[1]: *** [libmemcached/csl/libmemcached_libmemcached_la-context.lo] Error 1 make[1]: Leaving directory `/root/libmemcached-1.0.18' make: *** [all] Error 2
    0
  • 63bus
    Maybe this is the issue? libmemcached requires version gcc-4.2 or better
    0

Please sign in to leave a comment.