0

当我尝试以标准方式编译 F# 时:

./autogen.sh --prefix=/opt/mono && make && make install

它失败了:

ilwrite: TIME 35.286 (total) 0.000 (delta) - Build String/Blob Address Tables make[3]: *** [.libs/proto//4.0/FSharp.Compiler-proto.dll] Killed make[3]: *** Deleting file .libs/proto//4.0/FSharp.Compiler-proto.dll make[3]: Leaving directory /src/fsharp/src/fsharp/FSharp.Compiler-proto make[2]: *** [do-proto] Error 2 make[2]: Leaving directory /src/fsharp/src/fsharp make[1]: *** [all] Error 2 make[1]: Leaving directory /src/fsharp/src/fsharp make: *** [all] Error 2

我的 EC2 实例上安装了来自 git master 的 mono 3.11。

谢谢!

4

1 回答 1

0

我已经用 m1.small 实例成功编译了 F# 并切换回 t1.micro 为了做到这一点,你应该:

1 upgrade your currently running instance with larger RAM

    1.1 login to aws console

      1.1.0 navigate to EC2 service
      1.1.1 choose instances 
      1.1.1 check instance you want fsharp to be compiled on
      1.1.2 click actions
      1.1.3 stop instance

    1.2 change instance type ( m1.small instance with 1.7 GB is enough )
    1.3 boot your pumped instance (do not forget to reassign elastic IP when instance booted)

2 compile and install F#  with $ ./autogen.sh --prefix=<YOUR_PREFIX> && make && as sudo make install
于 2013-05-15T15:32:15.017 回答