代码之家  ›  专栏  ›  技术社区  ›  User_890

如何以编程方式配置星号“menuselect”生成选项?

  •  4
  • User_890  · 技术社区  · 8 年前

    make menuselect menuselect/menuselect --enable ____ menuselect.makeopts

    menuselect/menuselect:没有这样的文件或目录

    如何从脚本中运行此命令?

    1 回复  |  直到 6 年前
        1
  •  7
  •   miken32 Amit D    8 年前

    您需要使用 make menuselect.makeopts 在你能跑之前 menuselect

    pushd /usr/local/src/asterisk-13.5.0/
    ./configure --libdir=/usr/lib64 --without-dahdi --without-pri --without-gtk2 \
        --without-radius --without-x11 --without-speex --with-pjproject-bundled
    make menuselect.makeopts
    menuselect/menuselect \
        --disable-category MENUSELECT_ADDONS \
        --disable-category MENUSELECT_APPS \
            --enable app_authenticate --enable app_cdr --enable app_celgenuserevent \
            --enable app_channelredirect --enable app_chanisavail --enable app_chanspy \
    ...
    make
    make install WGET_EXTRA_ARGS="--no-verbose"
    make config
    popd
    
    推荐文章