Getting F # on Ubuntu 10.04

I followed this to get F # on my Ubuntu machine. However, this returned me an error saying

- Reset FSharp.Core.dll using mono.snk. / install -mono.sh: 24: sn: not found - Installing FSharp DLLS in the GAC Error adding the collector to the cache /FSharp.Core.dll: strong name cannot be checked for delayed builds

+4
source share
2 answers

The sn utility is in the mono-devel package. So sudo apt-get install mono-devel and try again.

By the way: if you type sn in bash, it will tell you which package you need to install in order to get sn. So the next time you get the error "command not found", just try entering the name of the command in bash.

+5
source

For reference, the cause of this problem is that FSharp.Core.dll needs to be rewritten using the Mono key in github.com/mono/mono/raw/master/mcs/class/mono.snk, as described in bugzilla.novell. com / show_bug.cgi? id = 615445 The solution to this problem is to re-sign F # dll (download mono.snk and then run "sn -q -R FSharp.Core.dll mono.snk") as described by sepp2k.

However, since F # .deb ready-made packages for Ubuntu are now available at http://fsxplat.codeplex.com/ , which work out of the box without having to re-sign the dll, you can simply use them.

+2
source

Source: https://habr.com/ru/post/1311976/


All Articles