Thanks to Joel Dinel for pointing me to this address: http://www.linuxnewbie.org/ubb/Forum12/HTML/000096.html
Turns out I did not have libncurses5-dev installed, only libncurses5. Now I'm wondering why apt did not warn me of the missing dependance... Dan.