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