[Mono-list] Re: building mcs problem
Jonathan Pryor
jonpryor@vt.edu
Thu, 21 Aug 2003 07:24:54 -0400
The version of MCS/corlib you're using to compile MCS and the class
libraries is too old.
You need to grab a recent monocharge, available at:
http://go-mono.com/daily/
Grab the tarball, and untar it over your current mcs/corlib/*.dll
files. You should then be able to rebuild.
- Jon
On Wed, 2003-08-20 at 19:24, Serge Aleynikov wrote:
> Miguel de Icaza wrote:
> > Hello,
> >
> >
> >>I ran into the following mcs 0.26 building problem on Red Hat 7.3. Can
> >>anyone help me with this problem?
> >
> >
> > Mhm, this can be fixed easily by installing first the mono-0.26 package,
> > then installing mcs-0.26
> >
>
> This is exactly what I did. In fact the RPM installers are only
> available for RedHat 8,9. I am using 7.3. I downloaded the mono & mcs
> sources, and successfully compiled, and installed the mono-0.26 project
> by doing:
>
> configure
> make
> make install
>
> However, the mcs compilation failed with the following error:
>
> make[1]: Entering directory `/usr/local/src/mono/mcs-0.26/build'
> make[1]: Leaving directory `/usr/local/src/mono/mcs-0.26/build'
> make[1]: Entering directory `/usr/local/src/mono/mcs-0.26/jay'
> make[1]: Leaving directory `/usr/local/src/mono/mcs-0.26/jay'
> make[1]: Entering directory `/usr/local/src/mono/mcs-0.26/mcs'
> mcs /lib:/usr/local/lib -g /target:exe /out:mcs.exe AssemblyInfo.cs
> anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs
> class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs
> enum.cs ecore.cs expression.cs flowanalysis.cs genericparser.cs
> interface.cs iterators.cs literal.cs location.cs modifiers.cs
> namespace.cs parameter.cs pending.cs report.cs rootcontext.cs
> statement.cs support.cs typemanager.cs symbolwriter.cs tree.cs cs-parser.cs
> support.cs(301) error CS0117: `System.IO.StreamReader' does not contain
> a definition for `DiscardBufferedData'
> Compilation failed: 1 error(s), 0 warnings
> make[1]: *** [mcs.exe] Error 1
> make[1]: Leaving directory `/usr/local/src/mono/mcs-0.26/mcs'
> make: *** [all-recursive] Error 1
>
> ------------
>
> I think this must be mcs specific, as the reported *.cs file comes with it:
>
> serge /usr/local/src/mono/mcs-0.26>locate *.cs | grep StreamReader
> /usr/local/src/mono/mcs-0.26/class/corlib/System.IO/StreamReader.cs
> /usr/local/src/mono/mcs-0.26/class/corlib/Test/System.IO/StreamReaderTest.cs
>
> Serge
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list