【发布时间】:2016-01-09 22:02:47
【问题描述】:
请问我们需要采取哪些步骤才能让 Ranch 在 Windows 上成功运行?
在一个很棒的博客系列中有一组非常有启发性的例子,我想在这里学习:
http://dbeck.github.io/Using-Ranch-From-Elixir/
http://dbeck.github.io/simple-TCP-message-performance-in-Elixir/
然而,它要求我们使用 Ranch Erlang Lib。
到目前为止,让它在 Windows 上运行一直很痛苦:
mix.deps.compile 失败
C:\Elixir\tcp_eval>mix deps.update --all
Running dependency resolution
Dependency resolution completed successfully
ranch: v1.1.0
C:\Elixir\tcp_eval>mix deps.compile
==> ranch
Access denied - SRC
File not found - -TYPE
File not found - F
File not found - -NAME
Access denied - SRC
File not found - -TYPE
File not found - F
File not found - -NAME
Access denied - SRC
File not found - -TYPE
File not found - F
File not found - -NAME
Access denied - SRC
File not found - -TYPE
File not found - F
File not found - -NAME
File not found - SRC/
File not found - -TYPE
File not found - F
File not found - -NAME
Access denied - EBIN
File not found - -TYPE
File not found - F
File not found - -NAME
APP ranch.app.src
【问题讨论】:
-
看起来 Ranch 的 makefile 运行
find并希望它是 Unix 版本,但它却获得了 Windows 版本,实际上更像grep。 -
我会在msys64环境再试一次
-
@|peer-stritzinger 看到你编辑了。如果我们可以让 Ranch 在 Windows 上运行,那么我们可以应用与其他使用 erlang.mk 的 erlang 库相同或相似的应用程序。所以从某种意义上来说,也是一个erlang相关的帖子。
标签: windows erlang elixir elixir-mix ranch