[Mono-aspnet-list] How to check/force ASP.NET to use Mono compiled from SVN trunk

Robert Jordan robertj at gmx.net
Wed Aug 12 14:23:39 EDT 2009


Diego Frata wrote:
> I noticed that and that's probably a bug. There's no release of mono with
> that version number. That version number is the official version number of
> Microsoft .NET 2.0.

This is not a bug. Mono must have the same official MS.NET
version numbers.

> Now, for pre-compiled web sites, did you upgrade your mod-mono?
> 
> http://anonsvn.mono-project.com/source/trunk/mod_mono
> <http://anonsvn.mono-project.com/source/trunk/mono>

And xsp: http://anonsvn.mono-project.com/source/trunk/xsp
which contains the managed part of mod_mono.

Robert

> 
> 
> 
> Hope  this helps
> 
> Diego Frata
> diego.frata at gmail.com
> 
> 
> On Wed, Aug 12, 2009 at 9:41 AM, Jan van der watt
> <janvanderwatt at gmail.com>wrote:
> 
>> Hi Diego,
>>
>> Thanks!
>> You noticed that TWO version numbers are displayed?
>>
>> *Version information: *
>> **Mono Version: 2.0.50727.42;
>> ASP.NET Version: 2.0.50727.42
>>
>> I get that the SECOND one is the ASP.NET version, but shouldn't the FIRST
>> one display the MONO version in use?
>>
>> I am still a little confused/suspicious, as pre-compiled web sites started
>> working in Mono 2.4 (i think). Yet, when I upload my pre-compiled version to
>> this "2.5" box, it DOES NOT WORK (i.e. the contents of the ASPX file is
>> displayed "This is a marker file generated by the precompilation tool, and
>> should not be deleted!"). If I upload the un-compiled pages, the site works,
>> of course.
>>
>> I expect this to be the case for 2.0, but since I compiled a 2.5 trunk, my
>> pre-compiled site SHOULD also work (like on my Mono 2.4 box), should it not?
>>
>> Thanks for the help.
>>
>> Best regards
>>
>> Jan
>>
>>
>> On Wed, Aug 12, 2009 at 10:24 PM, Diego Frata <diego.frata at gmail.com>wrote:
>>
>>> The 2.0.50727.42 identifies that you're running a website based on version
>>> 2.0 of ASP.NET. This has nothing to do with the version of mono that's
>>> installed on the machine.
>>>
>>> The version you're running is the one you saw when you # mono --version
>>> :-)
>>>
>>> Diego Frata
>>> diego.frata at gmail.com
>>>
>>>
>>> On Wed, Aug 12, 2009 at 9:03 AM, Jan van der watt <
>>> janvanderwatt at gmail.com> wrote:
>>>
>>>> Hi,
>>>> I hope this is the right forum. I am trying to test that a bug has been
>>>> fixed in the latest trunk (
>>>> https://bugzilla.novell.com/show_bug.cgi?id=507663).
>>>>
>>>> I installed MONO 2.0 from the openSuse DVD, then fetched the latest trunk
>>>> of mono from SVN, compiled it and installed it using:
>>>>
>>>>   $ svn co http://anonsvn.mono-project.com/source/trunk/mono
>>>>   $ svn co http://anonsvn.mono-project.com/source/trunk/mcs
>>>>   $ svn co http://anonsvn.mono-project.com/source/trunk/libgdiplus
>>>>
>>>>   $ cd mono
>>>>   $ ./autogen.sh --prefix=/usr/local
>>>>   $ make
>>>>   $ make install
>>>>
>>>> (it compiled OK, and most of the tests passed as well - well done to the
>>>> MONO team - it wasn't problematic at all, up to this point!).
>>>>
>>>> # mono --version
>>>> Mono JIT compiler version >>> 2.5 (/trunk/mono r139703 Tue Aug 11
>>>> 23:36:19 EST 2009) <<<
>>>> Copyright (C) 2002-2008 Novell, Inc and Contributors.
>>>> www.mono-project.com
>>>>         TLS:           __thread
>>>>         GC:            Included Boehm (with typed GC and Parallel Mark)
>>>>         SIGSEGV:       altstack
>>>>         Notifications: epoll
>>>>         Architecture:  x86
>>>>         Disabled:      none
>>>>
>>>> I take this to show that the Mono executable on the path is the one that
>>>> I built.
>>>>
>>>> However, when I get an error on my ASP.NET page (meaning the bug has not
>>>> been fixed), the versions reported are:
>>>>
>>>> *Version information: *Mono Version: >>> 2.0.50727.42; ASP.NET Version:
>>>> 2.0.50727.42 <<<
>>>>
>>>>
>>>>
>>>> So, now I'm not sure that the version that I compiled is in fact being
>>>> used.
>>>>
>>>> Am I just confused? Did I miss something? How do I tell Apache to use the
>>>> version I compiled, or did "make install" do that for me (by replacing the
>>>> mono 2.0 binaries)?
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> I'm running openSUSE 11.1, on a clean freshly installed virtual machine
>>>> (yesterday). Mono is used under Apache 2 (virtual host).
>>>>
>>>> Thanks,
>>>>
>>>> Jan
>>>>
>>>> _______________________________________________
>>>> Mono-aspnet-list mailing list
>>>> Mono-aspnet-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>>>
>>>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list