Chinaunix首页 | 论坛 | 博客
  • 博客访问: 731911
  • 博文数量: 741
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 4825
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-18 11:18
文章分类

全部博文(741)

文章存档

2011年(1)

2008年(740)

我的朋友
2

分类:

2008-09-18 11:25:07

安装apt,用tar包编译时出现如下错误。

creating libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for strerror in -lcposix... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking rpm/rpmlib.h usability... yes
checking rpm/rpmlib.h presence... yes
checking for rpm/rpmlib.h... yes
checking for rpmdbOpen in -lrpmdb... no
checking for rpmdbGetIteratorOffset in -lrpm... no
checking for rpmdbFirstRecNum in -lrpm... no
checking for RPM version... none
configure: error: No RPM version for development was found in your system.

用rpm包安装
[root@star-moon apt-0.5.5cnc5]# rpm -iv apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4.i386.rpm
warning: apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4.i386.rpm: V3 DSA signature: NOKEY, key ID e42d54
7b
error: Failed dependencies:
        libelf.so.0 is needed by apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4
        librpm-4.1.so is needed by apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4
        librpmdb-4.1.so is needed by apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4
        librpmio-4.1.so is needed by apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4

请问,我要安哪些包才行。我发现我但rpm是4.2.是不是与此有关。谢谢。      
--------------------next---------------------

阅读(273) | 评论(0) | 转发(0) |
0

上一篇:欢迎阅读我的文章

下一篇:3

给主人留下些什么吧!~~