Looks like you do not have asterisk running.
Logged in as root user execute the following script before ./install -n
from the same directory.
./start_asterisk start
Depending what you did previous to this, you may need to do the following to get asterisk to start if the following file does not already exist.
touch /etc/asterisk/modules.conf