otp
otp copied to clipboard
Add diameter to APPLICATIONS DISABLED, if SCTP is missing when building Erlang/OTP
Is your feature request related to a problem? Please describe.
Erlang diameter application fail with {error,eprotonosupport} on many Linux distributions. This is due to missing SCTP. It has to be added to the base.
Describe the solution you'd like
If SCTP is missing when building Erlang/OTP I would like diameter to get the same kind of APPLICATIONS DISABLED that I get for jinterface and odbc.
Describe alternatives you've considered
Since a Diameter client is allowed to not support SCTP, it could be that only the Erlang diameter server is disabled, but I think that is too complex and rarely needed.
The use of SCTP as a transport is optional, so building diameter should not fail just because SCTP is missing. Maybe we could add a warning, indicating that diameter server will not function properly (without SCTP).
SCTP is requiered by Diameter standard. For server. But of course you may add a warning.