That's perfect, thanks. I had previously attempted to install libasound2-dev, but only after I had configured. Doing this in the wrong order meant that (of course) it didn't work right! Starting again from scratch and installing libasound2-dev as you describe did the trick and it works now.