在 Ubuntu 10.04 上
命令行:
sudo apt-get install build-essential automake libtool pkg-config check libssl-dev sqlite3 libevent-dev libcurl libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
automake is already the newest version.
libtool is already the newest version.
pkg-config is already the newest version.
E: Couldn't find package libcurl
这对我来说看起来不错,因为我已经安装了 curl,所以我这样做了:
membase_1.6.0beta4_src$ make
mkdir -p lib
(cd memcached && ./configure --enable-isasl && make)
/bin/sh: ./configure: not found
make: *** [build_configure] Error 127
看到这个错误,我在 memcached 下运行了以下命令:
autoconf
现在我得到:
membase_1.6.0beta4_src$ make
mkdir -p lib
(cd memcached && ./configure --enable-isasl && make)
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
make: *** [build_configure] Error 1