在Mac上构建F#... mcs:没有这样的文件或目录

时间:2015-10-11 23:31:11

标签: macos

我正在mac(yosemite)上从源码构建F#。

我按照这些步骤操作。

git clone https://github.com/mono/mono

cd mono

./autogen.sh --prefix=/mono64 --enable-nls=no

make

在制作期间我收到错误

cd /Users/abhishek.srivastava/mono/mcs && /Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14     ' CC='gcc' all-profiles
mkdir -p -- build/deps
make[6]: mcs: No such file or directory
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
*** The compiler 'mcs' doesn't appear to be usable.
*** You need Mono version 3.8 or better installed to build MCS
*** Check mono README for information on how to bootstrap a Mono installation.
/bin/sh: mcs: command not found
*** The version of 'mcs' is: .
make[5]: *** [do-profile-check] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
LBURMAC603TG8WM:mono (master *=)$

1 个答案:

答案 0 :(得分:1)

make get-monolite-latest之后和休息之前autogen.sh

或者,可以安装任何最近的binary mono release并用于引导。