[Mono-dev] make --disable-mcs-build fails

Koushik K. Dutta koush at koushikdutta.com
Tue May 5 00:27:24 EDT 2009

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)


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[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

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090504/4b5b2775/attachment-0001.html 

More information about the Mono-devel-list mailing list