How to setup (compile/install) znc
Here in this post I will let you know how to setup znc in your shell.
STEPS:
1) Login to your shell
2) type: wget http://kent.dl.sourceforge.net/sourceforge/znc/znc-0.068.tar.gz
Above command will download znc in your shell in tar.gz format.
3) type: tar -zxf znc-0.068.tar.gz
Above command will untar your znc in your shell.
4) type: cd znc-0.068
Above command will change your directory to znc-0.068
5) type: ./configure –prefix=$HOME/ZNC
Above command will configure your znc.
6) type: make
7) type: make install
Above command will install your znc
type: ./znc
Above command will start your znc process. So you are ready to go. Have fun using znc.
If you are facing any problem with installing or compiling znc, post your problem or error in comments. I will try to help you to resolving your issues.

cannot create directory ‘/usr/local/include/znc’
ermission denied
make sure the path is correct or you have proper privilege