[Mono-devel-list] make test error
Toan Ly
naotyl at yahoo.ca
Wed Jul 6 22:20:55 EDT 2005
Thank you, when I make test, it compiled. However, when I make run-test
I got the following error ....
$ make run-test
ok=:; make run-test-recursive || ok=false; make run-test-local || ok=false; $ok
make[1]: Entering directory `/monosrc/mcs/mbas'
make[2]: Entering directory `/monosrc/mcs/mbas/Test'
ok=:; make run-test-recursive || ok=false; make run-test-local || ok=false; $ok
make[3]: Entering directory `/monosrc/mcs/mbas/Test'
make[4]: Entering directory `/monosrc/mcs/mbas/Test/misc'
ok=:; make run-test-recursive || ok=false; make run-test-local || ok=false; $ok
make[5]: Entering directory `/monosrc/mcs/mbas/Test/misc'
make[5]: Leaving directory `/monosrc/mcs/mbas/Test/misc'
make[5]: Entering directory `/monosrc/mcs/mbas/Test/misc'
/monosrc/mono/runtime/mono-wrapper --debug WriteOK.exe --sayho /about -say:this
,that,those /say:what?
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `C:\devel\cygwin\monosrc\mono\mono\lib\mono
\1.0\mscorlib.dll' directory.
make[5]: *** [run-test-local] Error 1
make[5]: Leaving directory `/monosrc/mcs/mbas/Test/misc'
make[4]: *** [do-run-test] Error 1
make[4]: Leaving directory `/monosrc/mcs/mbas/Test/misc'
make[3]: *** [run-test-recursive] Error 1
make[3]: Leaving directory `/monosrc/mcs/mbas/Test'
make[3]: Entering directory `/monosrc/mcs/mbas/Test'
make[3]: Leaving directory `/monosrc/mcs/mbas/Test'
make[2]: *** [do-run-test] Error 1
make[2]: Leaving directory `/monosrc/mcs/mbas/Test'
make[1]: *** [run-test-recursive] Error 1
make[1]: Leaving directory `/monosrc/mcs/mbas'
make[1]: Entering directory `/monosrc/mcs/mbas'
make[1]: Leaving directory `/monosrc/mcs/mbas'
make: *** [do-run-test] Error 1
I checked in my mono folder which is 'C:\devel\cygwin\monosrc\mono', there's no such folder 'C:\devel\cygwin\monosrc\mono\mono\lib\'. I wonder how mono-wrapper locate mscorlib,
Rafael Teixeira <monoman at gmail.com> wrote:
You need to svn update and make/make install
mcs/class/Mono.GetOptions, that mbas uses for command-line options
processing.
:)
On 7/5/05, Toan Ly wrote:
> Hi Rafael Teixeira,
>
> Thank you for your response. I followed exactly your instruction but then it
> still give me the same error when I try to 'make test'. So I decided to 'svn
> update' the 'mbas' folder and 'make' and 'make test' but it gave me the
> following error
>
>
>
> lyT at lypride /monosrc/mcs/mbas
> $ make test
> make[1]: Entering directory `/monosrc/mcs/mbas/Test'
> make[2]: Entering directory `/monosrc/mcs/mbas/Test/misc'
> make test-local
> make[3]: Entering directory `/monosrc/mcs/mbas/Test/misc'
> vbc.exe /lib:../../../class/lib/default -d:NET_1_1
> -d:ONLY_1_1 /debug+ /debug:
> full --stacktrace --reference=Mono.GetOptions
> -r:System.Data,System.Messaging --
> main WriteOK WriteOK.vb WriteOK2.mbs RedimPreserve.vb AssemblyInfo.vb &>
> verbose
> .log
> Option debug can be used at most 1 times. Ignoring extras...
> MonoBASIC Compiler 0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
> --------
> THIS IS AN ALPHA SOFTWARE.
> --------
> make[3]: *** [WriteOK.exe] Error 1
> make[3]: Leaving directory `/monosrc/mcs/mbas/Test/misc'
> make[2]: *** [do-test] Error 2
> make[2]: Leaving directory `/monosrc/mcs/mbas/Test/misc'
> make[1]: *** [test-recursive] Error 1
> make[1]: Leaving directory `/monosrc/mcs/mbas/Test'
> error BC2001: Source file 'full' could not be found!!!
> at Mono.MonoBASIC.Report.RealError ()
> at Mono.MonoBASIC.Report.Error ()
> at Mono.Languages.GenericParser.Parse ()
> at Mono.Languages.Driver.ParseAllSourceFiles ()
> at System.MulticastDelegate.invoke_bool ()
> at Mono.Languages.Driver.Execute ()
> at Mono.Languages.Driver.Main ()
> make: *** [test-recursive] Error 1
>
> if there is something I missed out, please dont hesistate to point them
> out. thanks in advance,
>
>
>
> Rafael Teixeira wrote:
> Hi Toan Ly,
>
> Sorry there was a bug inside Mono.GetOptions that prevented mbas from
> accepting those forms (/debug:full or /debug:pdbonly).
>
> Attached is a newer version of that library in a compacted file, just
> uncompact:
>
> tar -jxf Mono.GetOptions.tar.bz2
>
> and install (as root) to the GAC with gacutil, like this:
>
> gacutil /i Mono.GetOptions.dll /f /gacdir /usr/lib /root /usr/lib
> /package 1.0
>
> It is also corrected in SVN if you prefer.
>
> Note that anyway mbas will just think /debug:full or I /debug:pdbonly
> are the same as /debug.
>
> Thanks for spotting that bug,
>
> On 7/4/05, Toan Ly wrote:
> > You are right, its my bad.It was /debug:full ...
> > and I still have the problem "error BC2001: Source file 'full' could not
> be
> > found!!!" that I dont know how to fix it...
> >
> > THIS IS AN ALPHA SOFTWARE.
> > --------
> > error BC2001: Source file 'full' could not be found!!!
> > Compilation failed: 1 Error(s), 0 warnings
> > Exit code: 1
> > FAIL: 5118.vb: compilation
> > *** vbc.exe /lib:../../../../class/lib/default -d:NET_1_1
> > -d:ONLY_1_1 /debug+ /
> > debug:full 5118.vb MainModule.vb
> >
> >
> >
> > Rafael Teixeira wrote:
> > Your message says you've mistyped:
> >
> > /debug full instead of /debug:full
> >
> > Just write it correctly
> >
> > :)
> >
> > On 7/3/05, Toan Ly wrote:
> > > Hello
> > >
> > > I have the following error. I suspect it was caused by /debug:full but I
> m
> > > not so sure. Please give me some directions, thank you in advance.
> > >
> > > vbc.exe /lib:../../../class/lib/default -d:NET_1_1
> > > -d:ONLY_1_1 /debug+ /debug
> > > full /target:library /out:rerrors_btest_default.dll
> > > /r:../../../class/lib/defau
> > > t/rerrors.dll
> > > -r:../../../class/lib/default/nunit.framework.dll
> > > -r:../../../cla
> > > s/lib/default/nunit.core.dll
> > > -r:../../../class/lib/default/nunit.util.dll @../
> > > ./../build/deps/rerrors_btest_default.dll.response
> > > Option debug can be used at most 1 times. Ignoring extras...
> > > MonoBASIC Compiler 0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
> > > --------
> > > THIS IS AN ALPHA SOFTWARE.
> > > --------
> > > error BC2001: Source file 'full' could not be found!!!
> > > Compilation failed: 1 Error(s), 0 warnings
> > > make[2]: *** [rerrors_btest_default.dll] Error 1
> > > make[2]: Target `test-local' not remade because of errors.
> > > make[2]: Leaving directory
> > `/monosrc/mcs/mbas/Test/rerrors'
> > > make[1]: *** [do-test] Error 2
> > > make[1]: Target `test' not remade because of errors.
> > > make[1]: Leavi ng directory
> > > `/monosrc/mcs/mbas/Test/rerrors'
> > > make: *** [test-recursive] Error 1
> > > make: Target `test' not remade because of errors.
> > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > >
> >
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >
> > >
> > >
> >
> >
> > --
> > Rafael "Monoman" Teixeira
> > ---------------------------------------
> > I'm trying to become a "Rosh Gadol" before my own eyes.
> > See http://www.joelonsoftware.com/items/2004/12/06.html
> for
> > enlightment.
> > It hurts!
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
>
>
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> I'm trying to become a "Rosh Gadol" before my own eyes.
> See http://www.joelonsoftware.com/items/2004/12/06.html for
> enlightment.
> It hurts!
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes.
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050706/f9de0fd0/attachment.html
More information about the Mono-devel-list
mailing list