CESNET / Netopeer2GUI

Web-based NETCONF management center
Apache License 2.0
25 stars 11 forks source link

The option 'ENABLE_PYTHON' of libnetconf2 CMakeLists.txt #26

Open karnyang opened 1 year ago

karnyang commented 1 year ago

Hi, I follow the libnetconf2 installation steps, But when I run the python3 backend/, an error 'cannot find netconf2' $ git clone -b devel https://github.com/CESNET/libnetconf2 $ mkdir -p libnetconf2/build && cd libnetconf2/build $ cmake -DENABLE_PYTHON=ON .. This option 'ENABLE_PYTHON' is not available in the CMakeLists.txt. so netconf2 is not compiled. I want to know how to solve it, thanks!

SmiVan commented 1 month ago

Hi, @karnyang, since this project appears to have been abandoned several years ago, you will need to build the old versions of the libraries which still provided these python bindings.

I have documented the likely required versions for that variant of libnetconf2 in my comment here: https://github.com/CESNET/libnetconf2/issues/408#issuecomment-2176386742