[Mono-devel-list] Problems building mono from CVS

Raja R Harinath rharinath at novell.com
Wed Sep 1 01:21:04 EDT 2004


Hi,

Rogerio Pereira <rogerio.araujo at gmail.com> writes:

> This is the output of build processes after put -x option in
> _tmpints/bin/mono script:
>
> MONO_PATH="../../class/lib/default:$MONO_PATH" mono  ../../mcs/mcs.exe
>   -d:NET_1_1 -d:ONLY_1_1 -g/noconfig /r:mscorlib.dll /target:library
> /out:System.dll @System.dll.sources
> + builddir=/tmp/cvs/.NET/mono
> + tmpinst=/tmp/cvs/.NET/mono/_tmpinst
> + test -z ../../class/lib/default:/opt/mono/lib:/opt/mono/lib/mono/gtk-sharp
> + MONO_PATH=../../class/lib/default:/opt/mono/lib:/opt/mono/lib/mono/gtk-sharp:/tmp/cvs/.NET/mono/_tmpinst/lib
> + MONO_CFG_DIR=/tmp/cvs/.NET/mono/_tmpinst/etc
> + export MONO_PATH MONO_CFG_DIR
> + exec /tmp/cvs/.NET/mono/libtool --mode=execute
> /tmp/cvs/.NET/mono/mono/mini/mono --config
> /tmp/cvs/.NET/mono/data/config ../../mcs/mcs.exe -d:NET_1_1
> -d:ONLY_1_1 -g /noconfig /r:mscorlib.dll /target:library
> /out:System.dll @System.dll.sources
> cannot open assembly "--config"
> make[3]: *** [../../class/lib/default/System.dll] Error 2
> make[3]: Leaving directory `/tmp/cvs/.NET/mcs/class/System'
> make[2]: *** [all.real] Error 2
> make[2]: Leaving directory `/tmp/cvs/.NET/mcs/class/System'
> make[1]: *** [mcs-do-short-build] Error 1
> make[1]: Leaving directory `/tmp/cvs/.NET/mono'
> make: *** [bootstrap] Error 2

So, it looks like the in-tree 'mono' binary isn't recognizing the
--config option.  

  * Try '(cd mono && make clean) && make bootstrap' to see if this is a
    transient behaviour/mis-compilation.

  * Edit _tmpinst/bin/mono and add a --profile before the --config flag.
    Any flag will do: we just want to see if there's a problem with the
    option processing.

- Hari



More information about the Mono-devel-list mailing list