linux 下 larbin 编译不通过

在Ubuntu11.04环境下编译larbin-2.6.3时遇到错误,主要问题是makedepend未安装导致编译失败。解决方法为通过apt-get命令安装xutils-dev包。

Ubuntu11.04+larbin编译出现错误如下:

root@zhao:/home/torres/workspace/larbin-2.6.3# ./configure make
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; make dep)
make[1]: 正在进入目录 `/home/torres/workspace/larbin-2.6.3/src'
cp ../config.h .
for d in utils interf fetch; do (cd $d; make dep-in); done
make[2]: 正在进入目录 `/home/torres/workspace/larbin-2.6.3/src/utils'
makedepend -f- -I.. -Y *.cc 2> /dev/null > .depend
make[2]: *** [dep-in] 错误 127
make[2]:正在离开目录 `/home/torres/workspace/larbin-2.6.3/src/utils'
make[2]: 正在进入目录 `/home/torres/workspace/larbin-2.6.3/src/interf'
makedepend -f- -I.. -Y *.cc 2> /dev/null > .depend
make[2]: *** [dep-in] 错误 127
make[2]:正在离开目录 `/home/torres/workspace/larbin-2.6.3/src/interf'
make[2]: 正在进入目录 `/home/torres/workspace/larbin-2.6.3/src/fetch'
makedepend -f- -I.. -Y *.cc 2> /dev/null > .depend
make[2]: *** [dep-in] 错误 127
make[2]:正在离开目录 `/home/torres/workspace/larbin-2.6.3/src/fetch'
make[1]: *** [dep] 错误 2
make[1]:正在离开目录 `/home/torres/workspace/larbin-2.6.3/src'
make: *** [dep] 错误 2

解决办法:

程序“makedepend”尚未安装。  您可以使用以下命令安装:
apt-get install xutils-dev


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值