Posted on 2014-12-17 17:32
S.l.e!ep.¢% 阅读(5298)
评论(0) 编辑 收藏 引用 所属分类:
Unix
google 到的 http://rpmfind.net/linux/RPM/opensuse/12.3/x86_64/gcc47-c++-4.7.2_20130108-2.1.6.x86_64.html
wget http://download.opensuse.org/source/distribution/12.3/repo/oss/suse/src/gcc47-4.7.2_20130108-2.1.6.src.rpm
# rpm -ivh gcc47-4.7.2_20130108-2.1.6.src.rpm
1:gcc47 ########################################### [100%]
gcc --version
gcc (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
====================================================================================================================================
继续google到另一个
http://rpm.pbone.net/index.php3/stat/4/idpl/20369594/dir/opensuse_12.x/com/gcc47-c++-4.7.2_20130108-2.1.6.x86_64.rpm.html
# wget ftp://ftp.muug.mb.ca/mirror/opensuse/distribution/12.3/repo/oss/suse/x86_64/gcc47-c++-4.7.2_20130108-2.1.6.x86_64.rpm
# rpm -ivh gcc47-c++-4.7.2_20130108-2.1.6.x86_64.rpm
# error: Failed dependencies:
gcc47 = 4.7.2_20130108-2.1.6 is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libcloog.so.0()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libgmp.so.10()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libgmpxx.so.4()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libmpc.so.3()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libmpfr.so.4()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libppl.so.9()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libppl_c.so.4()(64bit) is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
libstdc++47-devel = 4.7.2_20130108-2.1.6 is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by gcc47-c++-4.7.2_20130108-2.1.6.x86_64
在网站来回找
http://rpm.pbone.net/index.php3/stat/4/idpl/18519575/dir/opensuse_12.x/com/gcc47-4.7.1_20120723-1.1.1.x86_64.rpm.html
找到 gcc47
Requires :
binutils
cpp47 = 4.7.1_20120723-1.1.1
glibc-devel
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libcloog.so.0()(64bit)
libgcc1 >= 4.7.1_20120723-1.1.1
libgmp.so.10()(64bit)
libgmpxx.so.4()(64bit)
libgomp1 >= 4.7.1_20120723-1.1.1
libm.so.6()(64bit)
libmpc.so.2()(64bit)
libmpc2 >= 0.8.1
libmpfr.so.4()(64bit)
libppl.so.9()(64bit)
libppl_c.so.4()(64bit)
libz.so.1()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
在我所在的机器上,缺少的依赖是这些
# error: Failed dependencies:
cpp47 = 4.7.1_20120723-1.1.1 is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
------------
warning: cpp47-4.7.3_20130411-87.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 377d2a64
error: Failed dependencies:
libc.so.6(GLIBC_2.11)(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/zhy20120210:/SLES-11-SP1-x86-64/SLE_11_SP1/x86_64/glibc-2.11.1-1.8.x86_64.rpm
# rpm -ivh glibc-2.11.1-1.8.x86_64.rpm
warning: glibc-2.11.1-1.8.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 034e6912
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by glibc-2.11.1-1.8.x86_64
死活google找不到 rpmlib(PayloadIsLzma) <= 4.4.2-1 这个库的安装, 再次泪奔
libc.so.6(GLIBC_2.7)(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
libcloog.so.0()(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
libgmpxx.so.4()(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
libmpc.so.2()(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
libppl.so.9()(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
libppl_c.so.4()(64bit) is needed by cpp47-4.7.3_20130411-87.3.x86_64
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by cpp47-4.7.3_20130411-87.3.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libcloog.so.0()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libgcc1 >= 4.7.1_20120723-1.1.1 is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libgmp.so.10()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libgmpxx.so.4()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libgomp1 >= 4.7.1_20120723-1.1.1 is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libmpc.so.2()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libmpc2 >= 0.8.1 is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libmpfr.so.4()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libppl.so.9()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
libppl_c.so.4()(64bit) is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by gcc47-4.7.1_20120723-1.1.1.x86_64
尝试下 zypper update 来搞定
# zypper sa ftp://211.166.8.67/distribution/11.0/repo/oss/ My_OSS_CN
3617 zmd
ZENworks Management Daemon is running.
WARNING: this command will not synchronize changes.
Use rug or yast2 for that.
Determining ftp://211.166.8.67/distribution/11.0/repo/oss/ source type...