> Hi Scott,
> I recommend using the fsharp distribution from github. It installs a 4.0
> version and I believe is signed with the b0... key. I don't know why fsharp
> isn't included in some mono packages, I have the same problem on fedora.
> Something I would say is that the current addin allows for fsharp to not be
> installed in the GAC by using the FSHARP_COMPILER_BIN environment variable.
> This is important if you dont have root access and want to avoid
> recompiling the whole of mono.
> Robin
> On Sunday, April 29, 2012, Scott Stephens <stephens...@gmail.com> wrote:
> > I tried my code out on linux, it doesn't work. I now understand some of
> the cross-platform issues a little better. Here are the differences
> between Mac and linux that I discovered.
> > Mac Set-up
> > - OS 10.6 (not relevant, as far as I know, but included for reference)
> > - Mono from binary on website (2.10.9)
> > - MonoDevelop from binary on website (2.8.8.4)
> > - Key executable files:
> > * Mono: /usr/bin/mono,
> > * MonoDevelop: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop
> > * MD Tool: /Applications/MonoDevelop.app/Contents/MacOS/mdtool
> > * F# Compiler: /usr/bin/fsc
> > * F# Interpreter: /usr/bin/fsi
> > - Key Assemblies:
> > * Mono
> assemblies: /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.0
> > * F# assemblies:
> /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.0
> > - F# assemblies are added to GAC, signed with b03f5f7f11d50a3a, both 2.0
> and 4.0 runtime versions
> > Linux Set-up
> > - Ubuntu 12.04
> > - mono-complete package installed (gives mono 2.10.8.1)
> > - monodevelop package installed (gives monodevelop 2.8.6.3)
> > - F# is not included in mono with the Ubuntu packages (or even when
> building from source from the MonoDevelop website... weird)
> > F# on Linux Set-up A
> > - FSharp installed from here:
> http://fsxplat.codeplex.com/releases/view/55463 (using the .deb package)
> > - Comes with a licence restricting commercial redistribution
> > - Key executable files:
> > * Mono: /usr/bin/mono
> > * MonoDevelop: /usr/bin/monodevelop
> > * MD Tool: /usr/bin/mdtool
> > * F# Compiler: /usr/bin/fsharpc
> > * F# Interpreter: /usr/bin/fsharpi
> > - Key Assemblies:
> > * Mono assemblies: /usr/lib/mono/4.0
> > * F# assemblies: /usr/lib/fsharp
> > - F# assemblies are added to GAC, signed with a19089b1c74d0809, just 2.0
> version
> > F# on Linux Set-up B
> > - F# obtained from here:
> www.microsoft.com/en-us/download/details.aspx?id=18706 (using zip)
> > - Comes with an apache license
> > - All the installation script does is add FSharp.Core.dll (2.0 runtime
> only) to the GAC, signed with b03f5f7f11d50a3a
> > - The zip contains 4.0 runtime versions as well; all the assemblies are
> originally signed with the a19089b1c74d0809 key, but the key for the one
> assembly is changed as a part of the install process
> > - The additional tools and scripts file provides some additional install
> functionality, adding other DLLs to the GAC (but not changing their keys),
> and installing the fsharpc and fsharpi commands to access the compiler and
> interpreter
> > So the big ticket item here is that installation of F# on linux (never
> mind the MD addin) sucks. A lot. I think the first order of business is
> to get a reasonable install procedure in place. To my mind reasonable
> includes:
> > (1) Having compiler and interpreter accessible on the PATH. Ideally
> with the names fsc and fsi... any thoughts on why the linux version seems
> to want to call these things fsharpc and fsharpi?
> > (2) Have both 2.0 and 4.0 runtime versions of all of the F# assemblies
> added to the GAC with the b03f5f7f11d50a3a key
> > Once a reasonable install procedure is followed, I think adapting my
> code to make the linux install work too will be straightforward (it will
> probably come close to working without any changes). The barriers to
> creating such a procedure are:
> > (1) Source A contains all of the needed data/files, but the license
> doesn't permit the kind of distribution we would want to make it generally
> available.
> > (2) Source B has a permissible license, but no 4.0 runtime versions.
> > I'd appreciate any perspective anybody might have on why the linux
> install situation is the way it is, where the MonoDevelop packagers are
> getting the files they're distributing with the Mac version, and how we
> might improve the linux install experience.
> > -- Scott
> > On Saturday, April 28, 2012 2:56:24 PM UTC-5, Scott Stephens wrote:
> >> As some of you may have gathered from previous posts, I've been working
> on getting the MonoDevelop F# addin working with the latest stable
> MonoDevelop (2.8 series) and compiling nicely on a Mac. My effort is now
> ready for public consumption.
> >> If you're interested in these things, please check out
> https://github.com/scott00/fsharpbinding.
> >> This branch depends on having recent copies of the relevant software:
> >> - Mono new enough that F# is included (2.10.8 is what I've tested
> with). It's important that you have the official distribution, because the
> public key of the F# DLLs is hardcoded into the source. The version that I
> tested with also installed all the F# DLLs into the GAC, which is important
> to the way I've handled the dependencies.
> >> - MonoDevelop 2.8 series (I tested with 2.8.8.4)
> >> I haven't tried it on linux, but I think it should probably work there
> too. But since I haven't tested it, that's probably wishful thinking. (I
> do have a linux machine, so I'll be trying it out soon.) I have no idea
> what effect what I've done may have on Windows.
> >> If you test things out, please leave a note here to let me know if
> things are working or not, and what your platform looks like.
> >> Next on my list:
> >> - Test/fix linux support
> >> - Merge F# library project type from
> https://github.com/karthikvishnu/fsharpbinding
> >> - Merge various fixes from https://github.com/rneatherway/fsharpbinding
> > --
> > You received this message because you are subscribed to the Google
> > Groups "FSharp Open Source Community" group.
> > To post to this group, send email to fsharp-opensource@googlegroups.com
> > To unsubscribe from this group, send email to
> > fsharp-opensource+unsubscribe@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/fsharp-opensource?hl=en
> --
> You received this message because you are subscribed to the Google
> Groups "FSharp Open Source Community" group.
> To post to this group, send email to fsharp-opensource@googlegroups.com
> To unsubscribe from this group, send email to
> fsharp-opensource+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/fsharp-opensource?hl=en