All you have to do is to run in a console or a terminal:
$ ./configure $ make
$
./configure
make
Then get root privileges and install WeeChat:
$ su (enter root password) # make install
su
#
make install