[Mono-devel-list] Problems building mono from CVS
Rafael Teixeira
monoman at gmail.com
Tue Aug 31 15:13:42 EDT 2004
Well looking at that output
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"
it sure looks like mono (the runtime executable) is not recognizing
properly the --config command-line option as documented in
http://www.gotmono.com/docs/tools/mono-cmdlo.html. I can´t access a
mono machine just now so you could check your mono man page and mono
--help, to see if it still should accept it and test-it by itself:
"mono --config /etc/mono/config /opt/mono/bin/mcs.exe", for instance.
Someone may have changed to single-dash, as some other programs in
mono now use (those using Mono.GetOptions accept both forms).
Hope it helps,
On Tue, 31 Aug 2004 09:29:11 -0400, Rogerio Pereira
<rogerio.araujo at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
--
Rafael "Monoman" Teixeira
---------------------------------------
Cognition is not a representation of an objectively existing world
but is a bringing forth of a world in the process of living.
-- Fritjof Capra, citing
Humberto Maturana and Francisco Varella's "Santiago Theory of Cognition"
More information about the Mono-devel-list
mailing list