[Opensim-users] Opensim compile error under Mono 2.10

Justin Clark-Casey jjustincc at googlemail.com
Thu Apr 3 00:30:24 UTC 2014


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



More information about the Opensim-users mailing list