[Mono-dev] Building from Source Fails with mcs: Command not found
cyd
chaselton at gmail.com
Thu May 21 11:39:14 UTC 2015
Done. Results were:
make[3]: Entering directory `/bld/mono/mono-4.0.0/mono/mini'
MONO_PATH=/bld/mono/mono-4.0.0/mcs/class/lib/net_4_5
../../runtime/mono-wrapper /bld/mono/mono-4.0.0/mcs/class/lib/build/mcs.exe
-unsafe -nowarn:0162 -out:TestDriver.dll -target:library TestDriver.cs
Illegal instruction
I'm running 'make clean && make' in the same folder to see what pops up
akoeplinger wrote
> build.exe is just managed code, so my guess is something is wrong with the
> Mono runtime.
> You can run the runtime tests ("make check" in the mono/mono folder) and
> see if they pass.
>
>> Date: Thu, 21 May 2015 04:26:50 -0700
>> From:
> chaselton@
>> To:
> mono-devel-list at .ximian
>> Subject: Re: [Mono-dev] Building from Source Fails with mcs: Command not
>> found
>>
>> Is the issue with something built before build.exe attempts to run,
>> something wrong with build.exe or with build.exe on android?
>>
>>
>> akoeplinger wrote
>> > The basic.exe in monolite is mcs. I think you're heading down the wrong
>> > path, judging from your log it tries a system-wide mcs first (as
>> expected)
>> > and then falls back to monolite because Mono isn't installed.
>> > Invoking monolite's basic.exe fails though with "Illegal instruction",
>> > which points to some runtime issue.
>> >
>> > -- Alex
>> >
>> >> Date: Thu, 21 May 2015 03:38:02 -0700
>> >> From:
>>
>> > chaselton@
>>
>> >> To:
>>
>> > mono-devel-list at .ximian
>>
>> >> Subject: Re: [Mono-dev] Building from Source Fails with mcs: Command
>> not
>> >> found
>> >>
>> >> More information:
>> >>
>> >> I examined the mcs and mono files in _tmpdir/bin after realizing they
>> >> were
>> >> created on the fly...they are shell scripts. The mono script sets up
>> >> some
>> >> env variables...and does some other stuff I haven't looked to closely
>> at
>> >> yet. The mcs script is this:
>> >>
>> >> #! /bin/sh
>> >> exec "/bld/mono/mono-4.0.0/runtime/_tmpinst/bin/mono"
>> >> "/bld/mono/mono-4.0.0/mcs/class/lib/build/mcs.exe" "$@"
>> >>
>> >> That's a space between the shebang and /bin/sh...and the second
>> >> directory...mcs/class/lib/build...doesn't exist. The directory
>> >> mcs/class/lib/monolite does...but it doesn't contain mcs.exe...it
>> >> contains
>> >> build.exe and some other files.
>> >>
>> >> Thoughts? Are the generated scripts incorrect or should monolite
>> include
>> >> a
>> >> copy of mcs.exe
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://mono.1490590.n4.nabble.com/Building-from-Source-Fails-with-mcs-Command-not-found-tp4666000p4666007.html
>> >> Sent from the Mono - Dev mailing list archive at Nabble.com.
>> >> _______________________________________________
>> >> Mono-devel-list mailing list
>> >>
>>
>> > Mono-devel-list at .ximian
>>
>> >> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>> >
>> > _______________________________________________
>> > Mono-devel-list mailing list
>>
>> > Mono-devel-list at .ximian
>>
>> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://mono.1490590.n4.nabble.com/Building-from-Source-Fails-with-mcs-Command-not-found-tp4666000p4666009.html
>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>> _______________________________________________
>> Mono-devel-list mailing list
>>
> Mono-devel-list at .ximian
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at .ximian
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
--
View this message in context: http://mono.1490590.n4.nabble.com/Building-from-Source-Fails-with-mcs-Command-not-found-tp4666000p4666012.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list