<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Ram,</p>
<p>I fixed this in the install.pl by:</p>
<p><br>
</p>
<p>diff --git a/install.pl b/install.pl<br>
index 1cdfc02..1fd894b 100755<br>
--- a/install.pl<br>
+++ b/install.pl<br>
@@ -1038,7 +1038,7 @@ my %packages_info = (<br>
{ name => "perftest", parent => "perftest",<br>
selected => 0, installed => 0, rpm_exist =>
0, rpm_exist32 => 0,<br>
available => 1, mode => "user", dist_req_build
=> [],<br>
- dist_req_inst => [], ofa_req_build =>
["rdma-core"],<br>
+ dist_req_inst => [], ofa_req_build =>
["rdma-core-devel"],<br>
ofa_req_inst => ["rdma-core"],<br>
install32 => 0, exception => 0,
configure_options => '' },<br>
'perftest-debuginfo' =><br>
<br>
</p>
Thanks,<br>
Vladimir<br>
<br>
<div class="moz-cite-prefix">On 12/18/2017 07:29 PM, Amrani, Ram
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BN3PR07MB2578EC132B19AB982F73FD02F80E0@BN3PR07MB2578.namprd07.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Vlad,<o:p></o:p></p>
<p class="MsoNormal">I’m hitting an issue when building OFED
from git repos that complains about perftest:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>This is seen on screen:<o:p></o:p></u></p>
<p class="MsoNormal">[root@lbtlvb-pcie127 OFED-4.8-2-rx]#
./install.pl -c ofed-all.conf<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Below is the list of OFED packages that you
have chosen<o:p></o:p></p>
<p class="MsoNormal">(some may have been added by the installer
due to package dependencies):<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ofed-scripts<o:p></o:p></p>
<p class="MsoNormal">compat-rdma<o:p></o:p></p>
<p class="MsoNormal">rdma-core<o:p></o:p></p>
<p class="MsoNormal">libibverbs<o:p></o:p></p>
<p class="MsoNormal">librdmacm<o:p></o:p></p>
<p class="MsoNormal">libibumad<o:p></o:p></p>
<p class="MsoNormal">libibcm<o:p></o:p></p>
<p class="MsoNormal">perftest<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Uninstalling the previous version of OFED<o:p></o:p></p>
<p class="MsoNormal">Install ofed-scripts RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/ofed-scripts-4.8-2.1.g2af9969.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Build compat-rdma RPM<o:p></o:p></p>
<p class="MsoNormal">Running rpmbuild --rebuild --define
'_topdir /var/tmp//OFED_topdir' --nodeps --define '_dist
.rhel7u4' --define 'configure_options --with-core-mod
--with-user_mad-mod --with-user_access-mod
--with-addr_trans-mod --with-mlx4-mod --with-mlx4_en-mod
--with-mlx5-mod --with-qed-mod --with-firmware-mod
--with-qede-mod --with-qedr-mod' --define 'KVERSION
3.10.0-693.el7.x86_64' --define 'K_SRC
/lib/modules/3.10.0-693.el7.x86_64/source' --define 'K_SRC_OBJ
/lib/modules/3.10.0-693.el7.x86_64/build' --define '_release
2.1.g1b2e6e1.3.10.0_693.el7.x86_64' --define 'network_dir
/etc/sysconfig/network-scripts' --define '_prefix /usr'
--define '__arch_install_post %{nil}'
/tmp/OFED-4.8-2-rx/SRPMS/compat-rdma-4.8-2.1.g1b2e6e1.src.rpm<o:p></o:p></p>
<p class="MsoNormal">Install compat-rdma RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/compat-rdma-4.8-2.1.g1b2e6e1.3.10.0_693.el7.x86_64.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Build rdma-core RPM<o:p></o:p></p>
<p class="MsoNormal">Running rpmbuild --rebuild --define
'_topdir /var/tmp//OFED_topdir' --define 'dist %{nil}'
--target x86_64 --define '_prefix /usr' --define '_exec_prefix
/usr' --define '_sysconfdir /etc' --define '_usr /usr'
/tmp/OFED-4.8-2-rx/SRPMS/RH/rdma-core-16.0-1.src.rpm<o:p></o:p></p>
<p class="MsoNormal">Install rdma-core RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv --nodeps
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/rdma-core-16.0-1.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Install libibverbs RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibverbs-16.0-1.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Install librdmacm RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/librdmacm-16.0-1.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Install libibumad RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibumad-16.0-1.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Install libibcm RPM:<o:p></o:p></p>
<p class="MsoNormal">Running rpm -iv
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibcm-16.0-1.x86_64.rpm<o:p></o:p></p>
<p class="MsoNormal">Build perftest RPM<o:p></o:p></p>
<p class="MsoNormal">Running rpmbuild --rebuild --define
'_topdir /var/tmp//OFED_topdir' --define 'dist %{nil}'
--target x86_64 --nodeps --define '_prefix /usr' --define
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr
/usr'
/tmp/OFED-4.8-2-rx/SRPMS/perftest-4.1-0.2.g770623f.src.rpm<o:p></o:p></p>
<p class="MsoNormal">Failed to build perftest RPM<o:p></o:p></p>
<p class="MsoNormal">See
/tmp/OFED.65000.logs/perftest.rpmbuild.log<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>The file contents:</u><o:p></o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal">checking if g++ supports -c -o file.o...
(cached) yes<o:p></o:p></p>
<p class="MsoNormal">checking whether the g++ linker
(/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<o:p></o:p></p>
<p class="MsoNormal">checking dynamic linker characteristics...
(cached) GNU/Linux ld.so<o:p></o:p></p>
<p class="MsoNormal">checking how to hardcode library paths into
programs... immediate<o:p></o:p></p>
<p class="MsoNormal">checking for
x86_64-redhat-linux-gnu-ranlib... ranlib<o:p></o:p></p>
<p class="MsoNormal">checking for ANSI C header files...
(cached) yes<o:p></o:p></p>
<p class="MsoNormal">checking infiniband/verbs.h usability... no<o:p></o:p></p>
<p class="MsoNormal">checking infiniband/verbs.h presence... no<o:p></o:p></p>
<p class="MsoNormal">checking for infiniband/verbs.h... no<o:p></o:p></p>
<p class="MsoNormal">configure: error: ibverbs header files not
found<o:p></o:p></p>
<p class="MsoNormal">error: Bad exit status from
/var/tmp/rpm-tmp.suWGld (%build)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">RPM build errors:<o:p></o:p></p>
<p class="MsoNormal"> bogus date in %changelog: Sat Oct 21
2012 - <a class="moz-txt-link-abbreviated" href="mailto:idos@mellanox.com">idos@mellanox.com</a><o:p></o:p></p>
<p class="MsoNormal"> bogus date in %changelog: Sun May 14
2012 - <a class="moz-txt-link-abbreviated" href="mailto:idos@mellanox.com">idos@mellanox.com</a><o:p></o:p></p>
<p class="MsoNormal"> bogus date in %changelog: Sun Feb 02
2012 - <a class="moz-txt-link-abbreviated" href="mailto:idos@mellanox.com">idos@mellanox.com</a><o:p></o:p></p>
<p class="MsoNormal"> bogus date in %changelog: Sun Feb 02
2012 - <a class="moz-txt-link-abbreviated" href="mailto:idos@mellanox.com">idos@mellanox.com</a><o:p></o:p></p>
<p class="MsoNormal"> bogus date in %changelog: Mon Jan 01
2012 - <a class="moz-txt-link-abbreviated" href="mailto:idos@mellanox.com">idos@mellanox.com</a><o:p></o:p></p>
<p class="MsoNormal"> Bad exit status from
/var/tmp/rpm-tmp.suWGld (%build)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It seems as if the perftest aren’t built
against rdma-core that is included.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Ram<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>