If Amarok is to be built from source the Qt Script Generator at http://code.google.com/p/qtscriptgenerator/ is required. However after going through the compile steps in the package, the following errors are encountered
make: Entering directory
make: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_phonon/main.cpp', needed by `debug/main.o'. Stop.