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

Rogerio Pereira rogerio.araujo at gmail.com
Tue Aug 31 09:29:11 EDT 2004


Raja,

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

I hope this helps,

Rogério


On Tue, 31 Aug 2004 11:21:38 +0530, Raja R Harinath
<rharinath at novell.com> wrote:
> Hi,
> 
> Rogerio Pereira <rogerio.araujo at gmail.com> writes:
> 
> > I'm allways getting this error when i try to build Mono from CVS
> > (using make boostrap):
> >
> > make[3]: Entering directory `/tmp/cvs/.NET/mcs/mcs'
> > mcs   -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe cs-parser.cs
> > @mcs.exe.sources
> > cannot open assembly "--config"
> > make[3]: *** [mcs.exe] Error 2
> > make[3]: Leaving directory `/tmp/cvs/.NET/mcs/mcs'
> > make[2]: *** [all.real] Error 2
> > make[2]: Leaving directory `/tmp/cvs/.NET/mcs/mcs'
> > make[1]: *** [mcs-do-short-build] Error 1
> > make[1]: Leaving directory `/tmp/cvs/.NET/mono'
> > make: *** [bootstrap] Error 2
> >
> > What's wrong? Any ideas?
> >
> > Thanks for any answer,
> 
> Edit _tmpinst/bin/mono, and change the
> 
>   #! /bin/sh
> 
> to
> 
>   #! /bin/sh -x
> 
> and try 'make bootstrap' again.  It'll help debug what's breaking with
> this particular case.
> 
> - 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