OTP 24.0 has been released

Luke Bakken luke@REDACTED
Mon May 17 21:15:43 CEST 2021


Hi Frank,

Scroll to the latest comments in the discussion here:

https://github.com/erlang/otp/issues/4821

TL;DR - use the source package to build, not git.

On Mon, May 17, 2021 at 11:16 AM Frank Muller
<frank.muller.erl@REDACTED> wrote:
>
> Hi guys,
>
> Back to macOS.
>
> Luke's suggestion to use "--disable-parallel-configure" helped a lot on Mac but I'm facing a new error during "crypto" module compilation.
>
> $ sw_vers
> ProductName:    macOS
> ProductVersion: 11.2.3
> BuildVersion:   20D91
>
> $ readlink (brew --prefix openssl)
> ../Cellar/openssl@REDACTED/1.1.1k
>
> $ cat $HOME/.kerlrc
> KERL_CONFIGURE_OPTIONS="--disable-parallel-configure --disable-sctp --without-sctp --with-ssl=$(brew --prefix openssl)"
>
> $ kerl build git https://github.com/erlang/otp.gitOTP-24.0 24.0
> [...]
> sed -e 's;%VSN%;4.19.1;' mnesia.app.src > ../ebin/mnesia.app
> sed -e 's;%VSN%;4.19.1;' mnesia.appup.src > ../ebin/mnesia.appup
> gmake[3]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/src'
> gmake[3]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/include'
> gmake[3]: Nothing to be done for 'opt'.
> gmake[3]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/include'
> gmake[3]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/examples'
> gmake[3]: Nothing to be done for 'opt'.
> gmake[3]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/examples'
> gmake[3]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/doc/src'
> gmake[3]: Nothing to be done for 'opt'.
> gmake[3]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia/doc/src'
> === Leaving application mnesia
> gmake[2]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/mnesia'
> gmake[2]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto'
> === Entering application crypto
> gmake[3]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto/src'
> erlc -W  -Werror +debug_info -DUSE_ESOCK=true -DCRYPTO_VSN=\"5.0\" -Werror -I../include -o../ebin crypto.erl
> erlc -W  -Werror +debug_info -DUSE_ESOCK=true -DCRYPTO_VSN=\"5.0\" -Werror -I../include -o../ebin crypto_ec_curves.erl
> sed -e 's;%VSN%;5.0;' crypto.app.src > ../ebin/crypto.app
> sed -e 's;%VSN%;5.0;' crypto.appup.src > ../ebin/crypto.appup
> gmake[3]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto/src'
> gmake[3]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto/c_src'
> gmake -f x86_64-apple-darwin20.3.0/Makefile TYPE=opt
> gmake[4]: Entering directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto/c_src'
> gmake[4]: x86_64-apple-darwin20.3.0/Makefile: No such file or directory
> gmake[4]: *** No rule to make target 'x86_64-apple-darwin20.3.0/Makefile'.  Stop.
> gmake[4]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto/c_src'
> gmake[3]: *** [/Users/frank/.kerl/builds/24.0/otp_src_24.0/make/run_make.mk:35: opt] Error 2
> gmake[3]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto/c_src'
> gmake[2]: *** [/Users/frank/.kerl/builds/24.0/otp_src_24.0/make/otp_subdir.mk:29: opt] Error 2
> gmake[2]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib/crypto'
> gmake[1]: *** [/Users/frank/.kerl/builds/24.0/otp_src_24.0/make/otp_subdir.mk:29: opt] Error 2
> gmake[1]: Leaving directory '/Users/frank/.kerl/builds/24.0/otp_src_24.0/lib'
>
> Help appreciated
> /Frank
>
>>
>> Hi Frank,
>>
>> Keep an eye out here: https://github.com/erlang/otp/issues/4821
>>
>> On Wed, May 12, 2021 at 9:52 AM Frank Muller <frank.muller.erl@REDACTED> wrote:
>> >
>> > New issue with libcrypto which is available on my system but couldn’t be found by configure script.
>> >
>> > $ ls -1 /usr/local/opt/openssl@REDACTED/lib


More information about the erlang-questions mailing list