我想知道是否有人从源代码中安装了和声的最新版本,安装在它的macOS机器上(这里我正在尝试使用Catalina)。
git clone https://github.com/bcpierce00/unison.gitunison
cd unisonmake命令,告诉它构建文本UI:
make UISTYLE=text结果应该是一个名为unison的可执行文件,但是我得到了以下错误:
Blablabla$ make UISTYLE=text
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src UISTYLE=text
UISTYLE = text
Building for Unix
NATIVE = true
THREADS = false
STATIC = false
OSTYPE =
OSARCH = osx
ocamlopt: ubase/rx.mli ---> ubase/rx.cmi
ocamlopt -g -unsafe-string -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -ccopt -mmacosx-version-min=10.6 -c /Users/Shared/unison/src/ubase/rx.mli
make[1]: ocamlopt: No such file or directory
make[1]: *** [ubase/rx.cmi] Error 1
make: *** [text] Error 2sudo port install ocaml
sudo port install opammake命令
make UISTYLE=text/Applications/Xcode.app/Contents/Developer/usr/bin/make tags
if [ -f "`which etags`" ]; then \
etags *.mli */*.mli *.ml */*.ml */*.m *.c */*.c *.txt \
*Makefile* \
; fiunison文件。问题是..。由于没有错误消息,这个可执行文件在哪里?
发布于 2019-12-12 21:32:00
网上的人再打个招呼,
我设法在这里帮助自己,并在我的macOS Catalina计算机上获得了一个漂亮而新鲜的macOS可执行文件。
基本上,基本的make试图将编译产品移动到/Users/<your_user>/bin/.中,我认为这是有意义的,但很少被我们的macOS用户使用。以下是我为解决这一问题所做的工作:
bin目录创建到您的家庭
mkdir ~/binmake
make UISTYLE=text~/bin/unison -versionunison version 2.51.3 (ocaml 4.08.1)希望能帮上忙。
https://stackoverflow.com/questions/59313011
复制相似问题