【larbin执行./configure时出错】解决办法(Fedora下安装makedepend工具)

错误信息:

$ ./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-devmakedepend

参考http://mylovejsj.blog.163.com/blog/static/3867397520101116114833743/


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值