Red Hat install Directadmin

Latest response

Maybe someone can help install Directadmin.
Starts to install and then throws this error and doesn't complete the install. Is there any solution?
checking for gcc option to accept ISO C99... none needed
checking for -pcre2-config... no
checking for -pcre-config... no
checking for pcre2-config... no
checking for pcre-config... no
configure: error: pcre(2)-config for libpcre not found. PCRE is required and available from http://pcre.org/

*** There was an error while trying to configure Apache 2. Check the /usr/local/directadmin/custombuild/configure/ap2/configure.apache file
2023/12/26 20:09:28 info executing task task=action=notify&message=CustomBuild+installation+has+failed%2C+please+check+the+following+file+for+more+information%3A%0A%2Fvar%2Flog%2Fdirectadmin%2Fcustombuild.1703614123.39877.YWxsAGQA.log&subject=CustomBuild+installation+has+failed&value=admin
postdrop: warning: unable to look up public/pickup: No such file or directory
^C

I contacted DirectAdmin for help, they indicated that the problem is RedHat, it is not possible to install mailx ystem-devel perl-Perl4-CoreLibs. I tried to install manually, but it throws an error:
Error: Unable to find a match: mailx ystem-devel perl-Perl4-CoreLibs

Responses