To install

./bootstrap
./configure (plus arguments)
make
sudo make install


To build the examples specify --enable-examples to configure.