[Mono-dev] Building Roslyn on OS X
Marek Safar
marek.safar at gmail.com
Wed Aug 13 05:04:39 UTC 2014
Hello,
>
> 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
> /usr/local/mono.git/lib/mono/xbuild-frameworks/.NETPortable
> 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.
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140813/4e20295d/attachment.html>
More information about the Mono-devel-list
mailing list