Thank you, when I make test, it compiled. However, when I make run-test
I got thefollowing error
$ make run-testok=:; make run-test-recursive || ok=false; make run-test-local || ok=false; $okmake[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; $okmake[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; $okmake[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 1make[5]: Leaving directory `/monosrc/mcs/mbas/Test/misc'make[4]: *** [do-run-test] Error 1make[4]: Leaving directory `/monosrc/mcs/mbas/Test/misc'make[3]: *** [run-test-recursive] Error 1make[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 1make[2]: Leaving directory `/monosrc/mcs/mbas/Test'make[1]: *** [run-test-recursive] Error 1make[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 [EMAIL PROTECTED] wrote:
You need to svn update and make/make installmcs/class/Mono.GetOptions, that mbas uses for command-line optionsprocessing.:)On 7/5/05, Toan Ly <[EMAIL PROTECTED]>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 [EMAIL PROTECTED] /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 /debu
g+
/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 <[EMAIL PROTECTED]>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.vbRafael Teixeira wrote: Your message says you've mistyped:
; /debug
full instead of /debug:fullJust write it correctly:)On 7/3/05,