Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenR] The OpenR install script does not work on Ubuntu 20.04 #116

Open
jadinm opened this issue Aug 29, 2021 · 0 comments
Open

[OpenR] The OpenR install script does not work on Ubuntu 20.04 #116

jadinm opened this issue Aug 29, 2021 · 0 comments

Comments

@jadinm
Copy link
Collaborator

jadinm commented Aug 29, 2021

The OpenR install script does not work on Ubuntu 20.04.

Though it was not sufficient, the first steps to debug it is to remove python2 dependencies and update gcc version:

diff --git a/ipmininet/install/build_openr-rc-20190419-11514.sh b/ipmininet/install/build_openr-rc-20190419-11514.sh
index 3823a67..b1f3264 100755
--- a/ipmininet/install/build_openr-rc-20190419-11514.sh
+++ b/ipmininet/install/build_openr-rc-20190419-11514.sh
@@ -3,9 +3,9 @@
 set -exo pipefail
 ### Install packages for Debian-based OS ###
 
-apt-get update && apt-get install -yq autoconf-archive bison build-essential cmake curl flex git gperf joe libboost-all-dev libcap-dev libdouble-conversion-dev libevent-dev libgflags-dev libgoogle-glog-dev libkrb5-dev libpcre3-dev libpthread-stubs0-dev libnuma-dev libsasl2-dev libsnappy-dev libsqlite3-dev libssl-dev libtool netcat-openbsd pkg-config sudo unzip wget python3-venv python-setuptools python3-setuptools python-pip python3-pip ccache
-apt-get install -yq gcc-'5' g++-'5'
-update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-'5' 40 --slave /usr/bin/g++ g++ /usr/bin/g++-'5'
+apt-get update && apt-get install -yq autoconf-archive bison build-essential cmake curl flex git gperf joe libboost-all-dev libcap-dev libdouble-conversion-dev libevent-dev libgflags-dev libgoogle-glog-dev libkrb5-dev libpcre3-dev libpthread-stubs0-dev libnuma-dev libsasl2-dev libsnappy-dev libsqlite3-dev libssl-dev libtool netcat-openbsd pkg-config sudo unzip wget python3-venv python3-setuptools python3-pip ccache
+apt-get install -yq gcc-'7' g++-'7'
+update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-'7' 40 --slave /usr/bin/g++ g++ /usr/bin/g++-'7'
 update-alternatives --config gcc
 
 FOLLY_REV="3ceffd7d145be3c85a2aae39f99eb86ea730bdcc"

fizz still cannot be compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant