When I go on terminal (i installed smlnj) and i type sml
it gives me the error sml: unable to determine architecture/operating system
. What does this mean???
I installed sml like this at this website http://www.cs.washington.edu/education/courses/cse341/11au/sml-emacs.html#install-smlnj, but I'm not sure -- are the instructions wrong?
![enter image description here](https://i.stack.imgur.com/LsOQa.png)
最近的 OS X 二进制安装程序的问题仍然存在,只是焦点转移到了 OS X 的 10.9 Mavericks 和 10.10 Yosemite 版本。尽管根本原因已在最近的源代码版本中得到解决。
这就是为什么从现在开始解决这个问题只需要有一个新编译的二进制包。为此,您可能最好通过安装 smlnjhomebrew
。您可以使用以下命令来完成此操作:
brew update
brew cask install smlnj
截至 2021 年,使用 cask 安装的命令为
brew install --cask smlnj
这将为您编译软件包,这样您就可以省去查看源代码和自己编译的麻烦。
为了清理您的系统并避免重复,您只需执行以下操作即可删除以前的安装:
sudo rm -rf /usr/local/smlnj*
对于星号:我有一个空的 smlnj 文件夹,里面有 110.76 和一个 smlnj-110.75 文件夹,我想我之前曾尝试安装两个不同的版本......
您可能需要删除您自己创建的任何软链接,这些软链接直接指向上一步中删除的 /usr/local/ 下的旧 smlnj 文件夹。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)