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?
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
> 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
Thanks for the info Robin and Gabor.
I tried out the github F# distribution (http://github.com/fsharp/fsharp) and it worked quite nicely. I think it might make sense to start publicising that as the way to install F# for linux. Stuff that shows up in google searches (Stack Overflow, functional-variations.net, various blog posts) don't mention this option. They're probably just a little out of date. However even the README.html file in the distribution itself warns you away from using it if you just want to install F#. Is there a reason it might not be ready for general use?
The naming weirdness now makes sense, and I think with a little work I can adapt my code to work on linux as well, as long as F# can be installed into the GAC. Getting it to work without that will take a little research, I'm not sure at this point how tough it would be.
To post to this group, send email to fsharp-o...@googlegroups.com
To unsubscribe from this group, send email to
Hi Scott,
I don't know about the github repository, I know that it can take a
while for changes to be merged in from the official releases, but I
always found it much easier to install from the github repository.
I'll test your changes on Fedora when you're ready, and try to help
with loading F# from locations other than the GAC.
Robin
>> > To post to this group, send email to fsharp-opensource@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > 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
To post to this group, send email to fsharp-o...@googlegroups.com
To unsubscribe from this group, send email to
>> After that, I had error 'command fsc not found'.To solve this I changed the line "FSC=INSERT_FSHARP_COMPILER" to "FSC=$(FSBIN)/fsc.exe" in the Makefile.orig.
This doesn’t sound right – the "configure.sh" script replaces the "INSERT_FSHARP_COMPILER" symbol with the actual path of the F# compiler that it finds. This way, you can run "configure.sh" and specify your own (specific) path to the F# compiler if you wish. The "configure.sh" script then generates the actual Makefile to use...
T.
>> After that, I had error 'command fsc not found'.To solve this I changed the line "FSC=INSERT_FSHARP_COMPILER" to "FSC=$(FSBIN)/fsc.exe" in the Makefile.orig.
This doesn’t sound right – the "configure.sh" script replaces the "INSERT_FSHARP_COMPILER" symbol with the actual path of the F# compiler that it finds. This way, you can run "configure.sh" and specify your own (specific) path to the F# compiler if you wish. The "configure.sh" script then generates the actual Makefile to use...
T.
From: fsharp-opensource@googlegroups.com [mailto:fsharp-opensource@googlegroups.com] On Behalf Of Sega Able
Sent: Friday, May 04, 2012 3:27 PM
To: fsharp-opensource@googlegroups.com
Subject: Re: MonoDevelop Addin: Working on Mac with MonoDevelop 2.8
Indeed :)
However, when I did 'make' I got 2 errors saying that there are no such iterface members 'AddDefineSymbol' and 'RemoveDefineSymbol' in the /src/Services/Parameters.fs so that I have commented some lines of code.
After that, I had error 'command fsc not found'.To solve this I changed the line "FSC=INSERT_FSHARP_COMPILER" to "FSC=$(FSBIN)/fsc.exe" in the Makefile.orig. At this step 'make' was successful and I did 'make install'.
But I have an error[1] everytime I click on 'Start new solution' button or trying to create new project.
Tested in MonoDevelop 2.6.0.
2012/5/4 Robert Jeppesen
Nice work, Scott!
>> > To post to this group, send email to fsharp-opensource@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > 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
> 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
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
> From: fsharp-opensource@googlegroups.com
> [fsharp-opensource@googlegroups.com] on behalf of Scott Stephens
> Sent: 29 April 2012 11:49
>
>> > To post to this group, send email to fsharp-opensource@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > 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
> 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
So the update is that I had MONO_PATH set to the same as
FSHARP_COMPILER_BIN. Without MONO_PATH set it I receive:
"Error while trying to load the project '<path>/test7.fsproj': Could
not load type 'provider@16' from assembly 'FSharpBinding,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'."
So I need both of them set. I'll have to have a look into the breakage
without FSHARP_COMPILER_BIN to see if things can work just with
MONO_PATH set.
>> > From: fsharp-opensource@googlegroups.com
>> > [fsharp-opensource@googlegroups.com] on behalf of Scott Stephens
>> > Sent: 29 April 2012 11:49
>> >
>> > To: fsharp-opensource@googlegroups.com
>> >> > 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
>> >
>> > --
>> > 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