kea安装之前,首先安装了mysql,在安装kea时执行
./configure \--with-dhcp-mysql
时却显示configure: error: --with-dhcp-mysql should point to a mysql_config program,导致kea一直安装不下去,找了半天,最后指定一个路径显示
checking for MySQL headers and library... no
configure: error: Needs MySQL library
可以定位到问题时mysql安装问题,使用yum install -y mysql-devel解决问题,重新执行
./configure \--with-dhcp-mysql
接下来再执行make,make install安装kea