netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Facing error while doing make install

Open AravindaSwamy opened this issue 1 year ago • 1 comments

Hi Team,

We are facing the below error while installing netopeer2.

-- Installing missing sysrepo modules (setup.sh)...
CMake Error at cmake_install.cmake:111 (message):
   OUTPUT:

   ERROR:
   [ERR] Data model "ietf-yang-library@2019-01-04" not found in local searchdirs.
   [ERR] Loading "ietf-yang-library" module failed.
   sysrepoctl error: Failed to connect (libyang error)
   For more details you may try to increase the verbosity up to "-v3".
   [ERR] Data model "ietf-yang-library@2019-01-04" not found in local searchdirs.
   [ERR] Loading "ietf-yang-library" module failed.
   sysrepoctl error: Failed to connect (libyang error)
   For more details you may try to increase the verbosity up to "-v3".


make: *** [Makefile:86: install] Error 1

Can you please help on this.

Thanks, Aravind.

AravindaSwamy avatar Apr 17 '24 13:04 AravindaSwamy

You have a mixup of sysrepo libraries/repositories that are using a different repository path. You need to clean it. The safest way is to completely uninstall sysrepo, run make sr_clean and then reinstall it.

michalvasko avatar Apr 17 '24 13:04 michalvasko