Open semanavasco opened 3 months ago
The same trouble here...
The build.log shows this error:
drivers/common/inet_drv.c:1419:30: error: static declaration of ‘in6addr_loopback’ follows non-static declaration
1419 | static const struct in6_addr in6addr_loopback =
| ^~~~~~~~~~~~~~~~
which suggests that the compiler in the system is more stict than what was used when developing Erlang/OTP 21. I suggest using an Erlang version that is still supported (24+), or disable that check in gcc using the relevant CFLAGS.
If you have the time, the kerl
maintainers would appriciate help to fix the issue: https://github.com/kerl/kerl/issues/546. kerl
is what is used by mise and asdf under the hood to build Erlang.
I'm getting this for OTP 26 as well.
EDIT I just found a comment I made back in May https://github.com/asdf-vm/asdf-erlang/issues/286#issuecomment-2093563063
What is the "this" that you are getting?
I meant to say I was receiving the same issue that https://github.com/asdf-vm/asdf-erlang/issues/318#issuecomment-2332863770 referenced. I resolved this by installing some missing wx
components. And then reinstalling OTP 26 with the following exported:
export KERL_CONFIGURE_OPTIONS="--without-javac --with-odbc=/var/lib/pacman/local/unixodbc-$(pacman -Q unixodbc | cut -d' ' -f2)"
Installed just fine.
I can install OTP27 without having to do any exports.
which wx components specifically?
I installed wxwidgets-common
and wxwidgets-gtk3
Already installed, to no avail, same for the flag :c Stuck with the same error as @garazdawi
I am unable to install erlang 21.0 on Arch Linux.
Here is my log file :
Here is my error message :
For the record, I have followed the "Before asdf install" until this part : "Older OTP builds may require wxgtk2, in that case install wxgtk2-dev from AUR." because wxgtk2-dev does not exist on the AUR.
Thanks !