【问题标题】:Error building Erica on Windows在 Windows 上构建 Erica 时出错
【发布时间】:2013-08-12 02:01:15
【问题描述】:

我正在尝试使用 CouchApp,erica 显然是要使用的工具。在 Windows 上从源代码构建东西总是一场噩梦,但我想我几乎做到了。我安装了 Erlang 和 rebar 的依赖项,然后运行erica\bootstrap.bat,但出现以下错误:

C:\Programming\couchapp\erica>bootstrap.bat
==> mochiweb (get-deps)
==> oauth (get-deps)
==> ibrowse (get-deps)
==> couchbeam (get-deps)
==> erica (get-deps)
==> mochiweb (compile)
==> oauth (compile)
==> ibrowse (compile)
==> couchbeam (compile)
==> erica (compile)
c:/Programming/couchapp/erica/src/erica.erl:none: redefining macro 'WITH_MOCHIJSON'
ERROR: compile failed while processing C:/Programming/couchapp/erica: rebar_abort

似乎没有任何日志,所以有人知道可能导致这种情况的原因吗?

我正在全新安装 Windows 8 x64。

【问题讨论】:

    标签: windows erlang couchapp rebar


    【解决方案1】:

    似乎 bootstrap.bat 不起作用。您需要运行这三个命令来模拟 Makefile 行为:

        rebar get-deps
        rebar compile
        escript bootstrap
    
    在我的 Windows 8 上,它运行良好。

    【讨论】:

    • 哈,太棒了。这比我预期的要容易得多。谢谢!
    猜你喜欢
    • 2015-10-31
    • 2019-07-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-12
    • 2016-04-26
    相关资源
    最近更新 更多