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



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

我在这里错过了什么?

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个主要版本的版本,您将更难获得帮助和支持。

最新更新