All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Suman Debnath <suman.14san-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: rdma-core make install is failing
Date: Thu, 6 Jul 2017 19:34:04 +0300	[thread overview]
Message-ID: <20170706163404.GE1528@mtr-leonro.local> (raw)
In-Reply-To: <CAGxzWdAvjAgeiRsR0UvArC0L+n_PbiuNJfoDvkWzV0Y3hypSeg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2919 bytes --]

On Thu, Jul 06, 2017 at 08:58:04PM +0530, Suman Debnath wrote:
> Greetings Team:
>
>
>
> I was trying to install rdma-core, on CentOS 7.2(Kernel 4.9.28)
>
> I'm not sure what I'm doing wrong but make install is searching for
> "/root/software/rdma-core-master/build/lib/libbnxt_re-rdmav2.so".
>
> After running build.sh I ran make install and get this error, I also
> checked the build.sh didn’t create this library
> (libbnxt_re-rdmav2.so):
>
>
>
> >> snippet <<
>
>
>
> -- Up-to-date: /usr/local/include/infiniband/cm.h
>
> -- Up-to-date: /usr/local/include/infiniband/cm_abi.h
>
> -- Up-to-date: /usr/local/lib64/libibcm.so.1.0.15
>
> -- Up-to-date: /usr/local/lib64/libibcm.so.1
>
> -- Up-to-date: /usr/local/lib64/libibcm.so
>
> -- Up-to-date: /root/software/rdma-core-master/build/etc/libibverbs.d/bnxt_re.driver
>
> CMake Error at providers/bnxt_re/cmake_install.cmake:62 (FILE):
>
>   file INSTALL cannot find
>
>   "/root/software/rdma-core-master/build/lib/libbnxt_re-rdmav2.so".
>
> Call Stack (most recent call first):
>
>   cmake_install.cmake:47 (INCLUDE)
>
>
>
>
>
> make: *** [install] Error 1
>
>
>
>
>
> >> snippet <<
>
>
>
> [root@target1 build]# ls lib/lib*
>
> lib/libcxgb3-rdmav2.so      lib/libibacmp.so       lib/libibumad.so.3
>       lib/libipathverbs-rdmav2.so  lib/libmlx5-rdmav2.so
> lib/libnes-rdmav2.so     lib/librdmacm.so.1.0.15
>
> lib/libcxgb4-rdmav2.so      lib/libibcm.so
> lib/libibumad.so.3.0.15   lib/libmlx4-rdmav2.so        lib/libmlx5.so
>         lib/libocrdma-rdmav2.so  lib/librspreload.so
>
> lib/libhfi1verbs-rdmav2.so  lib/libibcm.so.1       lib/libibverbs.so
>       lib/libmlx4.so               lib/libmlx5.so.1
> lib/libqedr-rdmav2.so    lib/librxe-rdmav2.so
>
> lib/libhns-rdmav2.so        lib/libibcm.so.1.0.15  lib/libibverbs.so.1
>       lib/libmlx4.so.1             lib/libmlx5.so.1.1.15
> lib/librdmacm.so         lib/libvmw_pvrdma-rdmav2.so
>
> lib/libi40iw-rdmav2.so      lib/libibumad.so
> lib/libibverbs.so.1.1.15  lib/libmlx4.so.1.0.15
> lib/libmthca-rdmav2.so  lib/librdmacm.so.1
>
> [root@target1 build]#
>
> [root@target1 build]#
>
>
>
> Am I missing something?

Yes,

The build.sh script is intended for the easy development and it builds the
library in place. In order to install the library, you should follow
one the following options:
1. (Preferable) Build RPM packages by using buildlib/cbuild script.
2. Write your custom build.sh script with correct paths and -DIN_PLACE=0

The "make install" command is not supposed to work on the result from build.sh.

Thanks

>
>
>
> Thank you.
>
> Regards,
>
> Suman++
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-07-06 16:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 15:28 rdma-core make install is failing Suman Debnath
     [not found] ` <CAGxzWdAvjAgeiRsR0UvArC0L+n_PbiuNJfoDvkWzV0Y3hypSeg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-06 15:37   ` Devesh Sharma
     [not found]     ` <CANjDDBibVGqa5xRwpwZcwOR-vtx-wf=5yW4Z4euD1uYk5Z79EA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-06 15:38       ` Devesh Sharma
2017-07-06 16:34   ` Leon Romanovsky [this message]
     [not found] ` <CANjDDBj4tSozHvEjqR1=QyydpH2iG7yBHU=FUyGj+oVn7Yvz+w@mail.gmail.com>
     [not found]   ` <CANjDDBj4tSozHvEjqR1=QyydpH2iG7yBHU=FUyGj+oVn7Yvz+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-09 16:42     ` Jason Gunthorpe
     [not found]       ` <20170709164203.GA3058-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-10  3:32         ` Devesh Sharma
2017-07-10  5:27         ` Leon Romanovsky
     [not found]           ` <20170710052711.GK1528-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-10 17:42             ` Jason Gunthorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170706163404.GE1528@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=suman.14san-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.