Let's take Ettercap (Can be any software) and configure it:
sudo -c "./configure --prefix=/usr/local/ettercap"
An error arises:
checking for libpcap... no
Is Libpcap missing ? NO ! Ettercap wants the "devel" package, not only for libpcap but for all dependencies.
Let's use yum:
yum install ettercap
Success ! Yum doesn't require "devel" packages, why ?