建立会员库时遇到问题

发布于 2024-09-25 04:33:53 字数 1039 浏览 3 评论 0原文

在 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

On Ubuntu 10.04

command line:

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

This looked good to me as I already have curl installed so I did this:

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

Seeing this error I ran the following under memcached:

autoconf

Now I get:

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诗化ㄋ丶相逢 2024-10-02 04:33:53

固定的!

做了这些修改:

build_configure:
        mkdir -p lib
        (cd memcached && ./config/autorun.sh && ./configure --enable-isasl &&
$(MAKE))
        (cd bucket_engine && ./configure --with-memcached=../memcached && $
(MAKE))
        (cd ep-engine && ./config/autorun.sh && ./configure --with-
memcached=../memcached && $(MAKE))
        (cd libmemcached && ./configure --prefix=`pwd`/../lib --disable-
shared --disable-dtrace --enable-static --with-memcached=../memcached/
memcached && $(MAKE) && $(MAKE) install)
        (cd libvbucket && ./config/autorun.sh && ./configure --
prefix=`pwd`/../lib --disable-shared --enable-static && $(MAKE) && $
(MAKE) install)
        (cd vbucketmigrator && ./config/autorun.sh && ./configure --
prefix=`pwd`/../lib --without-sasl --with-isasl --with-memcached=../
memcached && $(MAKE))
        (cd libconflate && ./configure --prefix=`pwd`/../lib --disable-shared
--enable-static && $(MAKE) && $(MAKE) install)
        (cd moxi && ./config/autorun.sh && ./configure --prefix=`pwd`/../lib
--with-memcached=../memcached/memcached --enable-moxi-libvbucket --
enable-moxi-libmemcached CFLAGS="-I../lib/include -Wno-error"
LDFLAGS="-L../lib/lib" && $(MAKE))
        (cd ns_server && $(MAKE)) 

Fixed!

Made these modifications:

build_configure:
        mkdir -p lib
        (cd memcached && ./config/autorun.sh && ./configure --enable-isasl &&
$(MAKE))
        (cd bucket_engine && ./configure --with-memcached=../memcached && $
(MAKE))
        (cd ep-engine && ./config/autorun.sh && ./configure --with-
memcached=../memcached && $(MAKE))
        (cd libmemcached && ./configure --prefix=`pwd`/../lib --disable-
shared --disable-dtrace --enable-static --with-memcached=../memcached/
memcached && $(MAKE) && $(MAKE) install)
        (cd libvbucket && ./config/autorun.sh && ./configure --
prefix=`pwd`/../lib --disable-shared --enable-static && $(MAKE) && $
(MAKE) install)
        (cd vbucketmigrator && ./config/autorun.sh && ./configure --
prefix=`pwd`/../lib --without-sasl --with-isasl --with-memcached=../
memcached && $(MAKE))
        (cd libconflate && ./configure --prefix=`pwd`/../lib --disable-shared
--enable-static && $(MAKE) && $(MAKE) install)
        (cd moxi && ./config/autorun.sh && ./configure --prefix=`pwd`/../lib
--with-memcached=../memcached/memcached --enable-moxi-libvbucket --
enable-moxi-libmemcached CFLAGS="-I../lib/include -Wno-error"
LDFLAGS="-L../lib/lib" && $(MAKE))
        (cd ns_server && $(MAKE)) 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文