Fedora asterisk - After install of freepbx asterisk stops working

My asterisk was working after running install_amp asterisk has stoppped working
Asterisk ended with exit status 1
Asterisk died with code 1
Automatically restarting Asterisk
mpg123 No process killed

If i remove freepbx , erase Asterisk and reinstall (yum) asterisk it works again!

What am I doing wrong

not providing enough information

The above had been installed using yum.
Ultimately I downloaded and compiled freepbs and presto it started working. Apparently the files downloaded and installed have some dependency problems!