[Mono-list] Error building mcs-0.29 from source (on Linux)

George Kodinov gkodinov@openlinksw.co.uk
Wed, 03 Dec 2003 13:35:34 +0200


Hi,

this is fixed in the current Mono CVS.

Best Regards,
George Kodinov

Randy J. Ray wrote:

> make[2]: Entering directory 
> `/usr/local/src/Mono/mcs-0.29/class/ByteFX.Data'
> MONO_PATH="../../class/lib:$MONO_PATH" mono  ../../mcs/mcs.exe   
> -d:NET_1_1 -g /
> noconfig /r:mscorlib.dll /r:System.dll /r:System.Xml.dll 
> /r:System.Data.dll /
> r:ICSharpCode.SharpZipLib.dll /r:System.Design.dll 
> /r:System.Drawing.dll /r:
> System.Windows.Forms.dll /res:mysqlclient/Designers/command.bmp /res:
> mysqlclient/Designers/connection.bmp 
> /res:mysqlclient/Designers/dataadapter.
> bmp /target:library /out:../../class/lib/ByteFX.Data.dll 
> @ByteFX.Data.dll.
> sources
>  Unhandled Exception: System.IO.FileNotFoundException: Could not find 
> file "..
> \..\bytefx.snk"
> in <0x002fa> System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.
> FileAccess,System.IO.FileShare,int,bool)
> in <0x00086> System.IO.FileStream:.ctor (string,System.IO.FileMode)
> in <0x00065> (wrapper remoting-invoke-with-check) 
> System.IO.FileStream:.ctor (string,System.IO.FileMode)
> in <0x00214> System.Reflection.Emit.AssemblyBuilder:SetCustomAttribute 
> (System.Reflection.Emit.CustomAttributeBuilder)
> in <0x00df9> Mono.CSharp.Attribute:ApplyAttributes 
> (Mono.CSharp.EmitContext,
> object,object,Mono.CSharp.Attributes)
> in <0x001f9> Mono.CSharp.RootContext:EmitCode ()
> in <0x0081f> Mono.CSharp.Driver:MainDriver (string[])
> in <0x0001b> Mono.CSharp.Driver:Main (string[])
>  make[2]: *** [../../class/lib/ByteFX.Data.dll] Error 1
> make[2]: Leaving directory 
> `/usr/local/src/Mono/mcs-0.29/class/ByteFX.Data'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/Mono/mcs-0.29/class'
> make: *** [all-recursive] Error 1
>
>
> My first concern was that the path to bytefx.snk used \ rather than / 
> for a separator. But assuming that mcs handles this in a 
> platform-independant fashion, there is no bytefx.snk in the dist area, 
> either as part of the tar-
> file or generated during the build process.
>
> Randy


-- 
George Kodinov               Email : gkodinov@openlinksw.co.uk
Developer                    Web   : http://www.openlinksw.com
OpenLink Software            Phone : +359 32 637 475
XML & E-Business Infrastructure Technology Providers