[Mono-dev] Building Roslyn on OS X
marek.safar at gmail.com
Wed Aug 13 05:04:39 UTC 2014
> I’m relatively new to Mono and attempting to build Roslyn on OS X (10.9),
> but haven’t made much progress. I’m hoping I’m missing something obvious.
> So here’s what I’ve done:
> (1) Noting that a recent build from master is required, build mono from
> source (from https://github.com/mono/mono):
> a. Install MDK (I’ve also tried wiping the MDK and using make
> get-monolite-latest; both ways successfully build mono and fail in the same
> way building Roslyn)
> b. git clone https://github.com/mono/mono.git
> c. ./configure --prefix-/usr/local/mono.git --enable-nls=no
> d. make && make install
> e. add /usr/local/mono.git/bin to front of $PATH
> (2) Build Roslyn (from https://github.com/mono/roslyn):
> a. git clone https://github.com/mono/roslyn.git
> c. xbuild Src/Compilers/CSharp/csc/csc.csproj
> d. Get error about missing PCL reference assembiles
> e. Copy assemblies from a Windows box to
> f. xbuild Src/Compilers/CSharp/csc/csc.csproj
> g. Get errors relating to csc2.exe
> h. Apply “Manual changes needed” from README.md
> Microsoft.Net.ToolsetCompilers.props, which must have been fetched during
> the last xbuild.
> i. xbuild Src/Compilers/CSharp/csc/csc.csproj
> j. 30 Warning, 5896 Errors
You've mostly done it. We have a bug in xbuild which causes this on second
build. Clean all intermediate obj folders and run xbuild again.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list