[erlang-questions] Build Erlang from source failed with GitHub tag OTP-21.2.5
by
by@REDACTED
Fri Feb 15 08:11:54 CET 2019
Hello list,
I decide to build Erlang from source via Official GitHub repo. [ on macOS 10.12.6 ]
I check out the tag OTP-21.2.5 into local branch, and try to build it from script below:
==== File ====
#!/bin/sh
LANG=C ./otp_build autoconf
./configure --prefix=/Users/by/local/pkgs/erlang/erlang21.2.5 \
--with-ssl=/usr/local/Cellar/openssl/1.0.2q
make
#make install
#make install-docs
==== File ====
The build failed with below error (if more detailed error is needed, I can provide later):
=== Error Log ====
=== Entering application stdlib
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application stdlib
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application kernel
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application kernel
=== Entering application compiler
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application compiler
=== Entering application tools
MAKE opt
make[4]: Nothing to be done for `all'.
ERLC ../ebin/xref_parser.beam
compile: warnings being treated as errors
/Users/by/projects/otp/bootstrap/lib/parsetools/include/yeccpre.hrl:60: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
make[3]: *** [../ebin/xref_parser.beam] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
=== Error Log ====
But when I build from otp_src_21.0.tar.gz, with the same script, it just works.
Can anyone help me on this?
Best Regards,
Yao Bao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190215/f12a201d/attachment.htm>
More information about the erlang-questions
mailing list