尝试通过从github版本下载来构建和安装OTP(erlang)时出错

时间:2018-10-19 09:47:27

标签: erlang otp

我正在尝试通过从github版本下载OTP来构建和安装OTP。以下是我在shell脚本中正在做的事情:

  curl -L -O https://github.com/erlang/otp/archive/OTP-20.3tar.gz
  mkdir OTP-20.3
  tar -xf OTP-20.3.tar.gz --strip-components=1 -C OTP-20.3
  cd /Users/parthi/Documents/test/OTP-20.3
  ./otp_build autoconf
  ./configure --enable-smp-support \
          --enable-m64-build \
          --disable-native-libs \
          --disable-sctp \
          --enable-threads \
          --enable-kernel-poll \
          --disable-hipe \
          --without-javac \
          --prefix=/Users/parthi/Documents/test
  make install

“进行安装”退出并出现以下错误:

/usr/bin/install -c -d "/Users/parthi/Documents/test/lib/erlang/erts-9.3/lib"
/usr/bin/install -c -d "/Users/parthi/Documents/test/lib/erlang/usr/lib"
/usr/bin/install -c -m 644 -p  ../lib/x86_64-apple-darwin17.7.0/liberts.a ../lib/x86_64-apple-darwin17.7.0/liberts_r.a "/Users/parthi/Documents/test/lib/erlang/erts-9.3/lib"
/usr/bin/install -c -m 644 -p  ../lib/x86_64-apple-darwin17.7.0/liberts.a ../lib/x86_64-apple-darwin17.7.0/liberts_r.a "/Users/parthi/Documents/test/lib/erlang/usr/lib"
/usr/bin/install -c -d "/Users/parthi/Documents/test/lib/erlang/erts-9.3/lib/internal"
/usr/bin/install -c -m 644 -p ../lib/internal/README ../lib/internal/x86_64-apple-darwin17.7.0/libethread.a  ../lib/internal/x86_64-apple-darwin17.7.0/liberts_internal.a ../lib/internal/x86_64-apple-darwin17.7.0/liberts_internal_r.a "/Users/parthi/Documents/test/lib/erlang/erts-9.3/lib/internal"
/Applications/Xcode.app/Contents/Developer/usr/bin/make  RELEASE_PATH="/Users/parthi/Documents/test/lib/erlang"   release_spec 
 GEN	/Users/parthi/Documents/test/OTP-20.3/erts/start_scripts/start_clean.rel
 GEN	/Users/parthi/Documents/test/OTP-20.3/erts/start_scripts/start_sasl.rel
 GEN	/Users/parthi/Documents/test/OTP-20.3/erts/start_scripts/start_all_example.rel
 GEN	/Users/parthi/Documents/test/OTP-20.3/erts/start_scripts/no_dot_erlang.rel
 GEN	/Users/parthi/Documents/test/OTP-20.3/erts/start_scripts/start_clean.script
stdlib: No valid version ("3.4.4") of .app file found. Found file "/Users/parthi/Documents/test/OTP-20.3/bootstrap/lib/stdlib/ebin/stdlib.app" with version "3.4.3"

kernel: No valid version ("5.4.3") of .app file found. Found file "/Users/parthi/Documents/test/OTP-20.3/bootstrap/lib/kernel/ebin/kernel.app" with version "5.4.2"

make[3]: *** [/Users/parthi/Documents/test/OTP-20.3/erts/start_scripts/start_clean.script] Error 1
make[2]: *** [release] Error 2
make[1]: *** [release] Error 2
make: *** [install.emulator] Error 2

0 个答案:

没有答案