Skip to content

Instantly share code, notes, and snippets.

@infovore
Created September 25, 2015 16:46
Show Gist options
  • Save infovore/6f38f8e76ce2b06df0a8 to your computer and use it in GitHub Desktop.
Save infovore/6f38f8e76ce2b06df0a8 to your computer and use it in GitHub Desktop.
sudo yum install -y epel-release
# we need this rpmforge release for libmad-devel:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
sudo yum install git cmake libmad-devel libsndfile-devel \
gd-devel unzip -y
# next, let's install boost
# from here: http://vicendominguez.blogspot.co.uk/2014/04/boost-c-library-rpm-packages-for-centos.html
sudo wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
sudo yum install boost-devel -y
# now, let's install new g++
sudo yum install scl-utils -y
cd
wget https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/epel-6-x86_64/download/rhscl-devtoolset-3-epel-6-x86_64.noarch.rpm
sudo yum install rhscl-devtoolset-3-epel-6-x86_64.noarch.rpm -y
sudo yum install devtoolset-3-gcc-c++ -y
# now enable devtoolset-3 to use its g++
scl enable devtoolset-3 bash
# now we should be able to install audiowaveform:
git clone https://github.com/bbcrd/audiowaveform.git
cd audiowaveform
wget https://googlemock.googlecode.com/files/gmock-1.7.0.zip
unzip gmock-1.7.0.zip
ln -s gmock-1.7.0 gmock
mkdir build
cd build
cmake ..
make
sudo make install
@karthiiivgn
Copy link

now, let's install new g++

sudo yum install scl-utils -y
cd
wget https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/epel-6-x86_64/download/rhscl-devtoolset-3-epel-6-x86_64.noarch.rpm

sudo yum install rhscl-devtoolset-3-epel-6-x86_64.noarch.rpm -y

sudo yum install devtoolset-3-gcc-c++ -y

its showing error host not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment