In F # on MAC OSX and Ubuntu I have an error when starting FSI in 4.0

I need System.Numerics in F #

EDIT I think the question is, can fsi work with runtime 4.0, and if so, how to configure it

I run "mono / bin / Fsi" in the Fsharp 4.0 directory. I get the following error in both OSX 10.6.4 and Ubuntu 10.1.

I am sure that I am missing a path or something.

Please note that there are different paths on the MAC address, but I got the same error

error FS0078: cannot find the file "System.Numerics.dll" in any of / opt / mono -2.8 / lib / mono / 2.0 / home / gary / Downloads / FSharp -2.0.0.0 / v4.0 / bin / home / gary / Downloads / FSharp -2.0.0.0 / v4.0 / bin /

In my MAcbook, I copied the mono 4.0 bin file to one of the above Fsi paths and downloads, but then it stops with this error.

Error FS0192: internal error: not available: GetGlobals

I have not tried this with an Ubuntu laptop

Any help would be appreciated.

WITH

+3
source share
3 answers

Use cd / usr / lib / fsharp then mono fsi.exe

your question made me look for fsi (before I couldn't find it)

+1
source

Have you tried running sudo install_mono.sh from the F # directory? Also, I think you mean F # 2.0, right?

0
source

Make sure your Mono is installed correctly. I don't have my mac at work, so I use my Ubuntu desktop as an example.

System.Numerics.dll belongs to Mono not F #. In my installation (Mono 2.8.1 and Ubuntu 10.10) this file is in the following directory

/usr/local/lib/mono/4.0/System.Numerics.dll

0
source

All Articles