根据安装失败的提示,我根据这个包跟踪重新编译了 gcc glibc
编译 nss 时的确存在这种情况,也就是自身被自身依赖以至于不能更新的包,其中 nss-soft* 就是一个,但我没想到马上就让别人中招了,可我的机器的确容错能力很强,没遇到这么挑剔的。。。由 nss 追踪到了 glibc,重编译 glibc 遇到缺少mmintrin-common.h 重编译 gcc 把这个文件打包进去。gcc 4.4.6 重编译多出以下的文件,但也打包成功了,大家看下是否是重要的。warning: Installed (but unpackaged) file(s) found:
/usr/bin/gccbug
/usr/bin/gcj
/usr/bin/gnatgcc
/usr/bin/i686-magic-linux-gcc-4.4.5
/usr/bin/i686-magic-linux-gcj
/usr/bin/i686-magic-linux-gfortran
/usr/bin/jcf-dump
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/README
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/SDL/SDL_stdinc.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/X11/Xw32defs.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/Xm/Xmos_r.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/freetype2/freetype/config/ftconfig-32.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/libdevmapper.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/libv4lconvert.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/linux/a.out.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/net-snmp/net-snmp-config-i386.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/nss3/secport.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/openssl/bn.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/platform.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/slang/slang.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/xorg/compiler.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/xorg/edid.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/xorg/servermd.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include-fixed/xorg/xf86str.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include/mmintrin-common.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include/ssp/ssp.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include/ssp/stdio.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include/ssp/string.h
/usr/lib/gcc/i686-magic-linux/4.4.5/include/ssp/unistd.h
/usr/lib/gcc/i686-magic-linux/4.4.5/install-tools/fixinc_list
/usr/lib/gcc/i686-magic-linux/4.4.5/install-tools/gsyslimits.h
/usr/lib/gcc/i686-magic-linux/4.4.5/install-tools/include/README
/usr/lib/gcc/i686-magic-linux/4.4.5/install-tools/include/limits.h
/usr/lib/gcc/i686-magic-linux/4.4.5/install-tools/macro_list
/usr/lib/gcc/i686-magic-linux/4.4.5/install-tools/mkheaders.conf
/usr/lib/libgcc_s.so
/usr/lib/libgfortran.so
/usr/lib/libgomp.so
/usr/lib/libmudflap.so
/usr/lib/libmudflapth.so
/usr/lib/libobjc.so
/usr/lib/libstdc++.so
/usr/libexec/gcc/i686-magic-linux/4.4.5/install-tools/fixinc.sh
/usr/libexec/gcc/i686-magic-linux/4.4.5/install-tools/mkinstalldirs
/usr/libexec/gcc/i686-magic-linux/4.4.5/jc1
/usr/libexec/gcc/i686-magic-linux/4.4.5/jvgenmain
/usr/share/info/gcj.info.gz
/usr/share/locale/de/LC_MESSAGES/libstdc++.mo
/usr/share/locale/fr/LC_MESSAGES/libstdc++.mo
/usr/share/man/man1/aot-compile.1.gz
/usr/share/man/man1/gc-analyze.1.gz
/usr/share/man/man1/gcj-dbtool.1.gz
/usr/share/man/man1/gcj.1.gz
/usr/share/man/man1/gij.1.gz
/usr/share/man/man1/grmic.1.gz
/usr/share/man/man1/jcf-dump.1.gz
/usr/share/man/man1/jv-convert.1.gz
/usr/share/man/man1/rebuild-gcj-db.1.gz
/usr/share/man/man7/fsf-funding.7.gz
/usr/share/man/man7/gfdl.7.gz
/usr/share/man/man7/gpl.7.gz
Wrote: /root/rpmbuild/RPMS/i686/gcc-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libgcc-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/gcc-c++-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libstdc++-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libstdc++-devel-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libstdc++-docs-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/gcc-objc-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/gcc-objc++-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libobjc-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/gcc-gfortran-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libgfortran-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libgomp-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libmudflap-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/libmudflap-devel-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/cpp-4.4.5-1mgc25.i686.rpm
Wrote: /root/rpmbuild/RPMS/i686/gcc-debuginfo-4.4.5-1mgc25.i686.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JDAJC1
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd gcc-4.4.6
+ rm -rf /root/rpmbuild/BUILDROOT/gcc-4.4.5-1mgc25.i386
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.Edfu4h
+ umask 022
+ cd /root/rpmbuild/BUILD
+ rm -rf gcc-4.4.6
+ exit 0 我仔细看了一下,应该都是没有用的东西,至于 java 部份因为没有开java 开关,所以就算了,如果开了 java 开关,环境还不止这些。 /usr/lib/libgcc_s.so
/usr/lib/libgfortran.so
/usr/lib/libgomp.so
/usr/lib/libmudflap.so
/usr/lib/libmudflapth.so
/usr/lib/libobjc.so
/usr/lib/libstdc++.so
你不觉得这些东西眼熟吗?
单拿出来
/usr/lib/libgcc_s.so
/usr/lib/libstdc++.so
你不觉得更眼熟吗? 原帖由 jiangtao9999 于 2012-1-4 16:31 发表 http://forum.linuxfans.org/images/common/back.gif
/usr/lib/libgcc_s.so
/usr/lib/libgfortran.so
/usr/lib/libgomp.so
/usr/lib/libmudflap.so
/usr/lib/libmudflapth.so
/usr/lib/libobjc.so
/usr/lib/libstdc++.so
你不觉得这些东西眼熟吗?
单 ...
兄台,的确没有用的,XX.so.XX 才是实体成分,XX.so 经常只是链接而已,不过也会有例外的时候,KDE4.7.4 打包时分包依赖错乱,很多原因是因为生成的 XX.so 就是实体成分,没有 XX.so.XX。 原帖由 jiangtao9999 于 2012-1-4 16:31 发表 http://forum.linuxfans.org/images/common/back.gif
/usr/lib/libgcc_s.so
/usr/lib/libgfortran.so
/usr/lib/libgomp.so
/usr/lib/libmudflap.so
/usr/lib/libmudflapth.so
/usr/lib/libobjc.so
/usr/lib/libstdc++.so
你不觉得这些东西眼熟吗?
单 ...
这些还真不用打进包去。因为实际上使用的是另外的位置的,在现在的编译服务器上就是:/usr/lib/gcc/i686-magic-linux/4.6.2/libstdc++.so
kde的.so比较特殊,有的.so并不是开发库,而是运行库。 这是兼容需要,防止有的程序连接到了这个文件上导致没有依赖关系。
页:
[1]