美文网首页Wi-Fi参考
Mac OS 中安装 autoconf 和 automake

Mac OS 中安装 autoconf 和 automake

作者: 不做大哥好多年 | 来源:发表于2019-01-25 18:24 被阅读0次

    在Mac上面编译FFmpeg需要安装很多东西,首先是:autoconf 和 automake

    curl -O http://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gz

    tar -xzvf m4-1.4.13.tar.gz

    cd m4-1.4.13

    ./configure --prefix=/usr/local

    make

    sudo make install

    cd ..

    curl -O http://mirrors.kernel.org/gnu/autoconf/autoconf-2.65.tar.gz

    tar -xzvf autoconf-2.65.tar.gz

    cd autoconf-2.65

    ./configure --prefix=/usr/local # ironic, isn't it?

    make

    sudo make install

    cd ..

    # here you might want to restart your terminal session, to ensure the new autoconf is picked up and used in the rest of the script

    curl -O http://mirrors.kernel.org/gnu/automake/automake-1.11.tar.gz

    tar xzvf automake-1.11.tar.gz

    cd automake-1.11

    ./configure --prefix=/usr/local

    make

    sudo make install

    cd ..

    curl -O http://mirrors.kernel.org/gnu/libtool/libtool-2.2.6b.tar.gz

    tar xzvf libtool-2.2.6b.tar.gz

    cd libtool-2.2.6b

    ./configure --prefix=/usr/local

    make

    sudo make install

    相关文章

      网友评论

        本文标题:Mac OS 中安装 autoconf 和 automake

        本文链接:https://www.haomeiwen.com/subject/fwsvjqtx.html