CESNET / libnetconf2

C NETCONF library
BSD 3-Clause "New" or "Revised" License
202 stars 146 forks source link

Unable to build libnetconf2 : make: *** [Makefile:100: install] Error 1 #465

Closed rishi-diwaker1 closed 7 months ago

rishi-diwaker1 commented 7 months ago

I have some issue while building libnetconf2 (make install), I have Ubuntu 22.04 and have downloaded all the dependencies and built them, please help

root@rishi:~/NetConfServer/libyang/sysrepo/libnetconf2/netopeer2# cd build/ root@rishi:~/NetConfServer/libyang/sysrepo/libnetconf2/netopeer2/build# make install [ 44%] Built target serverobj [ 61%] Built target netopeer2-server [100%] Built target netopeer2-cli Install the project... -- Install configuration: "Debug" -- Up-to-date: /usr/local/share/yang/modules/netopeer2 -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-subscribed-notifications@2019-09-09.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-yang-push@2019-09-09.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-interfaces@2018-02-20.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-network-instance@2019-01-21.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/nc-notifications@2008-07-14.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-netconf@2013-09-29.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-netconf-nmda@2019-01-07.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-ip@2018-02-22.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/notifications@2008-07-14.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-datastores@2018-02-14.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-netconf-monitoring@2010-10-04.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-yang-patch@2017-02-22.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-restconf@2017-01-26.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-yang-schema-mount@2019-01-14.yang -- Up-to-date: /usr/local/share/yang/modules/netopeer2/ietf-netconf-acm@2018-02-14.yang -- Up-to-date: /usr/local/share/netopeer2/scripts -- Up-to-date: /usr/local/share/netopeer2/scripts/common.sh -- Up-to-date: /usr/local/share/netopeer2/scripts/merge_config.sh -- Up-to-date: /usr/local/share/netopeer2/scripts/remove.sh -- Up-to-date: /usr/local/share/netopeer2/scripts/setup.sh -- Up-to-date: /usr/local/share/netopeer2/scripts/merge_hostkey.sh -- Up-to-date: /usr/local/sbin/netopeer2-server -- Up-to-date: /usr/local/share/man/man8/netopeer2-server.8 -- Up-to-date: /usr/local/lib/systemd/system/netopeer2-server.service -- Up-to-date: /etc/pam.d/netopeer2.conf -- Installing missing sysrepo modules... -- Generating a new RSA host key "genkey" if not already added... CMake Error at cmake_install.cmake:141 (message): scripts/merge_hostkey.sh failed: 1

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

michalvasko commented 7 months ago

Duplicate of CESNET/netopeer2#1541.