F#interactive无法加载"错误FS0078:无法找到文件'系统'在任何......"

时间:2012-04-03 11:30:15

标签: f# mono fsi

我正在运行Fedora 16,它给我单声道2.10.5,但没有F#。我之前使用过本地编译的mono版本,但现在使用的是打包版本。我在github存储库中使用最新版本的F#,安装到本地目录(我在这台机器上没有root)。

当我运行fsharpi(或单路径/到/ file / fsi.exe)时,我收到以下错误:

mono /home/scratch/local2/lib/mono/4.0/fsi.exe 

Microsoft (R) F# 2.0 Interactive build (private)
Copyright (c) 2002-2011 Microsoft Corporation. All Rights Reserved.

For help type #help;;

> 

error FS0078: Unable to find the file 'System' in any of
 /usr/lib64/mono/4.0
 /home/scratch/.../<current directory>
 /home/scratch/local2/lib/mono/4.0/

Google搜索会产生一些类似的结果,但丢失的文件始终为.dll。 System.dll肯定在/usr/lib64/mono/4.0。

2 个答案:

答案 0 :(得分:3)

好吧,在最近从codeplex合并并且一切正常之前,我从github恢复了稍微旧版本的F#。我在此提出了这个问题:https://github.com/fsharp/fsharp/issues/16

答案 1 :(得分:0)

我不知道这是否会有所帮助(我意识到它正在讨论Ubuntu)但是它的价值是什么:

http://marinosc.webfactional.com/f-on-ubuntu-linux-with-mono-and-monodevelop/

总结有问题的文章:

  • 安装mono
  • 设置并行单声道环境
  • 安装F#
  • 安装monodevelop依赖项
  • 安装monodevelop
  • 安装F#bindings

编辑: 先前的链接已经死了。

注意:本文来自2011年。情况极有可能在8年内发生变化。