How I got Cuberite to compile on Centos 6.7
#7
(12-12-2015, 03:10 AM)Safwat Wrote: Apparently it's called gcc-c++.

I'll might need to tweak compile.sh a bit.


So I ran the command as shown in the link to install the gcc-c++ on my CentOS 6.7. The intresting thing is that It was already installed from the Development Tools, yet it was still the wrong version for my version of CentOS.

[root@localhost ~]# sudo yum install gcc-c++
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.nac.net
* extras: mirror.team-cymru.org
* updates: mirror.tocici.com

base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Package gcc-c++-4.4.7-16.el6.x86_64 already installed and latest version
Nothing to do
[/code]

By the way this is looking to me:

If you use
Code:
sudo yum groupinstall "Development Tools"
for CentOS 7 you should be good to go.

With 6.7 the instructions at the top still seem the only way to get it to compile with warnings.

--chrobi
Reply
Thanks given by:


Messages In This Thread
RE: How I got Cuberite to compile on Centos 6.7 - by chrobione - 12-12-2015, 03:51 AM



Users browsing this thread: 3 Guest(s)