1. # ./configure
  2.  
  3. ./configure
  4. checking for gcc... gcc
  5. checking for C compiler default output file name... a.out
  6. checking whether the C compiler works... yes
  7. checking whether we are cross compiling... no
  8. checking for suffix of executables...
  9. checking for suffix of object files... o
  10. checking whether we are using the GNU C compiler... yes
  11. checking whether gcc accepts -g... yes
  12. checking for gcc option to accept ISO C89... none needed
  13. checking for a BSD-compatible install... /usr/bin/install -c
  14. checking for strip... strip
  15. checking how to run the C preprocessor... gcc -E
  16. checking for grep that handles long lines and -e... /bin/grep
  17. checking for egrep... /bin/grep -E
  18. checking for ANSI C header files... yes
  19. checking for sys/wait.h that is POSIX.1 compatible... yes
  20. checking for sys/types.h... yes
  21. checking for sys/stat.h... yes
  22. checking for stdlib.h... yes
  23. checking for string.h... yes
  24. checking for memory.h... yes
  25. checking for strings.h... yes
  26. checking for inttypes.h... yes
  27. checking for stdint.h... yes
  28. checking for unistd.h... yes
  29. checking fcntl.h usability... yes
  30. checking fcntl.h presence... yes
  31. checking for fcntl.h... yes
  32. checking syslog.h usability... yes
  33. checking syslog.h presence... yes
  34. checking for syslog.h... yes
  35. checking for unistd.h... (cached) yes
  36. checking sys/ioctl.h usability... yes
  37. checking sys/ioctl.h presence... yes
  38. checking for sys/ioctl.h... yes
  39. checking sys/time.h usability... yes
  40. checking sys/time.h presence... yes
  41. checking for sys/time.h... yes
  42. checking openssl/ssl.h usability... yes
  43. checking openssl/ssl.h presence... yes
  44. checking for openssl/ssl.h... yes
  45. checking openssl/md5.h usability... yes
  46. checking openssl/md5.h presence... yes
  47. checking for openssl/md5.h... yes
  48. checking openssl/err.h usability... yes
  49. checking openssl/err.h presence... yes
  50. checking for openssl/err.h... yes
  51. checking for MD5_Init in -lcrypto... yes
  52. checking for SSL_CTX_new in -lssl... yes
  53. checking for poptGetContext in -lpopt... yes
  54. checking for kernel version... 2.6.18
  55. checking net/ip_vs.h usability... no
  56. checking net/ip_vs.h presence... no
  57. checking for net/ip_vs.h... no
  58. configure: WARNING: keepalived will be built without LVS support.
  59. checking for an ANSI C-conforming const... yes
  60. checking for pid_t... yes
  61. checking whether time.h and sys/time.h may both be included... yes
  62. checking whether gcc needs -traditional... no
  63. checking for working memcmp... yes
  64. checking return type of signal handlers... void
  65. checking for gettimeofday... yes
  66. checking for select... yes
  67. checking for socket... yes
  68. checking for strerror... yes
  69. checking for strtol... yes
  70. checking for uname... yes
  71. configure: creating ./config.status
  72. config.status: creating Makefile
  73. config.status: creating genhash/Makefile
  74. config.status: WARNING:  'genhash/Makefile.in' seems to ignore the --datarootdir setting
  75. config.status: creating keepalived/core/Makefile
  76. config.status: creating keepalived/include/config.h
  77. config.status: creating keepalived.spec
  78. config.status: creating keepalived/Makefile
  79. config.status: WARNING:  'keepalived/Makefile.in' seems to ignore the --datarootdir setting
  80. config.status: creating lib/Makefile
  81. config.status: creating keepalived/vrrp/Makefile
  82.  
  83. Keepalived configuration
  84. ------------------------
  85. Keepalived version       : 1.1.19
  86. Compiler                 : gcc
  87. Compiler flags           : -g -O2
  88. Extra Lib                : -lpopt -lssl -lcrypto
  89. Use IPVS Framework       : No
  90. IPVS sync daemon support : No
  91. Use VRRP Framework       : Yes
  92. Use Debug flags          : No
  93.  
  94. #make
  95.  
  96. make
  97. make -C lib || exit 1;
  98. make[1]: Entering directory `/root/keepalived-1.1.19/lib'
  99. make[1]: Nothing to be done for `all'.
  100. make[1]: Leaving directory `/root/keepalived-1.1.19/lib'
  101. make -C keepalived
  102. make[1]: Entering directory `/root/keepalived-1.1.19/keepalived'
  103. make[2]: Entering directory `/root/keepalived-1.1.19/keepalived/core'
  104. gcc -g -O2  -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_ -D_WITH_VRRP_  -c main.c
  105. make[2]: Leaving directory `/root/keepalived-1.1.19/keepalived/core'
  106. make[2]: Entering directory `/root/keepalived-1.1.19/keepalived/vrrp'
  107. make[2]: Nothing to be done for `all'.
  108. make[2]: Leaving directory `/root/keepalived-1.1.19/keepalived/vrrp'
  109. Building ../bin/keepalived
  110. strip ../bin/keepalived
  111.  
  112. Make complete
  113. make[1]: Leaving directory `/root/keepalived-1.1.19/keepalived'
  114. make -C genhash
  115. make[1]: Entering directory `/root/keepalived-1.1.19/genhash'
  116. strip ../bin/genhash
  117.  
  118. Make complete
  119. make[1]: Leaving directory `/root/keepalived-1.1.19/genhash'
  120.  
  121. Make complete
  122.  
  123. #make install
  124.  
  125. make install
  126. make -C keepalived install
  127. make[1]: Entering directory `/root/keepalived-1.1.19/keepalived'
  128. install -d /usr/local/sbin
  129. install -m 700 ../bin/keepalived /usr/local/sbin/
  130. install -d /usr/local/etc/rc.d/init.d
  131. install -m 755 etc/init.d/keepalived.init /usr/local/etc/rc.d/init.d/keepalived
  132. install -d /usr/local/etc/sysconfig
  133. install -m 755 etc/init.d/keepalived.sysconfig /usr/local/etc/sysconfig/keepalived
  134. install -d /usr/local/etc/keepalived/samples
  135. install -m 644 etc/keepalived/keepalived.conf /usr/local/etc/keepalived/
  136. install -m 644 ../doc/samples/* /usr/local/etc/keepalived/samples/
  137. install -d /usr/local/share/man/man5
  138. install -d /usr/local/share/man/man8
  139. install -m 644 ../doc/man/man5/keepalived.conf.5 /usr/local/share/man/man5
  140. install -m 644 ../doc/man/man8/keepalived.8 /usr/local/share/man/man8
  141. make[1]: Leaving directory `/root/keepalived-1.1.19/keepalived'
  142. make -C genhash install
  143. make[1]: Entering directory `/root/keepalived-1.1.19/genhash'
  144. install -d /usr/local/bin
  145. install -m 755 ../bin/genhash /usr/local/bin/
  146. install -d /usr/local/share/man/man1
  147. install -m 644 ../doc/man/man1/genhash.1 /usr/local/share/man/man1
  148. make[1]: Leaving directory `/root/keepalived-1.1.19/genhash'
  149.  
  150.