Re: rdma-core make install is failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux