Some problems regarding setup an asterisk from sources

I did try to setup an Asterisk from source according to an instruction like this. “http://letitknow.wordpress.com/2011/04/22/how-to-install-asterisk-1-8-on-ubuntu-server-10-10/

But I always got error messages during the “make” step

I got the messages like this

root@asterisk:/usr/src/asterisk-1.8.3.2# make
make: -F.: Command not found
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.


make: *** [makeopts] Error 1

I have tried to solve this problem for a while, but still did not find solutions. if you have some ideas about this error message.

Did you run ./configure from the source directory before trying to run make?

Yes I did run ./configure
but I think I found the problem because I did not have “build-essential” installed.
after apt-get install build-essentia
I fixed this problem.