Project scenario:
In Linux system, use the command to decompress and install the keepalived source package.
Problem Description:
To install the keepalived source code package, you have run the following command:
tar -xzvf keepalived-2.2.2.tar.gz
cd keepalived-2.2.2
./configure --prefix=/usr/local/keepalived
yum -y install gcc
./configure --prefix=/usr/local/keepalived
The third command run result error, has been solved (solution), in the fifth line to re run the command error, the error message is:
configure: error:
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files.
Cause analysis:
The main reason for this error is the lack of header files. You only need to install OpenSSL and OpenSSL devel.
Solution:
To install OpenSSL and OpenSSL devel:
yum -y install openssl openssl-devel
Rerun the command ./configure -- prefix =/usr/local/kept code>, the command runs normally, and the problem is solved.
If there are other errors, please refer to:
configure: error: no acceptable C compiler found in $path error resolution
warning - this build will not support IPVS with IPv6