CiscoDevNet / ydk-gen

Generate model-driven APIs from YANG models
http://ciscodevnet.github.io/ydk-gen/
Apache License 2.0
136 stars 74 forks source link

YDK C++ core library install fails on CentOS 8 stream #1076

Closed fisher-m closed 1 year ago

fisher-m commented 1 year ago

Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.

Expected Behavior

Expect that the YDK C++ core library installs successfully with the commands listed in the Steps to Reproduce Section below.

Current Behavior

[fisher_m@localhost ydk-gen-master]$ export YDKGEN_HOME=pwd` [fisher_m@localhost ydk-gen-master]$ export PYTHON_VENV=$HOME/ydk_vne [fisher_m@localhost ydk-gen-master]$ ./install_ydk.sh --cpp --core --venv YDK-0.8.6.3 installation options:

Steps to Reproduce

cd ~/ydk-gen-master export YDKGEN_HOME=pwd export PYTHON_VENV=$HOME/ydk_vne ./install_ydk.sh --cpp --core --venv

System Information

Architecture = X86_64, VMWare Workstation VM OS = CentOS 8 stream g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-17) gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-17) Python 3.6.8 git version 2.31.1 pyang 2.5.3

ygorelik commented 1 year ago

This is not YDK software issue, but rather issue with the server communication with pypi.org. Check that you can reliably install python packages from that site and then repeat the installation steps.

fisher-m commented 1 year ago

Thanks for the feedback. I was able to get the YDK C++ core library to build after updating the URL in my pip.conf. Thanks again.