ERROR!  dnet header not found, go get it from
   http://code.google.com/p/libdnet/ or use the --with-dnet-*
   options, if you have it installed in an unusual place

 

This may caused by  both the manually installed libdnet and the one installed via the community ,  and then remove both (make uninstall and yum remove),  re-instal libdnet again via pacman solved the issue.