reaver-wps is the program that cracks wps. I encountered problem while running the configure script for the source code on KDE Linux Mint 12:
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for pcap_open_live in -lpcap… no
error: pcap library not found!
libpcap0.8 and libpcap0.8-dev were installed because I installed wireshark, however the problem was not due to absence of libpcap. It lacked sqlite3 development files, for ubuntu based Linux use apt-get to install libsqlite3-dev and install sqlite3. Installing sqlite3 alone does not install libsqlite3-dev.
sudo apt-get install libsqlite3-dev
After installing libsqlite3-dev configure script configured the source code successfully.
Note: Reaver has sqlite3 and libpcap as dependencies.