ERROR AGAIN :(: [Mono-dev] Mono Compile Error in Solaris 8

Nit Bha nithelp at gmail.com
Mon Aug 22 19:04:45 EDT 2005


ahh!  I bet I have to install egd or prngd for solaris.  I don't think
we have /dev/ranom or /dev/urandom here.  Let me try it out!  I bet
thats it.

Do you know how much is left in the compile?  sigh.. :)  hopefully
i'll get through this.. :)  hehe.

On 8/22/05, Peter Williams <peter at newton.cx> wrote:
> This means that the Mono runtime couldn't set up the random number
> generator. On Linux systems, I believe this works by reading from the
> special device files /dev/random or /dev/urandom; maybe on Solaris they
> aren't readable by nonprivileged users. Probably the runtime needs to be
> taught how to get random bytes from Solaris.
> 
> Peter
> 
> On Mon, 2005-08-22 at 17:42 -0500, Nit Bha wrote:
> > Hey Peter!
> >
> > Yep, that was the error.  I just reupdated cc to 3.4.2 instead of
> > 2.9.5, and now its going again.  But just got another error, care to
> > take a look.  I had gcc installed that was 3.4.2 earlier, but for soem
> > reason 2.9.5 cc was still there..  Anyway this is the new error, and I
> > have no clue what its doing here.
> >
> >
> >
> > make[8]: Entering directory
> > `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/class/System.XML'
> > ../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay
> > >System.Xml.XPath/Parser.cs
> > ../../jay/jay: 21 rules never reduced
> > ../../jay/jay: 1 shift/reduce conflict, 42 reduce/reduce conflicts.
> > sed "s/\%start Expr/\%start Pattern/" System.Xml.XPath/Parser.jay
> > >Mono.Xml.Xsl/PatternParser.jay
> > echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternParser.cs
> > ../../jay/jay -ct Mono.Xml.Xsl/PatternParser.jay <
> > ../../jay/skeleton.cs >>Mono.Xml.Xsl/PatternParser.
> > cs
> > ../../jay/jay: 3 rules never reduced
> > ../../jay/jay: 1 shift/reduce conflict, 46 reduce/reduce conflicts.
> > echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternTokenizer.cs
> > cat System.Xml.XPath/Tokenizer.cs >>Mono.Xml.Xsl/PatternTokenizer.cs
> > MONO_PATH="../../class/lib/basic:$MONO_PATH"
> > /export/home/users/niteesh/mono/mono-1.1.8.3/runtime/mono
> > -wrapper  ../../class/lib/basic/mcs.exe   -d:NET_1_1 -d:ONLY_1_1
> > -d:BOOTSTRAP_WITH_OLDLIB -debug /noco
> > nfig /lib:/usr/local/lib /noconfig /unsafe /r:mscorlib.dll
> > /r:System.dll /nowarn:0162 /nowarn:0618 /no
> > warn:0612 /target:library /out:System.Xml.dll
> > System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs
> >  Mono.Xml.Xsl/PatternTokenizer.cs @System.Xml.dll.sources
> >
> > Unhandled Exception:
> > System.Security.Cryptography.CryptographicException: Couldn't access
> > random sourc
> > e.
> > in <0x00060> System.Security.Cryptography.RNGCryptoServiceProvider:Check ()
> > in <0x00034> System.Security.Cryptography.RNGCryptoServiceProvider:.ctor ()
> > in <0x000b0> System.Guid:FastNewGuidArray ()
> > in <0x0008c> System.Reflection.Emit.ModuleBuilder:.ctor
> > (System.Reflection.Emit.AssemblyBuilder assb,
> > System.String name, System.String fullyqname, Boolean emitSymbolInfo,
> > Boolean transient)
> > in <0x000d8> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
> > (System.String name, System.St
> > ring fileName, Boolean emitSymbolInfo, Boolean transient)
> > in <0x00020> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
> > (System.String name, System.St
> > ring fileName, Boolean emitSymbolInfo)
> > in <0x00450> Mono.CSharp.CodeGen:Init (System.String name,
> > System.String output, Boolean want_debuggin
> > g_support)
> > in <0x00a5c> Mono.CSharp.Driver:MainDriver (System.String[] args)
> > in <0x0000c> Mono.CSharp.Driver:Main (System.String[] args)
> > make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 1
> > make[8]: Leaving directory
> > `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/class/System.XML'
> > make[7]: *** [do-all] Error 2
> > make[7]: Leaving directory
> > `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/class/System.XML'
> > make[6]: *** [all-recursive] Error 1
> > make[6]: Leaving directory
> > `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/class'
> > make[5]: *** [all-recursive] Error 1
> > make[5]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> > make[4]: *** [profile-do--basic--all] Error 2
> > make[4]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> > make[3]: *** [profiles-do--all] Error 2
> > make[3]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> > make[2]: *** [all-local] Error 2
> > make[2]: Leaving directory
> > `/export/home/users/niteesh/mono/mono-1.1.8.3/runtime'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3'
> > make: *** [all] Error 2
> >
> >
> --
> Peter Williams                          peter at newton.cx
> 
> "[Ninjas] are cool; and by cool, I mean totally sweet."
>                              -- REAL Ultimate Power
>



More information about the Mono-devel-list mailing list