#ricp Compling rit-plt #ricp


babu rajagopal
 

Hello everyone,
I'm trying to compile the ric-plt from source. I'm facing some issue w.r.t o1 compilation:

- Looking for stdatomic.h
-- Looking for stdatomic.h - found
-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - found
-- Looking for pthread_rwlockattr_setkind_np
-- Looking for pthread_rwlockattr_setkind_np - found
-- Found OpenSSL: /usr/local/opt/openssl/lib (found version "1.1.1")
-- OPENSSL found, required for TLS
CMake Error at /usr/local/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find LibSSH: Found unsuitable version "0.7.0", but required is at
  least "0.7.1" (found /usr/include)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindLibSSH.cmake:113 (find_package_handle_standard_args)
  CMakeLists.txt:153 (find_package)
 
 
-- Configuring incomplete, errors occurred!
See also "/opt/dev/libnetconf2/build/CMakeFiles/CMakeOutput.log".
See also "/opt/dev/libnetconf2/build/CMakeFiles/CMakeError.log".
The command '/bin/sh -c cd /opt/dev &&       git clone https://github.com/CESNET/libnetconf2.git &&       cd libnetconf2 && mkdir build && cd build &&       cmake -DCMAKE_BUILD_TYPE:String="Release" -DENABLE
_BUILD_TESTS=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/ .. &&       make -j2 &&       make install &&       ldconfig' returned a non-zero code: 1

There is a compilation while trying to compile rit-plt/o1. Anyone please help to get around this comiplation issue.

Thanks,
Babu 


Thoralf Czichy
 

hi,

 

There’s this patch for the issue. It’s still in review, and we seem to have issues with getting the automatic build verification to work.

 

“libssh seems to be outdated. Here is a fix for the issue: https://gerrit.o-ran-sc.org/r/c/ric-plt/o1/+/4597

 

Thoralf

 

From: main@... <main@...> On Behalf Of babu rajagopal via lists.o-ran-sc.org
Sent: Monday, August 24, 2020 4:57 PM
To: main@...
Subject: [oran-sc] #ricp Compling rit-plt

 

Hello everyone,
I'm trying to compile the ric-plt from source. I'm facing some issue w.r.t o1 compilation:

- Looking for stdatomic.h

-- Looking for stdatomic.h - found

-- Looking for pthread_mutex_timedlock

-- Looking for pthread_mutex_timedlock - found

-- Looking for pthread_rwlockattr_setkind_np

-- Looking for pthread_rwlockattr_setkind_np - found

-- Found OpenSSL: /usr/local/opt/openssl/lib (found version "1.1.1")

-- OPENSSL found, required for TLS

CMake Error at /usr/local/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

  Could NOT find LibSSH: Found unsuitable version "0.7.0", but required is at

  least "0.7.1" (found /usr/include)

Call Stack (most recent call first):

  /usr/local/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)

  CMakeModules/FindLibSSH.cmake:113 (find_package_handle_standard_args)

  CMakeLists.txt:153 (find_package)

 

 

-- Configuring incomplete, errors occurred!

See also "/opt/dev/libnetconf2/build/CMakeFiles/CMakeOutput.log".

See also "/opt/dev/libnetconf2/build/CMakeFiles/CMakeError.log".

The command '/bin/sh -c cd /opt/dev &&       git clone https://github.com/CESNET/libnetconf2.git &&       cd libnetconf2 && mkdir build && cd build &&       cmake -DCMAKE_BUILD_TYPE:String="Release" -DENABLE

_BUILD_TESTS=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/ .. &&       make -j2 &&       make install &&       ldconfig' returned a non-zero code: 1


There is a compilation while trying to compile rit-plt/o1. Anyone please help to get around this comiplation issue.

Thanks,
Babu