Problem in "make install"


I am new in Asterisk and i try to install it.
When i run “make install” i take these results:

menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... if [ x`/usr/bin/id -un` = xroot ]; then CFLAGS=" -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 " sh build_tools/mkpkgconfig /usr/lib/pkgconfig; fi mkdir -p /var/lib/asterisk/static-http mkdir: cannot create directory `/var/lib/asterisk': Permission denied make: *** [datafiles] Error 1

Can you tell me how can i fix this error?
Thank in advance.

login as root or su to root.

Thank you.