Re: Is there a simple way to install rdma-core other than making a package?

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

 



On 8/12/20 12:14 PM, Bart Van Assche wrote:
> On 2020-08-11 20:41, Bob Pearson wrote:
>> There doesn't seem to be a documented way to make install rdma-core, at least in the README file. However trying the obvious
>>
>> $ bash build.sh
>> $ cd build
>> $ sudo make install
>>
>> seems to work, almost. After a few 100 lines of promising output I get
>>
>> CMake Error at librdmacm/cmake_install.cmake:76 (file):
>>   file INSTALL cannot find
>>   "/home/rpearson/src/rdma-core-git/build/lib/librdmacm.so.1.3.31.0": No such
>>   file or directory.
> 
> This is how I do this myself:
> 
> export EXTRA_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=1" &&
>     mkdir -p build &&
>     cd build &&
>     cmake -G Ninja CFLAGS="-O0 -g" -DCMAKE_INSTALL_PREFIX=/usr .. &&
>     ninja &&
>     ninja install
> 
> Bart.
> 
Thanks, I'll try it.



[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