Last active
December 12, 2018 18:37
-
-
Save tonymorony/10f684c10ef36c3a403d80f5b5408225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deps | |
------------------- | |
sudo yum install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl | |
Installed partial packages which have similar name in CentOS reps ^^ (just copypasted from Ubuntu installation manual as step0 so most of the packages above will not be installed) | |
sudo yum groupinstall 'Development Tools' | |
Then run ^^ to install most of the deps | |
sudo yum install git pkgconfig automake autoconf ncurses-devel python wget gtest-devel gcc libtool patch lbzip2 curl-devel | |
more deps ^^ | |
Compiling fresh gcc | |
------------------- | |
wget http://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.3.0/gcc-7.3.0.tar.gz | |
tar zxf gcc-7.3.0.tar.gz | |
cd gcc-7.3.0 | |
./contrib/download_prerequisites | |
./configure --disable-multilib --enable-languages=c,c++ | |
sudo make -j 4 | |
sudo make install | |
To run komodod have to point libs for fresh gcc: | |
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment