Libmemcached compilation Error

Source: Internet
Author: User

Libmemcached compilation Error

1 Problem description

In order to stress test the memcached, the Memslab in Libmemcached was selected. The following error occurred during compilation:

  CXX      libmemcached/csl/libmemcached_libmemcached_la-context.loin 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 directorymake[1]: * * * [libmemcached/csl/libmemcached_libmemcached_ La-context.lo] Error 1make[1]: Leaving directory '/tmp/libmemcached-1.0.18 ' make: * * * [ALL] Error 2

2 resolution

Install the following packages:

Gcc44

Gcc44-c++

Libstdc++44-devel

To configure the compilation environment variable:

Export cc=/usr/bin/gcc44export CXX=/usr/bin/g++

Compile parameters Add--with-memcached:

./configure--prefix=/usr/local/libmemcached--with---enable-memaslap make make Install

More powerful Memaslap can be selected at compile time

Libmemcached compilation Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.