mod_ban.c:33:23: mod_ctrls.h: No such file or directory
mod_ban.c:42:3: #error "ProFTPD 1.2.10rc1 or later required"
mod_ban.c:46:3: #error "Controls support required (use --enable-ctrls)"
das ist ja wohl mehr als eindeutig. Ausserdem in der Anleitung steht:
Installation
To install mod_ban, copy the mod_ban.c file into:
proftpd-dir/contrib/
after unpacking the latest proftpd-1.2.x source code. Then follow the usual steps for using third-party modules in proftpd, making sure to include the --enable-ctrls configure option, which mod_ban requires:
./configure --enable-ctrls --with-modules=mod_ban
make
make install