Compiling asterisk 1.6.1.6

Hello. I am trying to compile asterisk 1.6.1.6 on Fedora and i am getting the following errors

menuselect/menuselect --check-deps menuselect.makeopts
Error parsing ‘menuselect-tree’!
make: *** [menuselect.makeopts] Error 255

Any idea how to solve it? Thanks
Herlit11

Is your menuselect installed successfully?