Installation of libmemcached 1.0.16 on ubuntu12.04 Problem

Asked by ShreyasD on 2013-02-21

Hi,
I am Installing libmemcached 1.0.16 on ubuntu12.04.
I am getting following error :

libmemcached/backtrace.cc: In function 'void custom_backtrace()':
libmemcached/backtrace.cc:93:31: error: 'abi' has not been declared
make[1]: *** [libmemcached/libmemcached_libmemcached_la-backtrace.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

How to solve this error...??

Thanks,
ShreyasD.

Question information

Language:
English Edit question
Status:
Solved
For:
libmemcached Edit question
Assignee:
No assignee Edit question
Solved by:
ShreyasD
Solved:
2013-03-06
Last query:
2013-03-06
Last reply:
2013-02-25

I can confim the problem, same version same OS

  271 wget https://launchpad.net/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gz
  272 tar xvfz libmemcached-1.0.16.tar.gz
  273 cd libmemcached-1.0.16/
  274 ./configure
  275 make
  276 sudo apt-get install g++
  277 make

The issue is g++ was not installed when running configure
You need to install this first, with your current code do:

make distclean
./configure
make

FYI 1.0.16 requires a new dependency, you will probably also have to do

sudo apt-get install libcloog-ppl0

ShreyasD (damleshreyas) said : #2

Thank you Ronald
I will try it and will update you if found any issue again.

Thank you,
ShreyasD.