标签:
关于 jq 工具请参考 http://blog.csdn.net/u011641885/article/details/45559031
jq 源码下载:
git clone https://github.com/stedolan/jq.git
cd jq autoreconf -i CC=i486-openwrt-linux-gcc ./configure --disable-maintainer-mode --host=mipsel-linux --build=i686-linux --prefix=${PWD}/_install/ make sudo make install
编译完成之后将安装目录下的 执行文件 拷贝到目标主机即可
configure.ac:14: installing 'config/ar-lib' configure.ac:14: installing 'config/compile' configure.ac:12: installing 'config/install-sh' configure.ac:12: installing 'config/missing' Makefile.am:47: error: Libtool library used but 'LIBTOOL' is undefined Makefile.am:47: The usual way to define 'LIBTOOL' is to add 'LT_INIT' Makefile.am:47: to 'configure.ac' and run 'aclocal' and 'autoconf' again. Makefile.am:47: If 'LT_INIT' is in 'configure.ac', make sure Makefile.am:47: its definition is in aclocal's search path. Makefile.am: installing 'config/depcomp' configure.ac: installing 'config/ylwrap' parallel-tests: installing 'config/test-driver' autoreconf: automake failed with exit status: 1
后来发现是没有安装 libtool
sudo apt-get install libtool
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:
原文地址:http://blog.csdn.net/u011641885/article/details/48130869