[Mono-dev] Recent xbuild fixes causing issues with finding mcs

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Feb 17 17:22:18 UTC 2014


TBH this seems like a runtime bug, it should not rely on itself being in PATH.

On 17 February 2014 09:34, Michael Franz <mvfranz at gmail.com> wrote:
> On Mon, Feb 17, 2014 at 7:38 AM, Rafael Teixeira <monoman at gmail.com> wrote:
>>
>> Michael Franz, please check if your custom built version of the "mono"
>> binary is in the path during the rest of the build, or that code Michael
>> Hutchinson pointed out will fail...
>>
> Adding the bin directory of my Mono installation to the PATH does solve the
> problem.  I can work with this, it is just a change in the usage.
>>
>> Hope it helps,
>>
>> Rafael Teixeira
>> O..:.)oooo
>>
>>
>> On Mon, Feb 17, 2014 at 2:50 AM, Michael Hutchinson
>> <m.j.hutchinson at gmail.com> wrote:
>>>
>>> No, this is not the same as launching exe files directly from the OS
>>> using binfmt-misc.
>>>
>>> If you launch an exe file *from Mono's implementation of
>>> Process.Start*, Mono will detect managed executables and run them with
>>> Mono automatically.
>>>
>>> https://github.com/mono/mono/blob/master/mono/io-layer/processes.c#L808
>>>
>>> On 16 February 2014 09:00, Michael Franz <mvfranz at gmail.com> wrote:
>>> >
>>> > On Sun, Feb 16, 2014 at 7:34 AM, "Andrés G. Aragoneses"
>>> > <knocte at gmail.com>
>>> > wrote:
>>> >>
>>> >> On 16/02/14 10:15, Michael Hutchinson wrote:
>>> >> > ... which automatically executes exe
>>> >> > files using Mono.
>>> >>
>>> >> Are you sure that statement applies to all distros? I read somewhere
>>> >> some time ago that the only distro so far that implemented the ability
>>> >> to run .exe files automatically by calling mono under the hood was
>>> >> Debian (and derivatives), by installing some system hook by default
>>> >> when
>>> >> mono packages are installed.
>>> >>
>>> >> Maybe Michael Franz is not using Debian? Or maybe that hook doesn't
>>> >> work
>>> >> for him because he's using a custom mono install (instead of debian
>>> >> packages)?
>>> >
>>> > I am using CentOS 6.5 with a locally built Mono installation.
>>> >
>>> > I have read about how you can modify the kernel to understand launching
>>> > Mono
>>> > applications -
>>> > http://www.mono-project.com/Guide:Running_Mono_Applications -
>>> > this was probably after I ran into this problem.  If this has become a
>>> > requirement to use Mono for development it should probably be
>>> > documented
>>> > somewhere.
>>> >
>>> >
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> 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
>>> >
>>>
>>>
>>>
>>> --
>>> Michael Hutchinson
>>> http://mjhutchinson.com
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>



-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-devel-list mailing list