12-10-2015, 02:30 PM
Hello All,
I am not sure where to put these instructions so I will put them here for now.
To get cuberite to install on Centos 6.7 I did the following:
First we need to install the devtools-2 repo by running this command:
Next we to actually installed devtools (including c++):
Then we enter the devtoolset SCL command for the build enviroment:
If no errors were encounter there you should be able to compile with centos 6.7 by doing either of the following commands:
Or if you already have the cuberite download:
I did see warnings but it seems to work.
Hope this helps...
I am not sure where to put these instructions so I will put them here for now.
To get cuberite to install on Centos 6.7 I did the following:
First we need to install the devtools-2 repo by running this command:
Code:
sudo wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
Next we to actually installed devtools (including c++):
Code:
yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
Code:
scl enable devtoolset-2 bash
If no errors were encounter there you should be able to compile with centos 6.7 by doing either of the following commands:
Code:
sh -c "$(wget -O - https://raw.githubusercontent.com/cuberite/cuberite/master/compile.sh)"
Or if you already have the cuberite download:
Code:
cd cuberite
./compile.sh
I did see warnings but it seems to work.
Hope this helps...