分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
<pre name="code" class="html">zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# ./configure CC="gcc -m64" --prefix=/usr --libdir=/usr/lib64 && make && make install cd . && /bin/sh /root/soft/json-c-json-c-0.12-20140410/missing automake-1.14 --gnu/root/soft/json-c-json-c-0.12-20140410/missing: line 81: automake-1.14: command not foundWARNING: 'automake-1.14' is missing on your system. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by 'configure.ac'. The 'automake' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/>make: *** [Makefile.in] Error 1zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# automakeautomake automake-1.11发现版本不匹配:查看autoconf 的版本:zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# autoconf -Vautoconf (GNU Autoconf) 2.63Copyright (C) 2008 Free Software Foundation, Inc.zjtest7-redis:/root/automake-1.14.1# ./configure --prefix=/usr/checking whether make supports nested variables... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether ln -s works... yeschecking for perl... /usr/bin/perlchecking for tex... nochecking for yacc... yaccchecking for lex... lexchecking whether autoconf is installed... yeschecking whether autoconf works... yeschecking whether autoconf is recent enough... noconfigure: error: Autoconf 2.65 or better is required.安装新版本的automake-1.14.1 需要更新Autoconf 版本:查询当前版本[root@BobServerStation twemproxy]# rpm -qf /usr/bin/autoconfautoconf-2.63-5.1.el6.noarchzjtest7-redis:/root/autoconf-2.69# autoconf -Vautoconf (GNU Autoconf) 2.63Copyright (C) 2008 Free Software Foundation, Inc.卸载当前版本[root@BobServerStation twemproxy]# rpm -e --nodeps autoconf-2.63zjtest7-frontend:/usr# /usr/bin/autoconf -Vautoconf (GNU Autoconf) 2.68Copyright (C) 2010 Free Software Foundation, Inc.安装最新版本[root@BobServerStation twemproxy]# wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz[root@BobServerStation twemproxy]# tar zxvf autoconf-2.69.tar.gz[root@BobServerStation twemproxy]# cd autoconf-2.69[root@BobServerStation twemproxy]# ./configure --prefix=/usr/[root@BobServerStation twemproxy]# make && make install安装最新版本的automake:zjtest7-redis:/root/autoconf-2.69# autoconf -Vautoconf (GNU Autoconf) 2.69继续安装automake:zjtest7-redis:/root/automake-1.14.1# automakeautomake automake-1.11 automake-1.14 zjtest7-redis:/root/automake-1.14.1# rpm -e automake-1.11.1-4.el6.noarcherror: Failed dependencies: automake is needed by (installed) intltool-0.41.0-1.1.el6.noarch automake >= 1.4 is needed by (installed) libtool-2.2.6-15.5.el6.x86_64zjtest7-redis:/root/automake-1.14.1# rpm -e --nodeps automake-1.11.1-4.el6.noarchzjtest7-redis:/root/automake-1.14.1# rpm -qa | grep automakezjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# autoconf -Vautoconf (GNU Autoconf) 2.69zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# automake-1.14 --versionUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.14 line 3930.automake (GNU automake) 1.14.1删除之前:zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# rm -rf json-c-json-c-0.12-20140410/zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# ./configure CC="gcc -m64" --prefix=/usr --libdir=/usr/lib64 && make && make install