错误信息:
$ ./configure
checking whether you requested dynamic linking... yes, by default
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for poll... yes
checking for socket... yes
checking for inet_ntoa... yes
checking for tsearch... yes
checking for INADDR_LOOPBACK... found
checking for inet_aton... yes
checking inlines... yes
checking __attribute__((,,))... yes
checking __attribute__((noreturn))... yes
checking __attribute__((const))... yes
checking __attribute__((format...))... yes
checking for sys/select.h... yes
creating ./config.status
creating config.h
config.h is unchanged
(cd src; gmake dep)
gmake[1]: 进入目录“/home/jb/WebMining/larbin-2.6.3/src”
cp ../config.h .
for d in utils interf fetch; do (cd $d; gmake dep-in); done
gmake[2]: 进入目录“/home/jb/WebMining/larbin-2.6.3/src/utils”
makedepend -f- -I.. -Y *.cc 2> /dev/null > .depend
gmake[2]: *** [dep-in] 错误 127
gmake[2]: 离开目录“/home/jb/WebMining/larbin-2.6.3/src/utils”
gmake[2]: 进入目录“/home/jb/WebMining/larbin-2.6.3/src/interf”
makedepend -f- -I.. -Y *.cc 2> /dev/null > .depend
gmake[2]: *** [dep-in] 错误 127
gmake[2]: 离开目录“/home/jb/WebMining/larbin-2.6.3/src/interf”
gmake[2]: 进入目录“/home/jb/WebMining/larbin-2.6.3/src/fetch”
makedepend -f- -I.. -Y *.cc 2> /dev/null > .depend
gmake[2]: *** [dep-in] 错误 127
gmake[2]: 离开目录“/home/jb/WebMining/larbin-2.6.3/src/fetch”
gmake[1]: *** [dep] 错误 2
gmake[1]: 离开目录“/home/jb/WebMining/larbin-2.6.3/src”
gmake: *** [dep] 错误 2
原因是因为缺少 makedepend 工具。
Fedora 下安装方法为运行命令: # yum install imake
# yum install imake
==========================================================================
Package 架构 版本 仓库 大小
==========================================================================
正在安装:
imake i686 1.0.5-4.fc17 fedora 256 k
事务概要
==========================================================================
安装 1 软件包
总下载量:256 k
安装大小:1.2 M
确定吗?[y/N]:y
下载软件包:
imake-1.0.5-4.fc17.i686.rpm | 256 kB 00:00
运行事务检查
执行事务测试
事务测试成功
执行事务
正在安装 : imake-1.0.5-4.fc17.i686 1/1
Verifying : imake-1.0.5-4.fc17.i686 1/1
已安装:
imake.i686 0:1.0.5-4.fc17
完毕!
其他系统可以尝试以下命令: apt-get install xutils-dev 或 makedepend
参考http://mylovejsj.blog.163.com/blog/static/3867397520101116114833743/