To compile PHP with pspell support, you need the aspell library, available from ยป http://aspell.net/.