我正在尝试使用kerl在Cygwin上构建Erlang。它下载发行版,验证校验和,开始构建,并给我一个配置错误:
Sergey@PackardBell /cygdrive/c/kerl
$ ./kerl build R16B03-1 R16B03-1
Verifying archive checksum...
Checksum verified (e5ece977375197338c1b93b3d88514f8)
Building Erlang/OTP R16B03-1 (R16B03-1), please wait...
Configure failed.
Building for windows, you should do the following first:
eval `./otp_build env_win32`
please note that there are backticks (``) in the command运行eval命令不会做任何事情,因为我没有这些目录,只会给我:
-bash: ./otp_build: No such file or directory这里我漏掉了什么?
发布于 2016-08-07 10:05:58
Kerl 1.3.2不支持Windows。某些版本的Erlang/OTP可能只在Windows下工作,或者如果您的系统看起来是这样的话,它也可能工作,但是您得到的错误来自Erlang构建脚本。
我会看一下这里的Kerl代码,https://github.com/kerl/kerl/blob/1.3.2/kerl#L509
对于Darwin系统有一些特殊的处理,并且可能应该对Windows有一些特殊的处理,以便在配置之前运行otp_build env_win32。
此外,考虑尝试使用较新的版本,因为对于一个比当前版本晚3个主要版本的版本,您将更难获得帮助和支持。
https://stackoverflow.com/questions/38807996
复制相似问题