How I got Cuberite to compile on Centos 6.7
#1
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:
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++
Then we enter the devtoolset SCL command for the build enviroment:
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...
Reply
Thanks given by:


Messages In This Thread
How I got Cuberite to compile on Centos 6.7 - by chrobione - 12-10-2015, 02:30 PM



Users browsing this thread: 1 Guest(s)