fixed install script issues with grpcio-tools and updated documentation

This commit is contained in:
Blake Harnden 2020-07-11 15:00:09 -07:00
parent e704483527
commit 68ff7a86c8
2 changed files with 5 additions and 3 deletions

View file

@ -232,9 +232,11 @@ git clone https://github.com/coreemu/core.git
### Install grpcio-tools
Python module grpcio-tools is currently needed to generate gRPC protobuf code.
Specifically leveraging 1.27.2 to avoid compatibility issues with older versions
of pip pulling down binary files.
```shell
sudo python3 -m pip install grpcio-tools
python3 -m pip install --user grpcio==1.27.2 grpcio-tools==1.27.2
```
### Build and Install

View file

@ -86,7 +86,7 @@ if [ -z "${reinstall}" ]; then
echo "installing core system dependencies"
sudo apt install -y automake pkg-config gcc libev-dev ebtables iproute2 \
python${ubuntu_py} python${ubuntu_py}-dev python3-pip python3-tk tk libtk-img ethtool autoconf
python3 -m pip install grpcio-tools==1.27.2
python3 -m pip install --user grpcio==1.27.2 grpcio-tools==1.27.2
echo "installing ospf-mdr system dependencies"
sudo apt install -y libtool gawk libreadline-dev
install_ospf_mdr
@ -108,7 +108,7 @@ if [ -z "${reinstall}" ]; then
echo "installing core system dependencies"
sudo yum install -y automake pkgconf-pkg-config gcc gcc-c++ libev-devel iptables-ebtables iproute \
python${centos_py} python${centos_py}-devel python3-pip python3-tkinter tk ethtool autoconf
python3 -m pip install grpcio-tools==1.27.2
python3 -m pip install --user grpcio==1.27.2 grpcio-tools==1.27.2
echo "installing ospf-mdr system dependencies"
sudo yum install -y libtool gawk readline-devel
install_ospf_mdr