【Keepalived】AlmaLinux 9.8源码安装Keeplived-2.4.0
·
Keepalived最新版v2.4.0(包括后续更新的2.4.1、2.4.2版本)已经不支持CentOS 7.9系统了,编译时会出现函数报错,导致编译中断退出。
check/libcheck.a(libipvs.o):在函数‘open_nl_sock’中:
/usr/local/src/keepalived-2.4.0/keepalived/check/libipvs.c:312:对‘nl_handle_get_fd’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [keepalived] 错误 1
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
make: *** [all-recursive] 错误 1
在AlmaLinux 9.8里面安装成功,下面就分享下安装过程。
首先,还是需要安装一些环境依赖包,如gcc、gcc-c++、openssl、openssl-devel、libnl3、libnl3-devel等。
第一条命名执行感觉出了点问题,很多组件都没安装。
[root@k8s-node02 ~]# yum install -y curl gcc gcc-c++ openssl openssl-devel pcre pcre-devel zlib zlib-devel bash-completion libnl libnl-devel telnet
AlmaLinux 9 - AppStream 2.3 MB/s | 13 MB 00:05
AlmaLinux 9 - BaseOS 1.8 MB/s | 11 MB 00:06
AlmaLinux 9 - Extras 3.3 kB/s | 22 kB 00:06
软件包 curl-7.76.1-40.el9.x86_64 已安装。
软件包 openssl-1:3.5.5-2.el9_8.x86_64 已安装。
软件包 pcre-8.44-4.el9.x86_64 已安装。
软件包 zlib-1.2.11-40.el9.x86_64 已安装。
软件包 bash-completion-1:2.11-5.el9.noarch 已安装。
未找到匹配的参数: libnl
未找到匹配的参数: libnl-devel
错误:没有任何匹配: libnl libnl-devel
单独安装gcc、gcc-c++,成功。
[root@k8s-node02 ~]# yum install -y gcc gcc-c++
上次元数据过期检查:0:00:25 前,执行于 2026年06月24日 星期三 09时51分10秒。
依赖关系解决。
============================================================================================================================================================================================
软件包 架构 版本 仓库 大小
============================================================================================================================================================================================
安装:
gcc x86_64 11.5.0-14.el9.alma.1 appstream 32 M
gcc-c++ x86_64 11.5.0-14.el9.alma.1 appstream 13 M
安装依赖关系:
glibc-devel x86_64 2.34-266.el9_8 appstream 37 k
glibc-headers x86_64 2.34-266.el9_8 appstream 443 k
kernel-headers x86_64 5.14.0-687.17.1.el9_8 appstream 1.6 M
libstdc++-devel x86_64 11.5.0-14.el9.alma.1 appstream 2.2 M
libxcrypt-devel x86_64 4.4.18-3.el9 appstream 28 k
make x86_64 1:4.3-8.el9 baseos 530 k
事务概要
============================================================================================================================================================================================
安装 8 软件包
总下载:50 M
安装大小:141 M
下载软件包:
(1/8): glibc-devel-2.34-266.el9_8.x86_64.rpm 103 kB/s | 37 kB 00:00
(2/8): glibc-headers-2.34-266.el9_8.x86_64.rpm 1.4 MB/s | 443 kB 00:00
(3/8): kernel-headers-5.14.0-687.17.1.el9_8.x86_64.rpm 1.2 MB/s | 1.6 MB 00:01
(4/8): libstdc++-devel-11.5.0-14.el9.alma.1.x86_64.rpm 1.0 MB/s | 2.2 MB 00:02
(5/8): libxcrypt-devel-4.4.18-3.el9.x86_64.rpm 1.1 MB/s | 28 kB 00:00
(6/8): make-4.3-8.el9.x86_64.rpm 538 kB/s | 530 kB 00:00
(7/8): gcc-c++-11.5.0-14.el9.alma.1.x86_64.rpm 1.8 MB/s | 13 MB 00:07
(8/8): gcc-11.5.0-14.el9.alma.1.x86_64.rpm 2.3 MB/s | 32 MB 00:14
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 2.7 MB/s | 50 MB 00:18
AlmaLinux 9 - AppStream 3.0 MB/s | 3.1 kB 00:00
导入 GPG 公钥 0xB86B3716:
Userid: "AlmaLinux OS 9 <packager@almalinux.org>"
指纹: BF18 AC28 7617 8908 D6E7 1267 D36C B86C B86B 3716
来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
导入公钥成功
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : make-1:4.3-8.el9.x86_64 1/8
安装 : libstdc++-devel-11.5.0-14.el9.alma.1.x86_64 2/8
安装 : kernel-headers-5.14.0-687.17.1.el9_8.x86_64 3/8
安装 : glibc-headers-2.34-266.el9_8.x86_64 4/8
安装 : libxcrypt-devel-4.4.18-3.el9.x86_64 5/8
安装 : glibc-devel-2.34-266.el9_8.x86_64 6/8
安装 : gcc-11.5.0-14.el9.alma.1.x86_64 7/8
安装 : gcc-c++-11.5.0-14.el9.alma.1.x86_64 8/8
运行脚本: gcc-c++-11.5.0-14.el9.alma.1.x86_64 8/8
验证 : gcc-11.5.0-14.el9.alma.1.x86_64 1/8
验证 : gcc-c++-11.5.0-14.el9.alma.1.x86_64 2/8
验证 : glibc-devel-2.34-266.el9_8.x86_64 3/8
验证 : glibc-headers-2.34-266.el9_8.x86_64 4/8
验证 : kernel-headers-5.14.0-687.17.1.el9_8.x86_64 5/8
验证 : libstdc++-devel-11.5.0-14.el9.alma.1.x86_64 6/8
验证 : libxcrypt-devel-4.4.18-3.el9.x86_64 7/8
验证 : make-1:4.3-8.el9.x86_64 8/8
已安装:
gcc-11.5.0-14.el9.alma.1.x86_64 gcc-c++-11.5.0-14.el9.alma.1.x86_64 glibc-devel-2.34-266.el9_8.x86_64 glibc-headers-2.34-266.el9_8.x86_64
kernel-headers-5.14.0-687.17.1.el9_8.x86_64 libstdc++-devel-11.5.0-14.el9.alma.1.x86_64 libxcrypt-devel-4.4.18-3.el9.x86_64 make-1:4.3-8.el9.x86_64
完毕!
预编译,提示缺少openssl
[root@k8s-node02 src]# mkdir -p /usr/local/keepalived /etc/keepalived
[root@k8s-node02 src]# tar -xzf keepalived-2.4.0.tar.gz
[root@k8s-node02 src]# cd keepalived-2.4.0/
[root@k8s-node02 keepalived-2.4.0]# ls
aclocal.m4 autogen.sh build-aux ChangeLog configure.ac COPYING Dockerfile.in keepalived lib Makefile.am README.md TODO
AUTHOR bin_install build_setup configure CONTRIBUTORS doc INSTALL keepalived.spec.in m4 Makefile.in snap tools
[root@k8s-node02 keepalived-2.4.0]# ./configure --prefix=/usr/local/keepalived --sysconfdir=/etc/keepalived
checking for a BSD-compatible install... /usr/bin/install -c
。。。。省略。。。。
checking for gcc options needed to detect all undeclared functions... none needed
checking whether __NR_close_range is declared... yes
checking for close_range() libc function... Yes
checking whether CLOSE_RANGE_CLOEXEC is declared... yes
checking whether O_TMPFILE is declared... yes
checking whether ETHERTYPE_IPV6 is declared... yes
checking whether IPV6_FREEBIND is declared... yes
checking whether IPV6_MULTICAST_ALL is declared... yes
checking for openssl/ssl.h... no
configure: error:
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files. !!!
安装openssl
[root@k8s-node02 keepalived-2.4.0]# yum install -y openssl openssl-devel
上次元数据过期检查:0:02:50 前,执行于 2026年06月24日 星期三 09时51分10秒。
软件包 openssl-1:3.5.5-2.el9_8.x86_64 已安装。
依赖关系解决。
============================================================================================================================================================================================
软件包 架构 版本 仓库 大小
============================================================================================================================================================================================
安装:
openssl-devel x86_64 1:3.5.5-4.el9_8 appstream 3.4 M
升级:
openssl x86_64 1:3.5.5-4.el9_8 baseos 1.4 M
openssl-fips-provider x86_64 1:3.5.5-4.el9_8 baseos 816 k
openssl-libs x86_64 1:3.5.5-4.el9_8 baseos 2.3 M
事务概要
============================================================================================================================================================================================
安装 1 软件包
升级 3 软件包
总下载:7.9 M
下载软件包:
(1/4): openssl-fips-provider-3.5.5-4.el9_8.x86_64.rpm 1.2 MB/s | 816 kB 00:00
(2/4): openssl-3.5.5-4.el9_8.x86_64.rpm 1.3 MB/s | 1.4 MB 00:01
(3/4): openssl-libs-3.5.5-4.el9_8.x86_64.rpm 2.2 MB/s | 2.3 MB 00:01
(4/4): openssl-devel-3.5.5-4.el9_8.x86_64.rpm 1.9 MB/s | 3.4 MB 00:01
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 1.1 MB/s | 7.9 MB 00:06
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
升级 : openssl-libs-1:3.5.5-4.el9_8.x86_64 1/7
升级 : openssl-fips-provider-1:3.5.5-4.el9_8.x86_64 2/7
安装 : openssl-devel-1:3.5.5-4.el9_8.x86_64 3/7
升级 : openssl-1:3.5.5-4.el9_8.x86_64 4/7
清理 : openssl-1:3.5.5-2.el9_8.x86_64 5/7
清理 : openssl-fips-provider-1:3.5.5-2.el9_8.x86_64 6/7
清理 : openssl-libs-1:3.5.5-2.el9_8.x86_64 7/7
运行脚本: openssl-libs-1:3.5.5-2.el9_8.x86_64 7/7
验证 : openssl-devel-1:3.5.5-4.el9_8.x86_64 1/7
验证 : openssl-1:3.5.5-4.el9_8.x86_64 2/7
验证 : openssl-1:3.5.5-2.el9_8.x86_64 3/7
验证 : openssl-fips-provider-1:3.5.5-4.el9_8.x86_64 4/7
验证 : openssl-fips-provider-1:3.5.5-2.el9_8.x86_64 5/7
验证 : openssl-libs-1:3.5.5-4.el9_8.x86_64 6/7
验证 : openssl-libs-1:3.5.5-2.el9_8.x86_64 7/7
已升级:
openssl-1:3.5.5-4.el9_8.x86_64 openssl-fips-provider-1:3.5.5-4.el9_8.x86_64 openssl-libs-1:3.5.5-4.el9_8.x86_64
已安装:
openssl-devel-1:3.5.5-4.el9_8.x86_64
完毕!
再次编译,出现警告信息,还是提示缺少依赖包libnl、libnl3-devel
[root@k8s-node02 keepalived-2.4.0]# ./configure --prefix=/usr/local/keepalived --sysconfdir=/etc/keepalived
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
。。。。省略。。。。
Use IPv4 devconf : Yes
Use iptables : No
Use nftables : No
init type : systemd
systemd notify : No
Strict config checks : No
iproute usr directory : /usr/share/iproute2
iproute etc directory : /etc/iproute2
Default runtime options : -D
*** WARNING - this build will not support IPVS with IPv6. Please install libnl/libnl-3 dev libraries to support IPv6 with IPVS.
继续安装依赖包
[root@k8s-node02 keepalived-2.4.0]# yum install -y libnl3 libnl3-devel
上次元数据过期检查:0:05:40 前,执行于 2026年06月24日 星期三 09时51分10秒。
软件包 libnl3-3.11.0-1.el9.x86_64 已安装。
依赖关系解决。
============================================================================================================================================================================================
软件包 架构 版本 仓库 大小
============================================================================================================================================================================================
安装:
libnl3-devel x86_64 3.11.0-1.el9 appstream 77 k
事务概要
============================================================================================================================================================================================
安装 1 软件包
总下载:77 k
安装大小:316 k
下载软件包:
libnl3-devel-3.11.0-1.el9.x86_64.rpm 219 kB/s | 77 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 36 kB/s | 77 kB 00:02
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : libnl3-devel-3.11.0-1.el9.x86_64 1/1
运行脚本: libnl3-devel-3.11.0-1.el9.x86_64 1/1
验证 : libnl3-devel-3.11.0-1.el9.x86_64 1/1
已安装:
libnl3-devel-3.11.0-1.el9.x86_64
完毕!
继续重新预编译,成功了!
[root@k8s-node02 keepalived-2.4.0]# ./configure --prefix=/usr/local/keepalived --sysconfdir=/etc/keepalived
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /usr/bin/grep
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for strip... strip
checking for ldd... ldd
checking for ar... ar
checking the archiver (ar) interface... ar
checking if _FORTIFY_SOURCE is enabled... no
checking if using GCC Link Time Optimisation... no
checking msghdr.msg_controllen is size_t... yes
checking time print types... done
checking diagnostic pragmas in functions... yes
checking diagnostic push/pop pragmas... yes
checking for -Wall... yes
checking for -Wextra... yes
checking for -Wunused... yes
checking for -Wstrict-prototypes... yes
checking for -Wabi... no
checking for -Wabsolute-value... yes
checking for -Waddress-of-packed-member... yes
checking for -Walloca... yes
checking for -Walloc-larger-than=4096... no
checking for -Walloc-zero... yes
checking for -Warith-conversion... yes
checking for -Warray-bounds=2... yes
checking for -Wattribute-alias=2... yes
checking for -Wbad-function-cast... yes
checking for -Wc11-c2x-compat... yes
checking for -Wcast-align... yes
checking for -Wcast-qual... yes
checking for -Wchkp... no
checking for -Wdate-time... yes
checking for -Wdisabled-optimization... yes
checking for -Wdouble-promotion... yes
checking for -Wduplicated-branches... yes
checking for -Wduplicated-cond... yes
checking for -Wflex-array-member-not-at-end... no
checking for -Wfloat-conversion... yes
checking for -Wfloat-equal... yes
checking for -Wformat-overflow... yes
checking for -Wformat-security... no
checking for -Wformat-signedness... yes
checking for -Wformat-truncation... yes
checking for -Wframe-larger-than=5120... yes
checking for -Wimplicit-fallthrough=3... yes
checking for -Winit-self... yes
checking for -Winline... yes
checking for -Winvalid-pch... yes
checking for -Wjump-misses-init... yes
checking for -Wlogical-op... yes
checking for -Wmissing-declarations... yes
checking for -Wmissing-field-initializers... yes
checking for -Wmissing-include-dirs... yes
checking for -Wmissing-prototypes... yes
checking for -Wnested-externs... yes
checking for -Wnormalized... yes
checking for -Wnull-dereference... yes
checking for -Wold-style-definition... yes
checking for -Wordered-compare-function-pointers... no
checking for -Woverlength-strings... yes
checking for -Wpointer-arith... yes
checking for -Wredundant-decls... yes
checking for -Wshadow... yes
checking for -Wshift-overflow=2... yes
checking for -Wstack-protector... yes
checking for -Wstrict-overflow=4... yes
checking for -Wstringop-overflow=2... yes
checking for -Wstringop-truncation... yes
checking for -Wsuggest-attribute=cold... yes
checking for -Wsuggest-attribute=const... no
checking for -Wsuggest-attribute=format... yes
checking for -Wsuggest-attribute=malloc... yes
checking for -Wsuggest-attribute=noreturn... yes
checking for -Wsuggest-attribute=pure... yes
checking for -Wsync-nand... yes
checking for -Wtrampolines... yes
checking for -Wundef... yes
checking for -Wuninitialized... yes
checking for -Wunknown-pragmas... yes
checking for -Wunsafe-loop-optimizations... yes
checking for -Wunsuffixed-float-constants... yes
checking for -Wunused-const-variable=2... yes
checking for -Wunused-macros... no
checking for -Wvariadic-macros... yes
checking for -Wwrite-strings... yes
checking for function __attribute__((error(msg))) support... no
checking for function __attribute__((warn_unused_result)) support... yes
checking for PIE support... yes
checking for -Wformat -Werror=format-security support... yes
checking for -fexceptions support... yes
checking for -fstack-protector-strong support... yes
checking for --param=ssp-buffer-size=4 support... yes
checking for -grecord-gcc-switches support... yes
checking for -D_FORTIFY_SOURCE=2 support... yes
checking for -Wl,-z,relro support... yes
checking for -Wl,-z,now support... yes
checking for -O2 support... yes
CFLAGS=-g -g -O2 -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warith-conversion -Warray-bounds=2 -Wattribute-alias=2 -Wbad-function-cast -Wc11-c2x-compat -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstringop-overflow=2 -Wstringop-truncation -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wvariadic-macros -Wwrite-strings -fno-strict-aliasing -fPIE -Wformat -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -D_FORTIFY_SOURCE=2 -O2
checking for unaligned memory access... yes
checking for unaligned memory access causes warnings... no
checking for clock_gettime() requires -lrt... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for vfork.h... no
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/prctl.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for net/if_arp.h... yes
checking for linux/types.h... yes
checking for linux/ethtool.h... yes
checking for linux/if_ether.h... yes
checking for linux/if_packet.h... yes
checking for linux/ip.h... yes
checking for linux/sockios.h... yes
checking for linux/fib_rules.h... yes
checking for linux/if_addr.h... yes
checking for linux/if_link.h... yes
checking for linux/icmp.h... yes
checking for linux/icmpv6.h... yes
checking for linux/errqueue.h... yes
checking linux/errqueue.h needs sys/time.h... no
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for inline... inline
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for an ANSI C-conforming const... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for malloc... yes
checking for memmove... yes
checking for memset... yes
checking for realloc... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for vsyslog... yes
checking for memfd_create... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether __NR_close_range is declared... yes
checking for close_range() libc function... Yes
checking whether CLOSE_RANGE_CLOEXEC is declared... yes
checking whether O_TMPFILE is declared... yes
checking whether ETHERTYPE_IPV6 is declared... yes
checking whether IPV6_FREEBIND is declared... yes
checking whether IPV6_MULTICAST_ALL is declared... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for openssl/md5.h... yes
checking for openssl/evp.h... yes
checking for SSL_CTX_new in -lssl... yes
checking for EVP_DigestInit_ex in -lcrypto... yes
checking for EVP_MD_CTX_new in -lcrypto... yes
checking SSL_set_tlsext_host_name() - may be a definition... yes
checking for SSL_CTX_set_verify_depth... yes
checking for SSL_set0_rbio... yes
checking for SSL_set0_wbio... yes
checking for OPENSSL_init_crypto... yes
checking for TLS_method... yes
checking for ERR_get_error_all... yes
checking whether IPV4_DEVCONF_ARP_IGNORE is declared... yes
checking whether IPV4_DEVCONF_ACCEPT_LOCAL is declared... yes
checking whether IPV4_DEVCONF_RP_FILTER is declared... yes
checking whether IPV4_DEVCONF_ARPFILTER is declared... yes
checking for linux/rtnetlink.h... yes
checking for nl_socket_alloc in -lnl-3... yes
checking for genl_connect in -lnl-genl-3... yes
checking for netlink/netlink.h... yes
checking for netlink/genl/ctrl.h... yes
checking for netlink/genl/genl.h... yes
checking for magic_open in -lmagic... no
checking whether RTA_ENCAP is declared... yes
checking whether RTA_EXPIRES is declared... yes
checking whether RTA_NEWDST is declared... yes
checking whether RTA_PREF is declared... yes
checking whether FRA_SUPPRESS_PREFIXLEN is declared... yes
checking whether FRA_SUPPRESS_IFGROUP is declared... yes
checking whether FRA_TUN_ID is declared... yes
checking whether RTAX_CC_ALGO is declared... yes
checking whether RTAX_QUICKACK is declared... yes
checking whether RTEXT_FILTER_SKIP_STATS is declared... yes
checking whether FRA_L3MDEV is declared... yes
checking whether FRA_UID_RANGE is declared... yes
checking whether RTAX_FASTOPEN_NO_COOKIE is declared... yes
checking whether RTA_VIA is declared... yes
checking whether FRA_PROTOCOL is declared... yes
checking whether FRA_IP_PROTO is declared... yes
checking whether FRA_SPORT_RANGE is declared... yes
checking whether FRA_DPORT_RANGE is declared... yes
checking whether RTA_TTL_PROPAGATE is declared... yes
checking whether IFA_FLAGS is declared... yes
checking whether F_OFD_SETLK is declared... yes
checking whether IFA_PROTO is declared... no
checking whether LWTUNNEL_ENCAP_MPLS is declared... yes
checking whether LWTUNNEL_ENCAP_ILA is declared... yes
checking for libiptc/libip6tc.h... no
checking whether NFTA_TABLE_MAX is declared... yes
configure: WARNING: libnftnl missing
configure: WARNING: libmnl missing
checking for linux/if.h and net/if.h namespace collision... yes
checking for linux/if_ether.h then netinet/in.h then linux/if.h namespace collision... no
checking for linux/if_ether.h then netinet/if_ether.h namespace collision... no
checking for libiptc/libiptc.h linux/if.h and net/if.h namespace collision... yes
checking whether IPVS_DEST_ATTR_ADDR_FAMILY is declared... yes
checking whether IPVS_DAEMON_ATTR_SYNC_MAXLEN is declared... yes
checking whether IPVS_DAEMON_ATTR_MCAST_GROUP is declared... yes
checking whether IPVS_DAEMON_ATTR_MCAST_GROUP6 is declared... yes
checking whether IPVS_DAEMON_ATTR_MCAST_PORT is declared... yes
checking whether IPVS_DAEMON_ATTR_MCAST_TTL is declared... yes
checking whether IPVS_SVC_ATTR_STATS64 is declared... yes
checking whether IPVS_DEST_ATTR_STATS64 is declared... yes
checking whether IPVS_DEST_ATTR_TUN_TYPE is declared... yes
checking whether IP_VS_TUNNEL_ENCAP_FLAG_NOCSUM is declared... yes
checking whether IP_VS_CONN_F_TUNNEL_TYPE_GRE is declared... yes
checking whether IFLA_IPVLAN_MODE is declared... yes
checking whether IPVLAN_MODE_L3S is declared... yes
checking whether IFLA_IPVLAN_FLAGS is declared... yes
checking whether GLOB_BRACE is declared... yes
checking whether GLOB_ALTDIRFUNC is declared... yes
checking for timegm()... yes
checking whether IFLA_INET6_ADDR_GEN_MODE is declared... yes
checking whether IFLA_VRF_MAX is declared... yes
checking whether SO_MARK is declared... yes
enable_Sanitize_undefined =
checking for rpm... Yes
checking for rpmbuild... No
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating keepalived/Makefile
config.status: creating lib/Makefile
config.status: creating keepalived/core/Makefile
config.status: creating keepalived.spec
config.status: creating Dockerfile
config.status: creating keepalived/check/Makefile
config.status: creating keepalived/vrrp/Makefile
config.status: creating keepalived/bfd/Makefile
config.status: creating doc/Makefile
config.status: creating bin_install/Makefile
config.status: creating keepalived/dbus/Makefile
config.status: creating keepalived/etc/Makefile
config.status: creating keepalived/etc/init/Makefile
config.status: creating keepalived/etc/init.d/Makefile
config.status: creating keepalived/etc/sysconfig/Makefile
config.status: creating keepalived/etc/keepalived/Makefile
config.status: creating keepalived/trackers/Makefile
config.status: creating doc/man/man8/Makefile
config.status: creating doc/man/man5/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating lib/config.h
config.status: creating lib/config_warnings.h
config.status: lib/config_warnings.h is unchanged
config.status: executing depfiles commands
Keepalived configuration
------------------------
Keepalived version : 2.4.0
Compiler : gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-14)
Preprocessor flags : -D_GNU_SOURCE -I/usr/include/libnl3
Compiler flags : -g -g -O2 -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warith-conversion -Warray-bounds=2 -Wattribute-alias=2 -Wbad-function-cast -Wc11-c2x-compat -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstringop-overflow=2 -Wstringop-truncation -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wvariadic-macros -Wwrite-strings -fno-strict-aliasing -fPIE -Wformat -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -D_FORTIFY_SOURCE=2 -O2
Linker flags : -pie -Wl,-z,relro -Wl,-z,now
Extra Lib : -lm -lssl -lcrypto -lnl-3 -lnl-genl-3
Use IPVS Framework : Yes
IPVS use libnl : Yes
IPVS syncd attributes : Yes
IPVS 64 bit stats : Yes
HTTP_GET regex support : No
fwmark socket support : Yes
Use VRRP Framework : Yes
Use VRRP VMAC : Yes
Use VRRP authentication : Yes
With track_process : Yes
With linkbeat : Yes
Use NetworkManager : No
Use BFD Framework : No
SNMP vrrp support : No
SNMP checker support : No
SNMP RFCv2 support : No
SNMP RFCv3 support : No
DBUS support : No
Use JSON output : No
libnl version : 3
Use IPv4 devconf : Yes
Use iptables : No
Use nftables : No
init type : systemd
systemd notify : No
Strict config checks : No
iproute usr directory : /usr/share/iproute2
iproute etc directory : /etc/iproute2
Default runtime options : -D
编译、安装
[root@k8s-node02 keepalived-2.4.0]# make
Making all in lib
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/lib”
make all-am
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/lib”
CC memory.o
CC utils.o
CC notify.o
CC timer.o
CC scheduler.o
CC vector.o
CC html.o
CC parser.o
CC signals.o
CC logger.o
CC list_head.o
CC rbtree.o
CC process.o
CC json_writer.o
CC rttables.o
AR liblib.a
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/lib”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/lib”
Making all in keepalived
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived”
Making all in core
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/core”
CC main.o
CC daemon.o
CC pidfile.o
CC layer4.o
CC smtp.o
CC global_data.o
CC global_parser.o
CC keepalived_netlink.o
CC namespaces.o
CC track_process.o
CC reload_monitor.o
CC config_notify.o
AR libcore.a
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/core”
Making all in vrrp
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/vrrp”
CC vrrp_daemon.o
CC vrrp_print.o
CC vrrp_data.o
CC vrrp_parser.o
CC vrrp.o
CC vrrp_notify.o
CC vrrp_scheduler.o
CC vrrp_sync.o
CC vrrp_arp.o
CC vrrp_if.o
CC vrrp_track.o
CC vrrp_ipaddress.o
CC vrrp_ndisc.o
CC vrrp_if_config.o
CC vrrp_static_track.o
CC vrrp_iproute.o
CC vrrp_iprule.o
CC vrrp_ip_rule_route_parser.o
CC vrrp_vmac.o
CC vrrp_ipsecah.o
CC vrrp_auth_hmac.o
AR libvrrp.a
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/vrrp”
Making all in check
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/check”
CC check_daemon.o
CC check_data.o
CC check_parser.o
CC check_api.o
CC check_tcp.o
CC check_http.o
CC check_ssl.o
CC check_genhash.o
CC check_smtp.o
CC check_misc.o
CC check_dns.o
CC check_print.o
CC ipwrapper.o
CC ipvswrapper.o
CC libipvs.o
CC check_udp.o
CC check_ping.o
CC check_file.o
AR libcheck.a
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/check”
Making all in trackers
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/trackers”
CC track_file.o
AR libtracker.a
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/trackers”
Making all in etc
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
Making all in init
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init”
Making all in init.d
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init.d”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init.d”
Making all in keepalived
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
CP keepalived.conf.sample
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
Making all in sysconfig
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/sysconfig”
EDIT keepalived
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/sysconfig”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[3]: 对“all-am”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived”
CC main.o
CCLD keepalived
EDIT keepalived-non-root.service
EDIT keepalived.service
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
Making all in doc
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/doc”
Making all in man/man8
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man8”
EDIT keepalived.8
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man8”
Making all in man/man5
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man5”
EDIT keepalived.conf.5
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man5”
Making all in man/man1
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man1”
EDIT genhash.1
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man1”
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc”
make[2]: 对“all-am”无需做任何事。
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/doc”
Making all in bin_install
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/bin_install”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/bin_install”
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0”
EDIT README
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0”
[root@k8s-node02 keepalived-2.4.0]# make install
Making install in lib
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/lib”
make install-am
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/lib”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/lib”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/lib”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/lib”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/lib”
Making install in keepalived
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived”
Making install in core
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/core”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/core”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/core”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/core”
Making install in vrrp
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/vrrp”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/vrrp”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/vrrp”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/vrrp”
Making install in check
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/check”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/check”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/check”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/check”
Making install in trackers
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/trackers”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/trackers”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/trackers”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/trackers”
Making install in etc
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
Making install in init
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init”
make[4]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init”
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init”
Making install in init.d
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init.d”
make[4]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init.d”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init.d”
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/init.d”
Making install in keepalived
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
make[4]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
make[4]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/etc/keepalived/keepalived'
/usr/bin/install -c -m 644 keepalived.conf.sample '/etc/keepalived/keepalived'
make install-data-hook
make[5]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
make[5]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
make[4]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/keepalived”
Making install in sysconfig
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/sysconfig”
make[4]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/sysconfig”
make[4]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/etc/keepalived/sysconfig'
/usr/bin/install -c -m 644 keepalived '/etc/keepalived/sysconfig'
make[4]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/sysconfig”
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc/sysconfig”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[4]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 对“install-data-am”无需做任何事。
make[4]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived/etc”
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived”
/usr/bin/mkdir -p '/usr/local/keepalived/sbin'
/usr/bin/install -c keepalived '/usr/local/keepalived/sbin'
make install-exec-hook
make[4]: 进入目录“/usr/local/src/keepalived-2.4.0/keepalived”
/usr/bin/mkdir -p //usr/local/keepalived/bin
make[4]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
/usr/bin/mkdir -p '/usr/lib/systemd/system'
/usr/bin/install -c -m 644 keepalived.service '/usr/lib/systemd/system'
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/keepalived”
Making install in doc
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/doc”
Making install in man/man8
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man8”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man8”
make[3]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/local/keepalived/share/man/man8'
/usr/bin/install -c -m 644 keepalived.8 '/usr/local/keepalived/share/man/man8'
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man8”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man8”
Making install in man/man5
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man5”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man5”
make[3]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/local/keepalived/share/man/man5'
/usr/bin/install -c -m 644 keepalived.conf.5 '/usr/local/keepalived/share/man/man5'
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man5”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man5”
Making install in man/man1
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man1”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/doc/man/man1”
make[3]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/local/keepalived/share/man/man1'
/usr/bin/install -c -m 644 genhash.1 '/usr/local/keepalived/share/man/man1'
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man1”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc/man/man1”
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/doc”
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0/doc”
make[3]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/local/keepalived/share/snmp/mibs'
/usr/bin/mkdir -p '/etc/keepalived/keepalived/samples'
/usr/bin/install -c -m 644 ./samples/keepalived.conf.conditional_conf ./samples/keepalived.conf.fwmark ./samples/keepalived.conf.HTTP_GET.port ./samples/keepalived.conf.inhibit ./samples/keepalived.conf.IPv6 ./samples/keepalived.conf.misc_check ./samples/keepalived.conf.misc_check_arg ./samples/keepalived.conf.PING_CHECK ./samples/keepalived.conf.quorum ./samples/keepalived.conf.sample ./samples/keepalived.conf.SMTP_CHECK ./samples/keepalived.conf.SSL_GET ./samples/keepalived.conf.status_code ./samples/keepalived.conf.track_interface ./samples/keepalived.conf.UDP_CHECK ./samples/keepalived.conf.virtualhost ./samples/keepalived.conf.virtual_server_group ./samples/keepalived.conf.vrrp ./samples/keepalived.conf.vrrp.localcheck ./samples/keepalived.conf.vrrp.lvs_syncd ./samples/keepalived.conf.vrrp.routes ./samples/keepalived.conf.vrrp.rules ./samples/keepalived.conf.vrrp.scripts ./samples/keepalived.conf.vrrp.static_ipaddress ./samples/keepalived.conf.vrrp.sync ./samples/keepalived.service.d.auth_hmac.conf ./samples/sample.misccheck.smbcheck.sh ./samples/sample_notify_fifo.sh '/etc/keepalived/keepalived/samples'
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0/doc”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/doc”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/doc”
Making install in bin_install
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0/bin_install”
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0/bin_install”
make[2]: 对“install-exec-am”无需做任何事。
make[2]: 对“install-data-am”无需做任何事。
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0/bin_install”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0/bin_install”
make[1]: 进入目录“/usr/local/src/keepalived-2.4.0”
make[2]: 进入目录“/usr/local/src/keepalived-2.4.0”
make[2]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/local/keepalived/share/doc/keepalived'
/usr/bin/install -c -m 644 README '/usr/local/keepalived/share/doc/keepalived'
make install-data-hook
make[3]: 进入目录“/usr/local/src/keepalived-2.4.0”
make[3]: 对“install-data-hook”无需做任何事。
make[3]: 离开目录“/usr/local/src/keepalived-2.4.0”
make[2]: 离开目录“/usr/local/src/keepalived-2.4.0”
make[1]: 离开目录“/usr/local/src/keepalived-2.4.0”
更多推荐


所有评论(0)