Hi, The build process for mono-basic is as follows:
1. Build Microsoft.VisualBasic.dll on windows using MS.NET for both 1.1 and 2.0. Save those in mono-basic-[[version]].win4.novell.x86.zip. 2. Build the runtime and the vbnc compiler on linux. Then, remove the runtime, and inject the runtime files that were built on windows. The issue (afaik) is that vbnc isn't able to emit 1.1 assemblies, so we must use the assemblies built on windows. So, you can either build the runtime on windows, or you can grab the runtime files out of the noarch rpm that I build using rpm2cpio: -------------- $ rpm2cpio ../mono-basic-1.2.3.1-0.novell.noarch.rpm | cpio -idv usr/bin/vbnc usr/lib/mono/1.0/Microsoft.VisualBasic.dll usr/lib/mono/2.0/Microsoft.VisualBasic.dll usr/lib/mono/2.0/extract-source.exe usr/lib/mono/2.0/extract-source.exe.mdb usr/lib/mono/2.0/vbnc.exe usr/lib/mono/2.0/vbnc.exe.mdb usr/lib/mono/2.0/vbnc.rsp usr/lib/mono/gac/Microsoft.VisualBasic usr/lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a usr/lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll 2330 blocks ----------------- You'll need the following files: usr/lib/mono/1.0/Microsoft.VisualBasic.dll usr/lib/mono/2.0/Microsoft.VisualBasic.dll usr/lib/mono/gac/Microsoft.VisualBasic usr/lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a usr/lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll Let me know if you have any questions, Wade On Tue, 2007-02-27 at 16:04 +0100, Stijn Hoop wrote: > Hi, > > I was trying to rewrite the provided .spec file for mono-basic to be a > bit more FC6 friendly, when I encountered the below snippet in the > %build section. Apologies for the email mangling, for a better look see > the full file at > > http://www.go-mono.com/download/noarch/mono-basic/1.2.3.1/mono-basic.spec > > %%% > # Get both, one will fail, one won't > f="mono-basic-1.2.3.1-0.win4.novell.x86.zip" > p="win-4-i386/mono-basic/1.2.3.1/$f" > wget \ > http://monobuild1.boston.ximian.com/~wberrier/zip_packages/$p \ > || true > wget \ > http://monobuild1.boston.ximian.com/~wberrier/snapshot_zip_packages/$p \ > || true > > if [ ! -e "$f" ] ; then > false > fi > > unzip mono-basic-1.2.3.1-0.win4.novell.x86.zip > %%% > > My questions: > - what is this .zip that's not a source? > - is that the one that's used in the %install section, where a .dll > 'built by vbnc' is removed in lieu of a mysterious other dll that I > can't find after building mono-basic myself? > > Or am I just lost in a twisty little maze of spec files and assemblies, > all alike? > > --Stijn > _______________________________________________ > Mono-vb mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-vb _______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
