First download the source of espeak and unzip it in this directory: ~/Downloads/espeak-1.48.04-source/src
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe"
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libportaudio-dev
sudo apt-get install portaudio19-dev
cd ~/Downloads/espeak-1.48.04-source/src
cp portaudio19.h portaudio.h