Finally after receiving my own Raspberry Pi (I didn’t seem to make it onto the first-to-be-delivered list) I successfully compiled the latest Asterisk:
apt-get -y install make gcc g++ libxml2 libxml2-dev ssh libncurses5 libncursesw5 libncurses5-dev libncursesw5-dev linux-libc-dev sqlite libnewt-dev libusb-dev zlib1g-dev libmysqlclient15-dev libsqlite0 libsqlite0-dev bison openssl libssl-dev libeditline0 libeditline-dev libedit-dev mc sox libedit2 libedit-dev curl libcurl4-gnutls-dev apache2 libapache2-mod-php5 php-pear openssh-server build-essential openssh-client zlib1g zlib1g-dev libtiff4 libtiff4-dev libnet-telnet-perl mime-construct libipc-signal-perl libmime-types-perl libproc-waitstat-perl mpg123 libiksemel-dev cd /usr/src/ wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8.13.0-rc2.tar.gz tar -xvzf asterisk-1.8.13.0-rc2.tar.gz cd asterisk-1.8.13.0-rc2 ./configure make menuconfig make make install make samples make config
I was not required to add the PROC=arm line to makeopts.in as reported in other forums, the PROC setting seems to have been removed in Asterisk recently.
Next step will be to set up FreePBX…