[editline/libedit.a] Error 2

Hello all, im new in asterisk, and after i read all the asterisk: the future of telephony, im trying to install in my Archlinux, before compile the asterisk- i’ve installed the zaptel and libpri.
When i try make install, the installation says Error 2, here the code

cd editline && test -f config.h || CFLAGS="-pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include ../..//include/asterisk/autoconfig.h -march=i686 -O6" LDFLAGS="" ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --with-ncurses= --with-curses= --with-termcap= --with-tinfo= make -C editline libedit.a /bin/sh makelist -h vi.c > vi.h makelist: line 81: /usr/ make[2]: ** [vi.h] Erro 127 make[1]: ** [editline/libedit.a] Erro 2 make: ** [main] Erro 2

Anyone could help me wht i solve this ?