[Mono-dev] make --disable-mcs-build fails
Miguel de Icaza
miguel at novell.com
Tue May 5 11:40:34 EDT 2009
Hello,
I added a check to configure to prevent the documentation from
building in this scenario.
> I run into this problem too when targeting the ARM platform with —
> disable-mcs-build: the managed assemblies are built on a speedy
> x86_64 machine rather than the ARM handheld. I figured it was just
> some problem with ARM/Android builds that I looked further into.
> Anyways, your build is actually complete at that point, as “docs” is
> the last thing that is built in the list of targets in the Makefile.
> (I actually usually just remove the docs part from the Makefile
> altogether to suppress that error)
>
> Koush
>
>
> On 5/4/09 9:15 PM, "Cambell Prince" <cambell.prince at gmail.com> wrote:
>
> I'm trying to build mono, but without building mcs. This is mainly to
> support the debian packaging. However, it fails when it tries to
> build
> the mono docs as it needs mscorlib.dll. Can I build mono without
> building the docs as well? Any other thoughts appreciated.
>
> ./configure --prefix=/usr/local --disable-mcs-build
>
> make EXTERNAL_MCS=false EXTERNAL_RUNTIME=false
>
> make[2]: Entering directory `/home/cambell/src/mono-2.4/docs'
> cd . && make -f docs.make topdir=../mcs convert.exe
> make[3]: Entering directory `/home/cambell/src/mono-2.4/docs'
> MCS [net_2_0] convert.exe
> The assembly mscorlib.dll was not found or could not be loaded.
> It should have been installed in the
> `/usr/local/lib/mono/2.0/mscorlib.dll' directory.
> make[3]: *** [convert.exe] Error 1
> make[3]: Leaving directory `/home/cambell/src/mono-2.4/docs'
> make[2]: *** [convert.exe] Error 2
> make[2]: Leaving directory `/home/cambell/src/mono-2.4/docs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/cambell/src/mono-2.4'
> make: *** [all] Error 2
>
> TIA
> Cambell
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090505/de9db576/attachment-0001.html
More information about the Mono-devel-list
mailing list