安装SimpleDB::Class时出错



我尝试从cpan安装SimpleDB:: class作为sudo cpan SimpleDB:: class。它需要一个依赖项Memcached::libmemcached。所以我尝试安装它,但它有以下错误:

CCLD   clients/memstat
CC     tests/atomsmasher.o
CCLD   tests/atomsmasher
CXX    tests/tests_hashplus-hash_plus.o
./config/depcomp: line 611: exec: g++: not found
make[2]: *** [tests/tests_hashplus-hash_plus.o] Error 127
make[2]: Leaving directory `/home/vanitha/.cpan/build/Memcached-libmemcached-0.4406-    Oq4Z_m/src/libmemcached'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vanitha/.cpan/build/Memcached-libmemcached-0.4406-  Oq4Z_m/src/libmemcached'
make: *** [install] Error 2
Unable to build libmemcached: Error running cd src/libmemcached && make install
Aborted.
No 'Makefile' created  TIMB/Memcached-libmemcached-0.4406.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
could not read metadata file. Falling back to other methods to determine prerequisites

exec: g++: not found -这是错误

先试试这个:sudo apt-get install g++

相关内容

  • 没有找到相关文章

最新更新