[Mono-dev] hiccup on building Mono on cygwin from SVN

Gary Thomas Gary.Thomas at ioko.com
Thu Nov 22 04:14:46 EST 2007


I had the same problem - fortunately, the solution is trivial.

 

See http://www.codeproject.com/useritems/mono_on_windows.asp

 

Unfortunately, TortoiseSVN doesn't allow you to specify export switches.
So, in this case open the c:/cygwin/download/mono/mcs/mkinstalldirs file
in Notepad++ and click the Format > Convert to UNIX format. Then save
the file and close the editor.

 

Gary

 

________________________________

From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Paul
Austin
Sent: 21 November 2007 16:31
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] hiccup on building Mono on cygwin from SVN

 


I'm building Mono on Cygwin and running into a bit of  a bump. 
Though first I'd like to say thanks for the detailed instructions from
Andreia site, they have been a great help. 

 basic background: 
Installed mono for windows.  =>  1.2.5.1 in C:\Mono-1.2.5.2 
Installed cygwin per instruction ( omitting  make and glib2, setup
.bashrc) 
Installed the special make 3.80 from mono-project 
Got sources (mono and mcs) put them in c:\cygwin\usr\src\mono 

Autogen  ( seems to run fine) 
Make goes pretty far 
I had the typical CRLF problems described regarding mkinstalldir (
thanks again for the note).  Changed to LFs did a clean and tried again.

  
The main hiccup shows up when building System.XML 
A few lines from the log are below 

Any ideas? 
Thanks 
Paul Austin 

make[8]: Entering directory `/usr/src/mono/mcs/class/System.XML' 
Creating ../../build/deps/basic_System.Xml.dll.response ... 
../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay
>System.Xm 
l.XPath/Parser.cs 
C:\cygwin\usr\src\mono\mcs\jay\jay.exe: 21 rules never reduced 
C:\cygwin\usr\src\mono\mcs\jay\jay.exe: 1 shift/reduce conflict, 42
reduce/reduc 
e conflicts. 
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 
C:\cygwin\usr\src\mono\mcs\jay\jay.exe: 3 rules never reduced 
C:\cygwin\usr\src\mono\mcs\jay\jay.exe: 1 shift/reduce conflict, 46
reduce/reduc 
e 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"
/usr/src/mono/mono/runtime/mono-wra 
pper  ../../class/lib/basic/mcs.exe /codepage:65001  /nologo /optimize
-d:NET_1_ 
1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB /debug+ /debug:full /noconfig
-r:mscorlib 
.dll -r:System.dll -nowarn:0162,0618,0612,0642,1595 -target:library
-out:System. 
Xml.dll `echo System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs
Mono.Xml. 
Xsl/PatternTokenizer.cs | tr '/' '\\\\'`
@../../build/deps/basic_System.Xml.dll. 
response 
/usr/src/mono/mono/libtool: line 6847: LANG: command not found 
/usr/src/mono/mono/libtool: line 6847: LC_ALL: command not found 
/usr/src/mono/mono/libtool: line 6847: LC_CTYPE: command not found 
/usr/src/mono/mono/libtool: line 6847: LC_COLLATE: command not found 
/usr/src/mono/mono/libtool: line 6847: LC_MESSAGES: command not found 
Cannot open assembly ../../class/lib/basic/mcs.exe. 
make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 2 
make[8]: Leaving directory `/usr/src/mono/mcs/class/System.XML' 
make[7]: *** [do-all] Error 2 
make[7]: Leaving directory `/usr/src/mono/mcs/class/System.XML' 
make[6]: *** [all-recursive] Error 1 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071122/dc7fa38c/attachment.html 


More information about the Mono-devel-list mailing list