[Mono-list] Building Mono under Cygwin

Jim Purbrick jimpurbrick at yahoo.co.uk
Fri Sep 16 13:50:16 EDT 2005


I'm having a similar problem builing the mono 1.1.9
tarball on windows using cygwin with mcs and csc.exe
symlinked to my mono 1.1.7 windows installation.

Here are the errors:

make[8]: Entering directory
`/home/Jim/mono-1.1.9/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\home\Jim\mono-1.1.9\mcs\jay\jay.exe: 21
rules never reduced
C:\cygwin\home\Jim\mono-1.1.9\mcs\jay\jay.exe: 1
shift/reduce conflict, 42 reduc
e/reduce 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\home\Jim\mono-1.1.9\mcs\jay\jay.exe: 3 rules
never reduced
C:\cygwin\home\Jim\mono-1.1.9\mcs\jay\jay.exe: 1
shift/reduce conflict, 46 reduc
e/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"
/home/Jim/mono-1.1.9/runtime/mono-w
rapper  ../../class/lib/basic/mcs.exe  /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 -nowarn:0618 -nowarn:0612
-target:library -out:System.Xml.dll
`echo System.Xml.XPath/Parser.cs
Mono.Xml.Xsl/PatternParser.cs Mono.Xml.Xsl/Patt
ernTokenizer.cs | tr '/' '\\\\'`
@../../build/deps/basic_System.Xml.dll.response

make[8]: *** [../../class/lib/basic/System.Xml.dll]
Error 255
make[8]: Leaving directory
`/home/Jim/mono-1.1.9/mcs/class/System.XML'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory
`/home/Jim/mono-1.1.9/mcs/class/System.XML'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/home/Jim/mono-1.1.9/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/Jim/mono-1.1.9/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/Jim/mono-1.1.9/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/Jim/mono-1.1.9/mcs'
/home/Jim/mono-1.1.9/libtool: line 1:
/home/Jim/mono-1.1.9/mono/handles/semdel:
No such file or directory
/home/Jim/mono-1.1.9/libtool: line 1: exec:
/home/Jim/mono-1.1.9/mono/handles/se
mdel: cannot execute: No such file or directory
make[2]: *** [all-local] Error 1
make[2]: Leaving directory
`/home/Jim/mono-1.1.9/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Jim/mono-1.1.9'
make: *** [all] Error 2

Any ideas?

Cheers,

Jim.

--- Michael Thomsen <mikerthomsen at gmail.com> wrote:

> Yep. I have my directory structure like this:
> 
> d:\mono
> ----------->\mono
> ----------->\mcs
> ----------->\libgdiplus
> 
> I ran the autogen.sh script in d:\mono\mono and it
> didn't die. It went
> straight into configure and that ran to completion.
> I've built Mono on
> Linux before without incident from SVN, so I have a
> bit of an idea of
> what it looks like when something fails during the
> configuration
> stage. I guess I should try building from a nightly
> tarball to see if
> it is something wrong with cygwin or something like
> that.
> 
> 
> On 9/15/05, Kornél Pál <kornelpal at hotmail.com>
> wrote:
> > Consts.cs is generated by configure in mono tree.
> Are you sure that
> > autogen.sh (in case of SVN) or configure (in case
> of source tarball)
> > succeeds?
> > 
> > Kornél
> > 
> > ----- Original Message -----
> > From: "Michael Thomsen" <mikerthomsen at gmail.com>
> > To: "Kornél Pál" <kornelpal at hotmail.com>
> > Cc: <mono-list at lists.ximian.com>
> > Sent: Thursday, September 15, 2005 4:13 PM
> > Subject: Re: [Mono-list] Building Mono under
> Cygwin
> > 
> > 
> > I see this error just before it:
> > 
> > Creating ../build/deps/mcs.exe.response ...
> > make[2]: *** No rule to make target
> `../build/common/Consts.cs',
> > needed by `../class/lib/default/mcs.exe'.  Stop.
> > make[2]: Leaving directory
> `/cygdrive/d/mono/mcs/mcs'
> > 
> > On 9/14/05, Kornél Pál <kornelpal at hotmail.com>
> wrote:
> > > This is not the error.
> > >
> > > I don't know why is semdel called because it
> does not exsist on Windows.
> > > The
> > > real error message that caused the build to fail
> is befor the semdel
> > > error.
> > >
> > > Kornél
> > >
> > > ----- Original Message -----
> > > From: "Michael Thomsen" <mikerthomsen at gmail.com>
> > > To: "Kornél Pál" <kornelpal at hotmail.com>
> > > Cc: <mono-list at lists.ximian.com>
> > > Sent: Wednesday, September 14, 2005 4:03 PM
> > > Subject: Re: [Mono-list] Building Mono under
> Cygwin
> > >
> > >
> > > Now I get all the way through the building of
> the C runtime, but when
> > > I get early on into the building of the C#
> runtime, I get an error
> > > that "mono/mono/handlers/semdel: no such file or
> directory"
> > >
> > >
> > > On 9/14/05, Kornél Pál <kornelpal at hotmail.com>
> wrote:
> > > > Simply unistall cygwing glib2-devel package.
> If you have all the other
> > > > dependencies you should be able to run
> configure successfull.
> > > >
> > > > Kornél
> > > >
> > > > ----- Original Message -----
> > > > From: "Michael Thomsen"
> <mikerthomsen at gmail.com>
> > > > To: <mono-list at lists.ximian.com>
> > > > Sent: Tuesday, September 13, 2005 4:49 AM
> > > > Subject: [Mono-list] Building Mono under
> Cygwin
> > > >
> > > >
> > > > I can't get Mono to build from SVN under
> Cygwin. Everytime I try to
> > > > run configure, it says that it cannot use the
> glib2 package that
> > > > Cygwin provides and I even have VC7 in the
> path and have the binaries
> > > > for GLIB2 provided on the Mono website for
> building under windows.
> > > >
> > > > Could someone tell me how I build Mono under
> Cygwin so that I have
> > > > everything in place to build it under Visual
> Studio .NET 2005?
> > > >
> _______________________________________________
> > > > Mono-list maillist  - 
> Mono-list at lists.ximian.com
> > > >
> http://lists.ximian.com/mailman/listinfo/mono-list
> > > >
> > > >
> > >
> > >
> > 
> >
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com


More information about the Mono-list mailing list