Error make config Version 18.19 Rocky 9

Hi, I’m trying to install asterisk version 18.19 on Rocky Linux 9 but when I run the make config it gives me the following error:
error2
/bin/sh: -c: line 8: systax error: unexpected end of file
make: *** [Makefile:917: config] Error 2.

What process can I follow? Someone help me please.

Is it trying to install RedHat scripts that no longer exist on Rocky Linux ?

You might need to manually copy in a systemd script and some /etc/asterisk/ configs.

Why don’t you NOT run that Asterisk 18.9 version that comes Standard on on Rocky Linux and
create a directory like so: mkdir cd /usr/src/asterisk then download the latest Asterisk and build in that manner, in that directory build from there

have run the “configure” script first ?
also try run

./contrib/scripts/install_prereq
./configure

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.