Mellanox/mstflint

Configuration does not check for the presence of infiniband libs/headers

blochl opened this issue · 2 comments

The ./configure stage passes with no errors, but the build fails for missing infiniband/verbs.h, if rdma-core is not installed.

Hi blochl,

We are aware about the issue and working on getting it resolved.
Would you mind sharing the build log, info about Linux distribution you are using as well as the version of Linux kernel?
What mstflint branch/commit you are using to build?

Meanwhile, your options are:

  • you may mitigate the issue by installing libibverbs-dev.
  • you may find all mstflint dependencies in the https://github.com/Mellanox/mstflint/blob/master_devel/debian/control
  • you may use dpkg-buildpackage way of building - it will explicitly show you if any dependencies are missed on your machine before building:
    > dpkg-buildpackage -uc -us
    > dpkg -i ../mstflint_.deb
    > dpkg -i ../mstflint-dkms
    _all.deb

The proposed fix is in #713.