[Opensim-users] Opensim compile error under Mono 2.10
Ken Hall
kjhall55 at gmail.com
Thu Apr 3 03:53:42 UTC 2014
Pointing out again that opensim-7112ee0.tar.gz compiles successfully. Is
the use of "ConcurrentDictionary" new with this later level?
[ken at osgrid ken]$ mono --version
Mono JIT compiler version 2.10.8 (tarball Sat Aug 3 13:17:40 UTC 2013)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors.
www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: debugger softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
[nant]
/data/osgrid-build/opensim-6557eba/OpenSim/Framework/OpenSim.Framework.dll.b
uild build
Buildfile:
file:///data/osgrid-build/opensim-6557eba/OpenSim/Framework/OpenSim.Framewor
k.dll.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
build:
[echo] Build Directory is
/data/osgrid-build/opensim-6557eba/OpenSim/Framework/bin/Debug
[mkdir] Creating directory
'/data/osgrid-build/opensim-6557eba/OpenSim/Framework/bin/Debug'.
[csc] Compiling 125 files to
'/data/osgrid-build/opensim-6557eba/OpenSim/Framework/bin/Debug/OpenSim.Fram
ework.dll'.
[csc] The compiler for "Mono 2.0 Profile" does not support
limiting the platform on which the compiled code can run.
[csc]
/data/osgrid-build/opensim-6557eba/OpenSim/Framework/Animation.cs(38,18):
warning CS0659: `OpenSim.Framework.Animation' overrides
Object.Equals(object) but does not override Object.GetHashCode()
[csc]
/data/osgrid-build/opensim-6557eba/OpenSim/Framework/Util.cs(2032,24): error
CS0246: The type or namespace name `ConcurrentDictionary' could not be
found. Are you missing a using directive or an assembly reference?
[csc] Compilation failed: 1 error(s), 1 warnings
BUILD FAILED - 0 non-fatal error(s), 3 warning(s)
/data/osgrid-build/opensim-6557eba/OpenSim/Framework/OpenSim.Framework.dll.b
uild(6,6):
External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code
was 1)
Total time: 0.8 seconds.
-----Original Message-----
From: opensim-users-bounces at lists.berlios.de
[mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of Justin
Clark-Casey
Sent: Wednesday, April 02, 2014 8:30 PM
To: opensim-users at lists.berlios.de
Subject: Re: [Opensim-users] Opensim compile error under Mono 2.10
ConcurrentDictionary was introduced with .NET 4 but it should be present
under Mono 2.10. It builds fine with my stock
2.10.8.1 under Ubuntu and release notes suggest it was in Mono 2.8 already.
So 2 things I would also suggest off the top of my head.
1) Simply sanity check, are you absolutely sure you're using mono 2.10?
What does mono --version output?
2) If everything should be okay, you could post a bigger snippet of the
compile failure. I would want to check that it indicates you are building
against the .NET 4 framework and not something earlier. "nant" posts the
.net fw info explicitly. "xbuild" does not but it should be detectable via
"/reference:/usr/lib/mono/4.0/System.dll" and similar.
On 03/04/14 00:50, Michael Emory Cerquoni wrote:
> what about libmono*
>
>
> On Wed, Apr 2, 2014 at 7:43 PM, Ken Hall <kjhall55 at gmail.com
<mailto:kjhall55 at gmail.com>> wrote:
>
> Yep.____
>
> __ __
>
> mono-data-postgresql-2.10.8-5.fc20.x86_64____
>
> mono-extras-2.10.8-5.fc20.x86_64____
>
> mono-devel-2.10.8-5.fc20.x86_64____
>
> monodoc-devel-2.10.8-5.fc20.x86_64____
>
> mono-data-oracle-2.10.8-5.fc20.x86_64____
>
> mono-winfx-2.10.8-5.fc20.x86_64____
>
> mono-mvc-2.10.8-5.fc20.x86_64____
>
> monodoc-2.10.8-5.fc20.x86_64____
>
> mono-web-devel-2.10.8-5.fc20.x86_64____
>
> mono-data-sqlite-2.10.8-5.fc20.x86_64____
>
> mono-web-2.10.8-5.fc20.x86_64____
>
> mono-addins-0.6.2-8.fc20.x86_64____
>
> mono-nunit-devel-2.10.8-5.fc20.x86_64____
>
> mono-mvc-devel-2.10.8-5.fc20.x86_64____
>
> mono-core-2.10.8-5.fc20.x86_64____
>
> mono-winforms-2.10.8-5.fc20.x86_64____
>
> mono-wcf-2.10.8-5.fc20.x86_64____
>
> mono-nunit-2.10.8-5.fc20.x86_64____
>
> mono-locale-extras-2.10.8-5.fc20.x86_64____
>
> mono-data-2.10.8-5.fc20.x86_64____
>
> __ __
>
> __ __
>
> __ __
>
> *From:*opensim-users-bounces at lists.berlios.de
<mailto:opensim-users-bounces at lists.berlios.de>
> [mailto:opensim-users-bounces at lists.berlios.de
<mailto:opensim-users-bounces at lists.berlios.de>] *On Behalf Of
> *Michael Emory Cerquoni
> *Sent:* Wednesday, April 02, 2014 3:25 PM
>
>
> *To:* OpenSim Users Mailing List
> *Subject:* Re: [Opensim-users] Opensim compile error under Mono
> 2.10____
>
> __ __
>
> what about mono-devel and mono-extras are they installed too?____
>
> __ __
>
> On Wed, Apr 2, 2014 at 3:16 PM, Ken Hall <kjhall55 at gmail.com
> <mailto:kjhall55 at gmail.com>> wrote:____
>
> This is Fedora 20, using the packages from the distro. There's no
"mono-complete", but I installed all mono
> packages for x86_64.____
>
> ____
>
> 7112ee0 from March 11 builds successfully, it's only the
> latest level, 6557eba that doesn't.____
>
> ____
>
> Maybe I'll wait for the next level and see if that corrects
> it.____
>
> ____
>
> ____
>
> *From:*opensim-users-bounces at lists.berlios.de
<mailto:opensim-users-bounces at lists.berlios.de>
> [mailto:opensim-users-bounces at lists.berlios.de
<mailto:opensim-users-bounces at lists.berlios.de>] *On Behalf Of
> *Michael Emory Cerquoni
> *Sent:* Wednesday, April 02, 2014 2:42 PM
> *To:* OpenSim Users Mailing List
> *Subject:* Re: [Opensim-users] Opensim compile error under
> Mono 2.10____
>
> ____
>
> Make sure you have mono-complete installed if your doing it
> from repository.____
>
> ____
>
> On Wed, Apr 2, 2014 at 2:22 PM, Marcus Llewellyn
<marcus.llewellyn at gmail.com
> <mailto:marcus.llewellyn at gmail.com>> wrote:____
>
> I just grabbed opensim-6557eba.tar.gz from OSgrid's website,
and compiled it under Mono 2.10.8.1 without a
> problem on Debian 7. Just for giggles, I also compiled it
under Mono 3.2.8 successfully. Perhaps you're
> missing a dependency?____
>
> ____
>
> On Wed, Apr 2, 2014 at 12:28 PM, Ken Hall
> <kjhall55 at gmail.com <mailto:kjhall55 at gmail.com>> wrote:____
>
> Compiling the latest version (6557eba) from the OSGRID
> web site under Mono 2.10, I get the following:____
>
> ____
>
> [csc]
/data/osgrid-build/opensim-6557eba/OpenSim/Framework/Util.cs(2032,24): error
CS0246: The type or
> namespace name `ConcurrentDictionary' could not be found.
Are you missing a using directive or an
> assembly reference?____
>
> [csc] Compilation failed: 1
> error(s), 1 warnings____
>
> ____
>
> Never had problems compiling before, nothing in Mantis.
Does this look like something changed, or a bug
> that I should report? Wondering if anyone else has
> seen this.____
>
> ____
>
> Thanks____
>
> ____
>
> ____
>
> ____
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
<mailto:Opensim-users at lists.berlios.de>
>
> https://lists.berlios.de/mailman/listinfo/opensim-users____
>
> ____
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
<mailto:Opensim-users at lists.berlios.de>
>
> https://lists.berlios.de/mailman/listinfo/opensim-users____
>
>
>
>
> --
> Michael Emory Cerquoni ____
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
<mailto:Opensim-users at lists.berlios.de>
> https://lists.berlios.de/mailman/listinfo/opensim-users____
>
>
>
>
> --
> Michael Emory Cerquoni ____
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>
>
> --
> Michael Emory Cerquoni
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
Opensim-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users
More information about the Opensim-users
mailing list