[Mono-dev] Mono 1.1.9.1 Windows Installer Released

Kornél Pál kornelpal at hotmail.com
Fri Sep 30 10:01:04 EDT 2005


Hi,

>still doesn't work. The problem here is that the MONO_CFG_DIR
>variable, which was
>set in the mono.bat file in the past, is now not set at all, so the
>runtime defaults to a
>value from the build environment, i.e.
>
>C:\cygwin\usr\local\etc\mono\1.0\machine.config ()
>
>I will try to fix this.

I suggested not to use batch files for mono.exe because I didn't know that
mono.exe uses hard coded paths and did not experience problems as I had the
cygwin installation as well, sorry for that. But I still think that wrapping
mono.exe using a .bat file is a bad solution.

I think these paths should be based on the actual path of mono.exe instead
of a hard coded path. In this case these variables could be used to specify
different paths that could be useful for debugging or other purposes.

A proposed solution: GetModuleFileName with NULL hModule returns the
executable path. The directory of executable should be assumed to be the bin
directory. Other directories like etc and lib should be used relative to
this path using ..\.

Kornél

----- Original Message -----
From: "Zoltan Varga" <vargaz at gmail.com>
To: "Wade Berrier" <wberrier at novell.com>
Cc: <mono-list at lists.ximian.com>; "Francisco Martinez"
<martinf at mfconsulting.com>; <mono-devel-list at lists.ximian.com>
Sent: Friday, September 30, 2005 3:48 PM
Subject: Re: [Mono-dev] Mono 1.1.9.1 Windows Installer Released


                                             Hi Wade,

   Some comments:

- could you add a fix to

http://bugzilla.ximian.com/show_bug.cgi?id=54677

This is really easy, basically an 'EXIT' statement needs to be added
to the end of all
.bat files

- also, bug

http://bugzilla.ximian.com/show_bug.cgi?id=75815

still doesn't work. The problem here is that the MONO_CFG_DIR
variable, which was
set in the mono.bat file in the past, is now not set at all, so the
runtime defaults to a
value from the build environment, i.e.

C:\cygwin\usr\local\etc\mono\1.0\machine.config ()

I will try to fix this.

- also, as Kornel said, the runtime should not be statically linked,
but instead it should be
  dynamically linked against a mono-1.dll file. This should be the
default in our build process, so I don't know why this isn't
happening. What configure arguments are you
using when building the runtime ?

                         Zoltan









On 9/30/05, Wade Berrier <wberrier at novell.com> wrote:
> Get 'em while it's hot:
>
> http://www.go-mono.com/archive/1.1.9.1_1/windows/mono-1.1.9.1-gtksharp-1.0.10-2.3.91-win32-0.exe
>
> Thanks for the suggestions and input.  There are improvements to be
> made, but this should do for now.  Let me know of any installer issues.
>
> Thanks Paco, you rock :)
>
>
> Wade
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list