[Mono-dev] Problems Building Mono 1.1.12.1 on Windows

Jim Purbrick jimpurbrick at yahoo.co.uk
Tue Jan 10 19:31:31 EST 2006


Hi Jonathan (all),

> Do you have any anti-virus software installed? I
> (had) Norton installed and I could only build if
Norton was 
> shutoff.

Bingo! I did have Norton 2005 AV installed and now
I've got rid of it I'm not seeing the build process
hang anymore. I would have spent ages fiddling with
cygwin and never have found the problem if you hadn't
pointed me in the right direction! Thanks Jonathan!

However, I'm still having problems building Mono on
Windows. I've tried building the 1.1.12.1 and 1.1.13
source trees on the Monowin cygwin installations with
both 1.1.12.1 and 1.1.13 windows mono installations
mounted as /usr/local and here are the errors I get:

Building mono 1.1.12.1 with mono 1.1.12.1 as
/usr/local and
building mono 1.1.13 with mono 1.1.12.1 as /usr/local:

make[8]: Entering directory
`/home/Jim/mono-1.1.13/mcs/class/Microsoft.VisualBas
ic'
MONO_PATH="../../class/lib/net_1_1_bootstrap;$MONO_PATH"
/home/Jim/mono-1.1.13/r
untime/mono-wrapper 
../../class/lib/net_1_1_bootstrap/ilasm.exe /debug
/out:../
../class/lib/default/Microsoft.VisualBasic.dll /dll
fixup/default/Microsoft.Visu
alBasic.il
Assembling 'fixup/default/Microsoft.VisualBasic.il' ,
no listing file, to dll --
> '../../class/lib/default/Microsoft.VisualBasic.dll'

syntax error, got token `ID'
Error at: line (1) column (5)

Unhandled Exception: Mono.ILASM.yyParser.yyException:
irrecoverable syntax error

in <0x00f6b> Mono.ILASM.ILParser:yyparse (yyInput
yyLex)
in <0x0008c> Mono.ILASM.ILParser:yyparse (yyInput
yyLex, System.Object yyd)
in <0x001eb> Mono.ILASM.Driver+DriverMain:ProcessFile
(System.String file_path)
make[8]: ***
[../../class/lib/default/Microsoft.VisualBasic.dll]
Error 1

Building mono 1.1.13 with mono 1.1.13 as /usr/local:

make[8]: Entering directory
`/home/Jim/mono-1.1.13/mcs/class/System.Security'
Creating
../../build/deps/default_System.Security.dll.response
...
MONO_PATH="../../class/lib/default;$MONO_PATH"
/home/Jim/mono-1.1.13/runtime/mon
o-wrapper  ../../class/lib/default/mcs.exe
/codepage:28591  /nologo /optimize -d
:NET_1_1 -d:ONLY_1_1 /debug+ /debug:full /noconfig
-nowarn:618 -r:mscorlib.dll -
r:System.dll -r:System.Xml.dll -debug+ -target:library
-out:../../class/lib/defa
ult/System.Security.dll 
@../../build/deps/default_System.Security.dll.response
System.Security.Cryptography.Xml\Reference.cs(45,18):
warning CS0169: The privat
e field
`System.Security.Cryptography.Xml.Reference.stream' is
assigned but its
value is never used
System.Security.Cryptography.Xml\XmlDsigEnvelopedSignatureTransform.cs(44,16):
w
arning CS0169: The private field
`System.Security.Cryptography.Xml.XmlDsigEnvelo
pedSignatureTransform.comments' is assigned but its
value is never used
System.Security.Cryptography.Xml\XmlDsigXsltTransform.cs(47,16):
warning CS0169:
 The private field
`System.Security.Cryptography.Xml.XmlDsigXsltTransform.commen
ts' is assigned but its value is never used
Compilation succeeded - 3 warning(s)
MONO_PATH="../../class/lib/net_1_1_bootstrap;$MONO_PATH"
/home/Jim/mono-1.1.13/r
untime/mono-wrapper 
../../class/lib/net_1_1_bootstrap/sn.exe -q -R
../../class/
lib/default/System.Security.dll ../../class/mono.snk
/home/Jim/mono-1.1.13/libtool: line 1: &#9787;:
command not found

Unhandled Exception:
System.UnauthorizedAccessException: Access to the path
'\'
is denied.
in <0x0015e> System.IO.FileStream:.ctor (System.String
name, FileMode mode, File
Access access, FileShare share, Int32 bufferSize,
Boolean isAsync, Boolean anony
mous)
in <0x0001f> System.IO.FileStream:.ctor (System.String
name, FileMode mode, File
Access access, FileShare share)
in (wrapper remoting-invoke-with-check)
System.IO.FileStream:.ctor (string,Syste
m.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x00024> System.IO.File:Open (System.String path,
FileMode mode, FileAccess
access, FileShare share)
in <0x00028> Mono.Tools.SN:ReadFromFile (System.String
fileName)
in <0x0088e> Mono.Tools.SN:Main (System.String[] args)
make[8]: ***
[../../class/lib/default/System.Security.dll] Error 1

If anyone could shine some light on these problems I'd
appreciate it!

Cheers,

Jim.


		
___________________________________________________________ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com



More information about the Mono-devel-list mailing list