Skip to content

mono centos6

Karl Tarbet edited this page Aug 4, 2016 · 10 revisions

Compiling Pisces on CentOS 6

Setup Mono

cd /etc/yum.repos.d

wget https://copr.fedoraproject.org/coprs/tpokorra/mono-opt/repo/epel-6/tpokorra-mono-opt-epel-6.repo

yum install epel-release wget libgdiplus mono-opt git

Trust of NuGet may be required

Restoring NuGet packages...
                                To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
                                WARNING: Error: TrustFailure (The authentication or decryption has failed.)

. /opt/mono/env.sh

mozroots --import --machine --sync

certmgr -ssl -m https://go.microsoft.com

certmgr -ssl -m https://nugetgallery.blob.core.windows.net

certmgr -ssl -m https://nuget.org

Build Pisces

cd /home/pisces

git clone https://github.com/usbr/Pisces.git

cd Pisces

. /opt/mono/env.sh

./build.sh

Reference:

https://copr.fedorainfracloud.org/coprs/tpokorra/mono-opt/

http://stackoverflow.com/questions/15181888/nuget-on-linux-error-getting-response-stream

Tested with

  • Mono JIT compiler version 4.4.0 (tarball Tue Jun 14 10:01:24 UTC 2016)
  • CentOS release 6.8 (Final)