CellAO + Mono on CentOS 7 (Fresh)

  • Posted on: 23 October 2017
  • By: Ashly

This Document is for CentOS 7

First you need to install Mono

 

sudo yum install yum-utils

sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A..."

sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos7/

sudo yum install  mono-complete-5.2.0.224-0.xamarin.1.epel7.x86_64

sudo yum install mono-devel 

Not sure why that last one is needed but for some reason if you don't do it, CellAO errors on build.

Now We'll install msbuild since xbuild is outdated.

sudo yum install msbuild

Then you will need to compile git from source following these instructions.

sudo yum install curl-devel

links https://www.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz

tar -zxvf git-2.9.5.tar.gz

cd git-2.9.6

sudo ./configure

sudo make

sudo make install

Then go ahead and clone cellao:

git clone  git clone -b master  https://gitlab.com/CellAO/CellAO.git 

once that's done you will need to update nuget:

cd CellAO/CellAO/.nuget/

mono NuGet.exe update -self

cd ..

It's a pretty fast update, then you type:

mono .nuget/NuGet.exe restore CellAO.sln

Once all the packages are installed you can now build CellAO for Mono

in your your CellAO/CellAO  directory type the following

msbuild Server/ChatEngine/ChatEngine.csproj

msbuild Server/ZoneEngine/ZoneEngine.csproj

msbuild Server/LoginEngine/LoginEngine.csproj