Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>F# has never worked for me under Linux. Today with Mono 2.8 and the November 2010 drop of F# (which confusingly has the exact same version number as the previous release?!) I get:</p> <pre><code>$ sudo ./install-mono.sh In order to add FSharp.Core.dll to the Mono GAC the DLL needs to be re-signed with the mono.snk key. The mono.snk key is available from the 'Mono Sources'. http://www.mono-project.com/ http://github.com/mono/mono/raw/master/mcs/class/mono.snk For example, run: wget -O mono.snk http://github.com/mono/mono/raw/master/mcs/class/mono.snk Then re-run this script. An alternative to installing the DLLs in the Mono GAC is to add the FSharp bin directory to the MONO_PATH variable. For more information on 'How Mono Finds Assemblies' see http://www.mono-project.com/Gacutil </code></pre> <p>If I run the <code>wget</code> command that it suggests then it dies:</p> <pre><code>$ wget -O mono.snk http://github.com/mono/mono/raw/master/mcs/class/mono.snk --2010-11-23 17:02:43-- http://github.com/mono/mono/raw/master/mcs/class/mono.snk Resolving github.com... 207.97.227.239 Connecting to github.com|207.97.227.239|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/mono/mono/raw/master/mcs/class/mono.snk [following] --2010-11-23 17:02:44-- https://github.com/mono/mono/raw/master/mcs/class/mono.snk Connecting to github.com|207.97.227.239|:443... connected. ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'. To connect to github.com insecurely, use `--no-check-certificate'. Unable to establish SSL connection. </code></pre> <p>Now if I rerun the F# installer I get a different error:</p> <pre><code>$ sudo ./install-mono.sh -- Resigning FSharp.Core.dll with mono.snk ERROR: Invalid number of parameters. Usage: sn [-q | -quiet] options [parameters] -q | -quiet Quiet mode (minimal display) Help options -? | -h Show this help screen about the tool -? | -h config Configuration options -? | -h csp Crypto Service Provider (CSP) related options -? | -h convert Format convertion options -? | -h sn StrongName signing options -- Installing FSharp DLLS into the GAC Failure adding assembly bin/FSharp.Core.dll to the cache: Strong name cannot be verified for delay-signed assembly </code></pre> <p>If I copy the <code>mono.snk</code> file from the Mono 2.8 directory into the F# directory by hand then the installer seems to work:</p> <pre><code>$ sudo ./install-mono.sh -- Resigning FSharp.Core.dll with mono.snk Assembly bin/FSharp.Core.dll signed. -- Installing FSharp DLLS into the GAC Installed bin/FSharp.Core.dll into the gac (/usr/local/lib/mono/gac) </code></pre> <p>But F# itself still fails to work in exactly the same way that it did before (appearing to hang whenever input is entered):</p> <pre><code>$ mono bin/fsi.exe Microsoft (R) F# 2.0 Interactive build 2.0.0.0 Copyright (c) Microsoft Corporation. All Rights Reserved. For help type #help;; &gt; 1+2*3;; </code></pre> <p>I have to use CTRL+Z to regain control and then <code>kill %1</code> to kill the rogue process.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload