in my project we are trying to build and deploy the customized asterisk (asterisk v.16.12.0) for our client. Currently our Asterisk servers are running on amazon ec2 instances with SUSE SLES 12 (64bit) and we basically were requested to migrate to Amazon Linux 2023.
I am reaching out to find out if asterisk is or will be supported officially and also if its even possible to compile it on on Amazon Linux 2023.
I appreciate if any references can be shared on this aspect.
The current supported distributions are listed on the documentation site[1]. Amazon is not on it, but there is nothing explicitly anywhere to prevent it from working on it.
To add on to what @Pooh mentioned regarding Asterisk 16 - even using old versions of supported branches can result in failure to build, due to compiler updates on Linux distributions.
As a follow-up to me issue on building asterisk on Amazon Linux 2023,
for context as to why I am trying to compile asterisk v.16 is because my client maintains some customized repositories for our setup and one of them includes the asterisk 16 source code. We plan to migrate to asterisk v.20 next year as soon as we are done with the linux upgrade.
Now regarding my issue at hand I executed ./confugure and it went through smoothly (I even got the asterisk logo at the end) then after executing the make command suddently the compilation freezes and never gives out any error. At this point I need to interrupt the compilation process manually.
As for the logs I get after executing make, they look like this:
###########Loggs ###########
[qqvmrp0@leeawsbld02 asterisk-16.12.0]$ make
CC=“cc” CXX=“g++” LD=“” AR=“” RANLIB=“” CFLAGS=“” LDFLAGS=“” make -C menuselect CONFIGURE_SILENT=“–silent” makeopts
make[1]: Entering directory ‘/home/qqvmrp0/workspace/asterisk-bmw/build/maven/rpmbuild/BUILD/asterisk-16.12.0/menuselect’
make[1]: ‘makeopts’ is up to date.
make[1]: Leaving directory ‘/home/qqvmrp0/workspace/asterisk-bmw/build/maven/rpmbuild/BUILD/asterisk-16.12.0/menuselect’
Generating input for menuselect …
menuselect/menuselect --check-deps menuselect.makeopts
menuselect/menuselect --check-deps menuselect.makeopts
[LD] astdb2bdb.o db1-ast/libdb1.a → astdb2bdb
######### Here I interrupt the process #############
^Cmake[1]: *** Deleting file ‘astdb2bdb’
make[1]: *** wait: No child processes. Stop.
make[1]: *** Waiting for unfinished jobs…
make[1]: *** wait: No child processes. Stop.
make: *** [Makefile:390: utils] Error 2
#############Loggs End ###############