yum install perl

using --with-apxs2=/path/to/apxs

cd /usr/local/directadmin/custombuild
./build all d