NCNN移植ARM爬坑日志-protobuf安装 四

>1 首先进入https://pypi.python.org/pypi/protobuf/2.6.0,下载protobuf2.6.0

2>解压文件

>3 进入解压目录,在terminal中输入./autogen.sh,因为里面有下载项,国内需要翻墙,所以最好自己先想办法下载好,放入此目录下,

出现问题1:

+ autoreconf -f -i-Wall,no-obsolete

m4: unrecognized option '--gnu'

Try `m4 --help' for more information.

autom4te: m4 failed with exit status: 1

aclocal: error: echo failed with exit status: 1

autoreconf: aclocal failed with exit status: 1


问题分析及解决方法:

主要是因为automake和autoconf没有安装,因为是在arm板上面安装,所以采用源码安装

安装autoconf

wget 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
make && make install

安装automake

wget 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 && make install

把上面两个工具安装好了之后,此问题可以通过

>4 运行./configure

>5 make

>6 make install

最终通过,真的快哭出来了,困扰了好久


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值