[ofa-general] [Fwd: ofed 1.2.5 installation issue (rpm build error)]
Rajiv Raja
Rajiv.Raja at Sun.COM
Wed Sep 5 20:28:40 PDT 2007
-------- Original Message --------
Subject: ofed 1.2.5 installation issue (rpm build error)
Date: Wed, 05 Sep 2007 20:22:15 -0700
From: Rajiv Raja <Rajiv.Raja at Sun.COM>
Reply-To: Rajiv.Raja at Sun.COM
To: nsn-pv-magnum at Sun.COM
Hi,
I am trying to install OFED 1.2.5 on two machines (x86), one having Red
Hat 5 and the other SUSE10 SP1.
I went through the OFED README and installed all the prerequisite rpms
as mentioned.
Inspite of this, the build process fails with the following error:
===============================
Building InfiniBand Software RPMs. Please wait...
Building ofa_user RPMs. Please wait...
Running rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define
'_prefix /usr' --define 'build_root /var/tmp/OFED' --define
'configure_options --with-dapl --with-ipoibtools --with-libcxgb3
--with-libibcm --with-libibcommon --with-libibmad --with-libibumad
--with-libibverbs --with-libipathverbs --with-libmlx4 --with-libmthca
--with-opensm --with-librdmacm --with-libsdp --with-openib-diags
--with-qlvnictools --with-sdpnetstat --with-srptools --with-mstflint
--with-perftest --with-tvflash --sysconfdir=/etc
--mandir=/usr/share/man' --define 'configure_options32 --with-dapl
--with-ipoibtools --with-libcxgb3 --with-libibcm --with-libibcommon
--with-libibmad --with-libibumad --with-libibverbs --with-libipathverbs
--with-libmlx4 --with-libmthca --with-opensm --with-librdmacm
--with-libsdp --with-openib-diags --with-qlvnictools --with-sdpnetstat
--with-srptools --sysconfdir=/etc --mandir=/usr/share/man' --define
'build_32bit 1' --define '_mandir /usr/share/man'
/tmp/ib/OFED-1.2.5/SRPMS/ofa_user-1.2.5-0.src.rpm
-
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir
/var/tmp/OFEDRPM' --define '_prefix /usr' --define 'build_root
/var/tmp/OFED' --define 'configure_options --with-dapl --with-ipoibtools
--with-libcxgb3 --with-libibcm --with-libibcommon --with-libibmad
--with-libibumad --with-libibverbs --with-libipathverbs --with-libmlx4
--with-libmthca --with-opensm --with-librdmacm --with-libsdp
--with-openib-diags --with-qlvnictools --with-sdpnetstat --with-srptools
--with-mstflint --with-perftest --with-tvflash --sysconfdir=/etc
--mandir=/usr/share/man' --define 'configure_options32 --with-dapl
--with-ipoibtools --with-libcxgb3 --with-libibcm --with-libibcommon
--with-libibmad --with-libibumad --with-libibverbs --with-libipathverbs
--with-libmlx4 --with-libmthca --with-opensm --with-librdmacm
--with-libsdp --with-openib-diags --with-qlvnictools --with-sdpnetstat
--with-srptools --sysconfdir=/etc --mandir=/usr/share/man' --define
'build_32bit 1' --define '_mandir /usr/share/man'
/tmp/ib/OFED-1.2.5/SRPMS/ofa_user-1.2.5-0.src.rpm"
See log file: /tmp/OFED.build.6297.log
==================================
In the log file, I find the error to be related to c++ compiler not
being able to generate executables.
====================
configure: creating cache
/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/configure.cache
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 g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error:
C++ compiler cannot create executables
See `config.log' for more details.
Failed to execute cd libibcommon && ./configure
--cache-file=/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/configure.cache
--disable-libcheck --disable-console-socket --prefix /usr --libdir
/usr/lib64 --mandir=/usr/share/man --sysconfdir=/etc
error: Bad exit status from /var/tmp/rpm-tmp.47389 (%install)
====================
I am attaching the log file along with a config file which has details
about this error.
Note that the same error is seen across Red Hat 5 as well as Suse 10.
Anyone on how to fix this?
Thanks,
Rajiv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OFED.build.6297.log
Type: text/x-log
Size: 293300 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070905/0ce6cd9c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 7223 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070905/0ce6cd9c/attachment-0001.bin>
More information about the general
mailing list