下载
git clone https://github.com/rsyslog/libfastjson.git
配置
cd libfastjson
sh ./autogen.sh
报错:
autoconf-archive/ autogen.sh
samuel@ma-QiTianM428-A106:~/tools/lib/libfastjson$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
configure.ac:130: warning: macro 'AM_PROG_LIBTOOL' not found in library
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:130: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
解决
xxxl@xxx-QiTianM428-A106:/usr/share/aclocal$ cp ./* ../../local/share/aclocal