otp icon indicating copy to clipboard operation
otp copied to clipboard

Add diameter to APPLICATIONS DISABLED, if SCTP is missing when building Erlang/OTP

Open ebengt opened this issue 5 months ago • 2 comments

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.

ebengt avatar Feb 03 '24 16:02 ebengt

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).

bmk avatar Feb 07 '24 09:02 bmk

SCTP is requiered by Diameter standard. For server. But of course you may add a warning.

ebengt avatar Feb 07 '24 12:02 ebengt