Hi Hiroyuki, I discovered the cause of the failure was that the system time was set in the past. The time was set in the past because I'm using an embedded board which does not have a battery backed up RTC and the time reset to the BIOS build date.
Once I set the time correctly and applied the sed line below then everything installed correctly. On 27/08/2011 11:12, Hiroyuki Sato wrote: > Hello Malcolm > > I build OFED-1.5.3.2 on ScientificLinux 6.1 > Can you attach error message?? > > and > >> sed -i 's/redhat-release-server-6/redhat-release-server-6|sl-release-6/g' >> install.pl > I think you don't need to execute this command. I found I needed to add that line otherwise there would be build failure with open-iscsi. > > 2011/8/27 Crossley, Malcolm (GE Intelligent Platforms) > <[email protected]>: >> Hi All, >> >> >> >> I'm having problems installing OFED 1.5.3.2 on Scientific Linux 6.1. >> >> >> >> I have modified the install.pl to get it to recognise scientific Linux 6.1 >> as a RHEL6.0 clone by using this line: >> >> >> >> sed -i 's/redhat-release-server-6/redhat-release-server-6|sl-release-6/g' >> install.pl >> >> >> >> This allows the build to proceed until librdmacm. >> >> >> >> I get this error when trying to build the librdmacm SRPM: >> >> >> >> + /usr/lib/rpm/check-buildroot >> >> Binary file >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/rping >> matches >> >> Binary file >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/udadd y >> matches >> >> Binary file >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/ucmat ose >> matches >> >> Binary file >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/rdma_ client >> matches >> >> Binary file >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/mckey >> matches >> >> Binary file >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/rdma_ server >> matches >> >> Found '/var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64' in >> installed files; aborting >> >> error: Bad exit status from /var/tmp/rpm-tmp.94GgOj (%install) >> >> >> >> I have run ldd on the above binaries and I get: >> >> >> >> [test@localhost ~]$ ldd >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/bin/rping >> >> linux-vdso.so.1 => (0x00007fff51b0c000) >> >> librdmacm.so.1 => >> /var/tmp/OFED_topdir/BUILDROOT/librdmacm-1.0.14.1-1.x86_64/usr/lib64/lib rdmacm.so.1 >> (0x00007f5f62a7c000) >> >> libibverbs.so.1 => /usr/lib64/libibverbs.so.1 (0x000000379e000000) >> >> libc.so.6 => /lib64/libc.so.6 (0x000000379d800000) >> >> libpthread.so.0 => /lib64/libpthread.so.0 (0x000000379dc00000) >> >> libdl.so.2 => /lib64/libdl.so.2 (0x000000379d400000) >> >> /lib64/ld-linux-x86-64.so.2 (0x000000379d000000) >> >> >> >> This seems to suggest that librdmacm does contain paths to the buildroot >> location? >> >> >> >> I installed the following to setup the environment before running the OFED >> installer: >> >> >> >> yum groupinstall "Development tools" >> >> >> >> yum install rpm-build zlib-devel kernel kernel-devel gcc glibc-devel libtool >> bison flex / >> >> libstdc++-devel gcc-c++ tcl tcl-devel tk redhat-rpm-config libsysfs >> >> >> >> Thanks for any help >> >> >> >> Malcolm >> >> >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> ewg mailing list >> [email protected] >> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg >> > > _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
