Code:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PATH=/usr/local/bin:$PATH
autoreconf -isf
./configure --prefix=/usr/local
make
sudo make install
for the dock, the plug-ins, and the themes.
then launch your dock by cairo-dock -g in this terminal, or /usr/local/bin/cairo-dock -g otherwise.