[Mono-list] Unhandled Exception on test compile
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Thu Jan 28 04:17:43 UTC 2016
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of k.joatmon
>
> I installed mono for one purpose, to run duplicati on LINUX. I got errors, so
> I started trying to troubleshoot them and this led me back to it being the
> mono install. I have searched for the errors on the nabbel site and web in
> general and do not find any clue as to the solution.
>
> The machine is running CentOS Linux release 7.2.1511 (Core)
What you've described sounds, at least approximately, like you've done things right. In order to help, I just created a fresh new centos7 VM, installed from the centos7 minimal DVD. Here are my exact steps:
sudo yum -y groupinstall base
sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
sudo yum -y install mono-complete
(43 packages)
mono --version
Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 04:43:41 EST 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
cat > hello.cs
using System;
public class HelloWorld
{
static public void Main ()
{
Console.WriteLine ("Hello Mono World");
}
}
mcs hello.cs
ls
hello.cs hello.exe
mono hello.exe
Hello Mono World
Works for me. What's different in your system? I tried both on the console text terminal, and ssh'd in from Terminal on OSX. Just in case there was some sort of weird terminal emulation thing messing with Console.
[eharvey at centos7 ~]$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[eharvey at centos7 ~]$ uname -a
Linux centos7 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
More information about the Mono-list
mailing list