note you’ll be putting the “natty main” source into your sources.list file, not “maverick main”

and you might have to do apt-get install build-essential prior to running the apt-get source mysql-5.5

These were the missing dependencies to the build that I found missing
sudo apt-get install libtool
sudo apt-get install debhelper
sudo apt-get install libncurses5-dev
sudo apt-get install libwrap0-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libreadline-dev
sudo apt-get install po-debconf
sudo apt-get install chrpath
sudo apt-get install doxygen
sudo apt-get install texlive-latex-base
sudo apt-get install ghostscript
sudo apt-get install gawk
sudo apt-get install bison
sudo apt-get install hardening-wrapper
sudo apt-get install cmake