【问题标题】:Trouble Building Membase麻烦构建 Membase
【发布时间】:2010-09-30 04:02:57
【问题描述】:

在 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

【问题讨论】:

    标签: ubuntu-10.04 membase


    【解决方案1】:

    已修复!

    进行了这些修改:

    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)) 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-12-30
      • 2021-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-23
      • 2010-11-11
      相关资源
      最近更新 更多