安装环境如下
Quick Instructions
==================
1. Get and install mandatory packages/tools
These instructions assume your system is already provided with
the normal source compile tools. Most are gnu packages, available
through http://www.gnu.org or your favorite prebuilt package source.
Using their RedHat package names, these are:
- glibc, glibc-devel, gcc, cpp
- Some version of awk
- libtool (1.4+)
Note that there are reports of success with libtool 1.3.x under
FreeBSD so the script allows this.
- m4
- autoconf (2.53+)
- automake (1.6+)
checking for GeoIP_record_by_ipnum in -lGeoIP... no
Please install GeoIP (http://www.maxmind.com/)
解决方法:
wget http://www.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
tar xzvf it
./configure it
make it
make install it
错误二
If you run into problems, you can ALWAYS recreate the generated files
via this procedure:
rm -f acinclude.m4 aclocal.m4 Makefile.in config.h.in configure Makefile
find current versions of libtool, config.guess and config.sub and cp
them into your working directory.
cat acinclude.m4.ntop libtool.m4.in > acinclude.m4
aclocal
autoheader
autoconf
automake --gnu --copy --add-missing