2010-12-12 2 views
2

Ich habe mono 2.8.1 mit dem Paketinstallationsprogramm von monoproject.com und der fis-libs/Behälter von http://fsxplat.codeplex.com/releases/view/55463.Problem mit fsharpi unter Mac OS X: Installation des ctrl-c-Handlers fehlgeschlagen - Ctrl-C-Handhabung ist nicht verfügbar

Wenn ich fsharpi aus dem Terminal laufen lasse, erhalte ich folgende zurück:

Microsoft (R) F# 2.0 Interactive build 
2.0.0.0 Copyright (c) Microsoft Corporation. All Rights Reserved. 

For help type #help;; 

Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was: Exception has been thrown by the target of an invocation. 

Sad mal, ich habe versucht mit Mono --verbose /usr/lib/fsharp/fsi.exe aber ich kann‘ t etwas nützlich in den Protokollen ....

Method System.MulticastDelegate:Equals (object) emitted at 0x4714c78 to 0x4714d0a (code length 146) [fsi.exe] 
converting method (wrapper managed-to-native) Mono.Unix.Native.Stdlib:sys_signal (int,Mono.Unix.Native.SignalHandler) 
Method (wrapper managed-to-native) Mono.Unix.Native.Stdlib:sys_signal (int,Mono.Unix.Native.SignalHandler) emitted at 0x4714d10 to 0x4714d89 (code length 121) [fsi.exe] 
converting method System.Reflection.TargetInvocationException:.ctor (System.Exception) 
Method System.Reflection.TargetInvocationException:.ctor (System.Exception) emitted at 0x4714d90 to 0x4714dae (code length 30) [fsi.exe] 
converting method System.ApplicationException:.ctor (string,System.Exception) 
Method System.ApplicationException:.ctor (string,System.Exception) emitted at 0x4714dc0 to 0x4714de6 (code length 38) [fsi.exe] 
converting method System.Exception:.ctor (string,System.Exception) 
Method System.Exception:.ctor (string,System.Exception) emitted at 0x4714df8 to 0x4714e16 (code length 30) [fsi.exe] 
converting method System.Exception:get_Message() 
Method System.Exception:get_Message() emitted at 0x4714e18 to 0x4714e52 (code length 58) [fsi.exe] 
converting method FSIstrings.SR:fsiCouldNotInstallCtrlCHandler (string) 
Method FSIstrings.SR:fsiCouldNotInstallCtrlCHandler (string) emitted at 0x4714e60 to 0x4714ed8 (code length 120) [fsi.exe] 
converting method <StartupCode$Fsi>.$FSIstrings/[email protected]:Invoke (System.Tuple`2<string, Microsoft.FSharp.Core.PrintfFormat`5<Microsoft.FSharp.Core.FSharpFunc`2<string, string>, Microsoft.FSharp.Core.Unit, string, string, string>>) 
Method <StartupCode$Fsi>.$FSIstrings/[email protected]:Invoke (System.Tuple`2<string, Microsoft.FSharp.Core.PrintfFormat`5<Microsoft.FSharp.Core.FSharpFunc`2<string, string>, Microsoft.FSharp.Core.Unit, string, string, string>>) emitted at 0x4714ed8 to 0x4714f14 (code length 60) [fsi.exe] 
converting method <StartupCode$Fsi>.$FSIstrings/[email protected]:Invoke (string) 
Method <StartupCode$Fsi>.$FSIstrings/[email protected]:Invoke (string) emitted at 0x4714f18 to 0x4714f35 (code length 29) [fsi.exe] 
converting method System.IO.UnexceptionalStreamWriter:Write (char) 
Method System.IO.UnexceptionalStreamWriter:Write (char) emitted at 0x4714f38 to 0x4714f74 (code length 60) [fsi.exe] 
Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was: 
Exception has been thrown by the target of an invocation. 

ich habe auch versucht mit allen Permutationen läuft von --readline- --nologo --gui- ohne Erfolg :(

hat jemand jede Idee, warum das glücklich ist ening? Was ärgerlicher ist, ist, dass dies mich nur betrifft, da ein Freund von mir es mit der gleichen Installationsmethode installiert hat. Könnte MacPorts meine fsharp-Installation beeinflussen?

Vielen Dank im Voraus für jede Hilfe!

Prost

Jan

+2

Siehe: http://stackoverflow.com/questions/4256918/fs-i-exe-does-not-work-under-ubuntu-10-10 - haben Sie Apples X installiert? –

+0

Es ist möglich, dass MacPorts Probleme für Mono verursacht, da es System-Tools und Bibliotheken außer Kraft setzt. Versuchen Sie in einer Umgebung ohne MacPorts. –

+0

Eigentlich habe ich das gleiche Problem und es bleibt bestehen, auch wenn Macports nicht verwendet wird. Haben Sie eine Antwort darauf gefunden? – jbssm

Antwort

1

Ich wette, Sie dazu

gehen sollte

https://github.com/fsharp/fsharp

, die die F # für Mono ist.

Der CodePlex One hat eine erhebliche Abhängigkeit von Windows.

+0

Ihr Link zum Community-verwalteten Quellenzweig ist nützlich, aber das CodePlex-Projekt, mit dem der Asker verbunden ist, ist für community-gepflegte plattformübergreifende Pakete gedacht. Außerdem glaube ich, dass die MS-Version gegen Mono getestet wird - die Stapelüberwachung sieht wie ein Unix-spezifischer Codepath aus. –

Verwandte Themen