【larbin执行./configure时出错】解决办法(Fedora下安装makedepend工具)
2013-03-17 15:59
477 查看
错误信息:
$ ./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/
$ ./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/
相关文章推荐
- 【开发工具】VMware安装Fedora17,安装VMware-tools出错无法共享文件的解决办法
- PHP编译安装出错configure: error: mcrypt.h not found. Please reinstall libmcrypt的解决办法
- 执行yum安装出错的解决办法
- Fedora13 安装Google浏览器出错及其解决办法
- Linux使用curl 方式安装docker-compose 后执行docker-compose version 检查安装是否成功时出错的解决办法
- ubuntu apt 安装软件时 出现(--configure)时出错解决办法
- VS2008创建Silverlight项目出错的解决办法--安装Visual Studio 2008的Silverlight 1.1 Tools Alpha无法创建Silverlight项目
- VS2010帮助文档所有安装出错的解决办法
- 安装python包出错时的一般解决办法
- UEFI模式下安装Windows 10和Fedora 23双系统碰到的问题和解决办法
- dpkg:处理 xxx (--configure)时出错解决办法(转载)
- 文章标题 : 关于dpkg:处理 xxx (--configure)时出错:的我的解决办法
- 远程控制Windows2003下安装Pcanywhere导致Awgina.dll出错的解决办法(ZZ)
- Win7下VS2008安装cocos2d-2.0-x-2.0.4模板时, 运行InstallWizardForVS2008.js文件执行失败的解决办法
- sql server 2008安装过程中服务器配置出错解决办法
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- office2007安装一半出错的解决办法
- 【解决办法】使用Cocos Code IDE 导出 Android 工程「执行命令出错,返回值:2。」
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法(转)
- 360市场aapt命令执行出错(appt 解析报错)解决办法