在 Mac osx 10.11 中安装 Bakefile

Installing Bakefile in Mac osx 10.11

我一直在尝试在 mac osx 10.11 中安装 bakefile(v0.2.9)。每当我尝试使用 dmg 文件安装 bakefile 时,我都会收到 The installation failed.The installer could not install the software because there was no software found to install 错误。

我什至尝试从源代码构建它(来自 github 的 v1.2.5.1)。我使用 sudo make command.However sudo make install 命令构建它 throws No rule to make target install.

在 macosx 10.11 中还有其他安装 bakefile 的方法吗?

编辑: 最后我设法在 osx 10.11 中安装了 bakefile 0.2.9。我无法使用最新版本,因为它不支持我们在项目中一直使用的 bakefile。

虽然安装成功,但当我尝试构建 bakefiles(.bkl) 时出现 segmentation fault 11。一些论坛建议该问题可能与 python 2.7 有关。我遵循了解决问题所需的所有步骤。但是 none 帮助了他们。

我一直在使用 python 2.7.11。我怎样才能避免这种分段错误?

我建议不要使用旧版 0.2.9。

I even tried building it from the source code(v1.2.5.1 from github).

你没有,这就是问题所在——你试图构建一个非常不同的版本,0.2.9 != 1.2.5.1。这两个分支之间的关系在 http://bakefile.org 中进行了解释 — 它们不兼容且不同。

如果您想从源代码构建 0.2.9,您需要下载并构建 0.2.9

如果您想使用 1.x 版本,您可以下载打包的“二进制”版本,如 https://github.com/vslavik/bakefile

中所述

P.S。在您通常可以访问的地方安装时,您不需要也不应该使用 sudo,例如 OS X 上的 /usr/local