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

Rogerio Pereira rogerio.araujo at gmail.com
Wed Sep 1 07:32:53 EDT 2004


After put --profile option in _tmpinst/bin/mono i got the same error
but now with --profile

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:/opt/boo/bin
+ MONO_PATH=../../class/lib/default:/opt/mono/lib:/opt/mono/lib/mono/gtk-sharp:/opt/boo/bin:/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 --profile --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 "--profile"
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

Also, i've tried many mono snapshots since 11 August and i got the same problem.

Rogério

On Wed, 01 Sep 2004 10:51:04 +0530, Raja R Harinath
<rharinath at novell.com> wrote:
> 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
> 


-- 
Rogério Pereira Araújo
Webmaster / Programador / Pesquisador
C&S Computadores e Sistemas Ltda.
www.cisnet.com.br



More information about the Mono-devel-list mailing list