[ofa-general] [Fwd: ofed 1.2.5 installation issue (rpm build error)]

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Thu Sep 6 01:35:01 PDT 2007


Rajiv Raja wrote:
> -
> 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
> ==================================
> 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
> 
> 

Hi,
 From the attached config.log:
./configure: line 2067: g++: command not found

Try to install g++.

Regards,
Vladimir



More information about the general mailing list