From: LAHAYE O. <oli...@ce...> - 2012-12-17 15:00:31
|
Ole, you're perfectly right, Looking at https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/Package_Manifest/Red_Hat_Enterprise_Linux-6-Package_Manifest-en-US.pdf I see none of the required packages. Wow, this is realy wired. no static libc in RHEL6?. So no way to create a static binary from RHEL6? Regarding the spec file from http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/glibc-2.12-1.80.el6_3.6.src.rpm , the static package should be built. Did redhat removed it by hand? Regarding device-mapper-devel, the package is created from http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/lvm2-2.02.72-8.el6_0.4.src.rpm => Same as above? did redhat removed the package? And, as you said, the gperf package has an src.rpm.but no binary and not in the list of rhel6 packages..... As for the real requirements, I think they are all required unfortunately:(though maybe I'm wrong and maybe we could modify source to avoid those requirements; honestly I can't tell for now) 1/ GPERF: ./initrd_source/build_dir/lib/modules/2.6.34.1-boel_v4.3.0/build/scripts/kconfig/Makefile:# The following requires flex/bison/gperf 2/ DEVICE-MAPPER-DEVEL: ./autoconf/configure.ac:AC_CHECK_HEADERS([libdevmapper.h],[have_libdevmapper=yes]) 3/ GLIBS-STATIC: ./build_dir/lib/modules/2.6.34.1-boel_v4.3.0/build/kernel/exit.c: * implemented by calling sys_wait4() from libc.a. I'm confident that if you rpmbuild --rebuild the missing packages (glibc, lvm2 and gperf), you should obtain the missing packages. I understand that it's not a perfect situation, but for now I'm afraid that it's the way to go. Maybe redhat has other optional repositories available? Looking at the packages list, only 3 static packages. maybe all static packages are on a specific repository? Or maybe redhat has removed most of them because of that: http://www.linuxtopia.org/online_books/rhel6/rhel_6_developer_guide/rhel_6_developer_lib.compatibility.static.html (I'm sorry, I don't even have a single redhat system since V4 as I had poor experience with support and things like this one, though I can easily understand that rhel is mandatory for you) hope this helps a little bit. Best regards, Olivier. -- Olivier LAHAYE CEA DRT/LIST/DCSI/DIR ________________________________________ De : Ole Holm Nielsen [Ole...@fy...] Date d'envoi : lundi 17 décembre 2012 14:51 À : sis...@li... Cc: LAHAYE Olivier Objet : Re: RE : [sisuite-users] RE : New systemimager rpms for centos6 with ext4 support Hi Olivier, > This is wired and I'm using standard distro CentOS-6 which is said to be a full RHEL-6 clone. In theory yes, but it seems there are differences!! I looked up the missing packages in the Red Hat Network (RHN): > Don't you have the following packages? (they should be part of RHEL6) > - gperf-3.0.3-9.1.el6.x86_64 gperf is in CentOS 6.3, but NOT in RHEL 6.3! Strangely, Red Hat does have the source RPM in http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/ but there are no binary RPMs from RHN. > - glibc-static-2.12-1.80.el6_3.6.x86_64 glibc-static is in CentOS 6.3, but NOT in RHEL 5 or 6! > - device-mapper-devel-1.02.74-10.el6_3.3.x86_64 device-mapper-devel is in CentOS 6.3, but NOT in RHEL 5 or 6! Unfortunately these differences are *not* documented in http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.3. I wonder if anyone can explain why CentOS decided to build these packages? I assume that you *really* need these packages for SystemImager? It would be better for RHEL6 sites if they could be omitted. If we must install these packages on RHEL6, I propose that documentation should be written referring people to the RPM downloads from CentOS mirrors. Thanks, Ole -- Ole Holm Nielsen Department of Physics, Technical University of Denmark |