[Mono-dev] mono make install fails with Error 1

Cyd Haselton chaselton at gmail.com
Sun May 31 14:29:20 UTC 2015


I've finally managed to get mono to build from sources,  but make install invoked from the top build directory fails at the following point:

make[6]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System'
make install-local
WARNING: generic atexit() called from legacy shared library
make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System'
MONO_PATH="./../../class/lib/build:$MONO_PATH" /bld/mono/mono-4.0.0/runtime/mono-wrapper  ./../../class/lib/build/gacutil.exe /i ./../../class/lib/net_4_5/System.dll /f  /root /usr/mono/lib /package 4.5
make[7]: *** [install-local] Error 1
make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System'
make[6]: *** [do-install] Error 2

Error 1 is the only error thrown.

I can run this command without errors

MONO_PATH="./../../class/lib/build:$MONO_PATH" /bld/mono/mono-4.0.0/runtime/mono-wrapper  ./../../class/lib/build/gacutil.exe /i ./../../class/lib/net_4_5/System.dll /f  /root /usr/mono/lib /package 4.5

And I can run the final command in mono-wrapper without errors

/bld/mono/mono-4.0.0 $ /bld/mono/mono-4.0.0/libtool --verbose --mode=execute "mono/mini/mono" --config "/bld/mono/mono-4.0.0/runtime/etc/mono/config" "mcs/class/lib/build/gacutil.exe" /i mcs/class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 4.5

But running 'make install' fails.  Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150531/40201f3a/attachment.html>


More information about the Mono-devel-list mailing list