It seems that the toaster scripts for installing phpmyadmin try to install php4-gd even if you have your conf files set up for php5. I didnt look through the script since I can just install phpmyadmin manualy, but this may be something that needs fixed?