无法在单声道版本为5.0+的Mac上安装nant

时间:2019-02-03 12:48:14

标签: macos mono nant

我无法在单声道版本高于4.0的MacBook Pro上安装NAnt,确切地说,单声道版本为5.16.0 尝试使用以下命令从源代码进行安装:make install prefix = installation-path引发错误

cp -R lib/ bootstrap/lib
# Mono loads log4net before privatebinpath is set-up, so we need this in the same directory
# as NAnt.exe
cp lib/common/neutral/log4net.dll bootstrap
cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
gmcs  -target:exe -define:MONO,NET_1_0,NET_1_1,NET_2_0,ONLY_2_0 -out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll \
        -r:System.Configuration.dll -recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs
/bin/sh: gmcs: command not found
make: *** [bootstrap/NAnt.exe] Error 127

*相对而言,脚本是新手。

0 个答案:

没有答案