在cygwin上使用kerl构建Erlang / OTP,配置失败

时间:2016-08-06 19:26:40

标签: erlang cygwin otp kerl

我正在尝试使用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

我在这里缺少什么?

1 个答案:

答案 0 :(得分:1)

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个主要版本的版本的帮助和支持。

相关问题