我正在尝试按照此处的演练为我的 Plone 5.1 服务器生成一个新主题:
https://training.plone.org/5/theming/theme-package.html
我正在使用运行 clang clang-1000.11.45.5(XCode 附带的那个)和 Python 3.6.4(通过 Anaconda 安装)的 MacOS 10.13.6。由于 mr.bob 生成的构建脚本似乎不包含所有依赖项,特别是plone.recipe.zope2instance==4.2.22
. 当我尝试手动安装该依赖项时,出现以下编译错误:
src/Persistence/_Persistence.c:178:5: error: non-void function 'init_Persistence' should return a value [-Wreturn-type]
return;
^
17 warnings and 7 errors generated.
error: command 'clang' failed with exit status 1
我尝试升级到最新版本的 mr.bob 和模板,然后使用 plonecli 创建并启动构建,但我得到了相同的编译错误。
该模块中有很多类似的内容。我该如何解决这个问题,以便我可以完成安装该依赖项并完成我的构建?