一次失败的GCC编译过程
时间:2007-01-11 来源:适兕
安装系统的时候太匆忙,结果导致如此结果。
[root@localhost RPMS]# rpm -ivh gcc-3.4.3-22.1.1.i386.rpm
warning: gcc-3.4.3-22.1.1.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by gcc-3.4.3-22.1.1.i386
[root@localhost RPMS]# ls |grep glibc
compat-glibc-2.3.2-95.30.i386.rpm
compat-glibc-headers-2.3.2-95.30.i386.rpm
glibc-devel-2.3.4-2.9.1AX.i386.rpm
glibc-headers-2.3.4-2.9.1AX.i386.rpm
glibc-kernheaders-2.4-9.1.3.i386.rpm
glibc-profile-2.3.4-2.9.1AX.i386.rpm
glibc-utils-2.3.4-2.9.1AX.i386.rpm
[root@localhost RPMS]# rpm -ivh glibc-devel-2.3.4-2.9.1AX.i386.rpm
warning: glibc-devel-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
error: Failed dependencies:
glibc-headers is needed by glibc-devel-2.3.4-2.9.1AX.i386
glibc-headers = 2.3.4-2.9.1AX is needed by glibc-devel-2.3.4-2.9.1AX.i386
[root@localhost RPMS]# rpm -ivh glibc-headers-2.3.4-2.9.1AX.i386.rpm
warning: glibc-headers-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
error: Failed dependencies:
kernel-headers is needed by glibc-headers-2.3.4-2.9.1AX.i386
kernel-headers >= 2.2.1 is needed by glibc-headers-2.3.4-2.9.1AX.i386
[root@localhost RPMS]# ls |grep kernel
kernel-devel-2.6.9-11.19AX.i686.rpm
kernel-doc-2.6.9-11.19AX.noarch.rpm
kernel-hugemem-devel-2.6.9-11.19AX.i686.rpm
kernel-smp-devel-2.6.9-11.19AX.i686.rpm
kernel-source-2.6.9-11.19AX.i686.rpm
[root@localhost RPMS]# ls |grep glibc
compat-glibc-2.3.2-95.30.i386.rpm
compat-glibc-headers-2.3.2-95.30.i386.rpm
glibc-devel-2.3.4-2.9.1AX.i386.rpm
glibc-headers-2.3.4-2.9.1AX.i386.rpm
glibc-kernheaders-2.4-9.1.3.i386.rpm
glibc-profile-2.3.4-2.9.1AX.i386.rpm
glibc-utils-2.3.4-2.9.1AX.i386.rpm
[root@localhost RPMS]# rpm -ivh glibc-kernheaders-2.4-9.1.3.i386.rpm
warning: glibc-kernheaders-2.4-9.1.3.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:glibc-kernheaders ########################################### [100%]
[root@localhost RPMS]# rpm -ivh glibc-headers-2.3.4-2.9.1AX.i386.rpm
warning: glibc-headers-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:glibc-headers ########################################### [100%]
[root@localhost RPMS]# rpm -ivh glibc-devel-2.3.4-2.9.1AX.i386.rpm
warning: glibc-devel-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:glibc-devel ########################################### [100%]
[root@localhost RPMS]# rpm -ivh gcc-3.4.3-22.1.1.i386.rpm
warning: gcc-3.4.3-22.1.1.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]
[root@localhost RPMS]# cd
[root@localhost ~]# cd in
install.log install.log.syslog intel-iscsi-2.0.16/ intel-iscsi-2.0.16.tar.gz
[root@localhost ~]# cd intel-iscsi-2.0.16
[root@localhost intel-iscsi-2.0.16]# ls
aclocal.m4 aux config.log configure.ac INSTALL linux-2.6 Makefile.in README TODO
AUTHORS ChangeLog configure COPYING linux-2.4 Makefile.am NEWS src
[root@localhost intel-iscsi-2.0.16]# ./configure --enable-2_6=/usr/src/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
终于可以运行了。。。
[root@localhost RPMS]# rpm -ivh gcc-3.4.3-22.1.1.i386.rpm
warning: gcc-3.4.3-22.1.1.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by gcc-3.4.3-22.1.1.i386
[root@localhost RPMS]# ls |grep glibc
compat-glibc-2.3.2-95.30.i386.rpm
compat-glibc-headers-2.3.2-95.30.i386.rpm
glibc-devel-2.3.4-2.9.1AX.i386.rpm
glibc-headers-2.3.4-2.9.1AX.i386.rpm
glibc-kernheaders-2.4-9.1.3.i386.rpm
glibc-profile-2.3.4-2.9.1AX.i386.rpm
glibc-utils-2.3.4-2.9.1AX.i386.rpm
[root@localhost RPMS]# rpm -ivh glibc-devel-2.3.4-2.9.1AX.i386.rpm
warning: glibc-devel-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
error: Failed dependencies:
glibc-headers is needed by glibc-devel-2.3.4-2.9.1AX.i386
glibc-headers = 2.3.4-2.9.1AX is needed by glibc-devel-2.3.4-2.9.1AX.i386
[root@localhost RPMS]# rpm -ivh glibc-headers-2.3.4-2.9.1AX.i386.rpm
warning: glibc-headers-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
error: Failed dependencies:
kernel-headers is needed by glibc-headers-2.3.4-2.9.1AX.i386
kernel-headers >= 2.2.1 is needed by glibc-headers-2.3.4-2.9.1AX.i386
[root@localhost RPMS]# ls |grep kernel
kernel-devel-2.6.9-11.19AX.i686.rpm
kernel-doc-2.6.9-11.19AX.noarch.rpm
kernel-hugemem-devel-2.6.9-11.19AX.i686.rpm
kernel-smp-devel-2.6.9-11.19AX.i686.rpm
kernel-source-2.6.9-11.19AX.i686.rpm
[root@localhost RPMS]# ls |grep glibc
compat-glibc-2.3.2-95.30.i386.rpm
compat-glibc-headers-2.3.2-95.30.i386.rpm
glibc-devel-2.3.4-2.9.1AX.i386.rpm
glibc-headers-2.3.4-2.9.1AX.i386.rpm
glibc-kernheaders-2.4-9.1.3.i386.rpm
glibc-profile-2.3.4-2.9.1AX.i386.rpm
glibc-utils-2.3.4-2.9.1AX.i386.rpm
[root@localhost RPMS]# rpm -ivh glibc-kernheaders-2.4-9.1.3.i386.rpm
warning: glibc-kernheaders-2.4-9.1.3.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:glibc-kernheaders ########################################### [100%]
[root@localhost RPMS]# rpm -ivh glibc-headers-2.3.4-2.9.1AX.i386.rpm
warning: glibc-headers-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:glibc-headers ########################################### [100%]
[root@localhost RPMS]# rpm -ivh glibc-devel-2.3.4-2.9.1AX.i386.rpm
warning: glibc-devel-2.3.4-2.9.1AX.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:glibc-devel ########################################### [100%]
[root@localhost RPMS]# rpm -ivh gcc-3.4.3-22.1.1.i386.rpm
warning: gcc-3.4.3-22.1.1.i386.rpm: V3 DSA signature: NOKEY, key ID f47bed1d
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]
[root@localhost RPMS]# cd
[root@localhost ~]# cd in
install.log install.log.syslog intel-iscsi-2.0.16/ intel-iscsi-2.0.16.tar.gz
[root@localhost ~]# cd intel-iscsi-2.0.16
[root@localhost intel-iscsi-2.0.16]# ls
aclocal.m4 aux config.log configure.ac INSTALL linux-2.6 Makefile.in README TODO
AUTHORS ChangeLog configure COPYING linux-2.4 Makefile.am NEWS src
[root@localhost intel-iscsi-2.0.16]# ./configure --enable-2_6=/usr/src/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
终于可以运行了。。。
相关阅读 更多 +