Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6660185
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: 网络与安全

2016-01-13 23:47:25

-------------------Installing Quagga
# tar xzf quagga-0.99.21mr2.2.tar.gz
# cd quagga-0.99.21mr2.2
// # ./bootstrap.sh
[root@localhost quagga-0.99.21mr2.2]# ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb --sysconfdir=/usr/local/etc/quagga --enable-vtysh --localstatedir=/var/run/quagga
[root@localhost quagga-0.99.21mr2.2]# make -j4
[root@localhost quagga-0.99.21mr2.2]# make install
[root@localhost quagga-0.99.21mr2.2]# mkdir /run/quagga

++++++++++++++++++++++++++++++++++++++++++++++++++++++

# rpm -ivh /mnt/iso/Packages/quagga-0.99.22.4-4.el7.x86_64.rpm
# cp /etc/sysconfig/quagga /etc/sysconfig/quagga.bac
# cp /usr/lib/systemd/system/zebra.service /usr/lib/systemd/system/zebra.service.bac
# cp /etc/quagga/zebra.conf /etc/quagga/zebra.conf.bac
# ls /run/quagga/
#
# cp /usr/sbin/zebra /usr/sbin/zebra.bac
# rpm -e quagga
++++++++++++++++++++++++++++++++++++++++++++++++++++++
# mkdir /run/quagga
# cp /etc/sysconfig/quagga.bac /etc/sysconfig/quagga

# gedit /usr/lib/systemd/system/zebra.service
--------------------------------------

点击(此处)折叠或打开

  1. [Unit]
  2. Description=GNU Zebra routing manager
  3. Wants=network.target
  4. Before=network.target
  5. ConditionPathExists=/usr/local/etc/quagga/zebra.conf

  6. [Service]
  7. Type=forking
  8. PIDFile=/run/quagga/zebra.pid
  9. EnvironmentFile=-/etc/sysconfig/quagga
  10. ExecStartPre=/sbin/ip route flush proto zebra
  11. ExecStart=/usr/local/sbin/zebra -d $ZEBRA_OPTS -f /usr/local/etc/quagga/zebra.conf
  12. Restart=on-abort

  13. [Install]
  14. WantedBy=multi-user.target
--------------------------------------

[root@localhost quagga-0.99.21mr2.2]# systemctl enable zebra
ln -s '/usr/lib/systemd/system/zebra.service' '/etc/systemd/system/multi-user.target.wants/zebra.service'
[root@localhost quagga-0.99.21mr2.2]# systemctl start zebra
[root@localhost quagga-0.99.21mr2.2]# systemctl status zebra

[root@localhost quagga-0.99.21mr2.2]# vtysh
[root@localhost quagga-0.99.21mr2.2]# telnet localhost 2601

+++++++++++++++++++++++++++++++ CentOS7

[root@localhost quagga]# pwd
/opt/tools/network_simulators/quagga/quagga
[root@localhost quagga]# ll ../quagga
quagga/                     quagga-0.99.21mr2.2.tar.gz  quagga-svnsnap.tgz          
[root@localhost quagga]# ll ../quagga-svnsnap.tgz
-rw-r--r--. 1 root root 2560375 1月  29 11:05 ../quagga-svnsnap.tgz
[root@localhost quagga]# ./bootstrap.sh

点击(此处)折叠或打开

  1. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  2. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  3. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  4. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  5. xpimd/xorp/config/acipv6.m4:42: the top level
  6. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  7. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  8. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  9. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  10. xpimd/xorp/config/acipv6.m4:66: the top level
  11. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  12. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  13. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  14. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  15. xpimd/xorp/config/acipv6.m4:176: the top level
  16. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  17. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  18. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  19. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  20. xpimd/xorp/config/acipv6.m4:42: the top level
  21. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  22. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  23. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  24. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  25. xpimd/xorp/config/acipv6.m4:66: the top level
  26. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  27. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  28. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  29. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  30. xpimd/xorp/config/acipv6.m4:176: the top level
  31. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  32. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  33. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  34. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  35. xpimd/xorp/config/acipv6.m4:42: the top level
  36. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  37. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  38. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  39. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  40. xpimd/xorp/config/acipv6.m4:66: the top level
  41. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  42. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  43. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  44. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  45. xpimd/xorp/config/acipv6.m4:176: the top level
  46. libtoolize: putting auxiliary files in `.'.
  47. libtoolize: copying file `./ltmain.sh'
  48. libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
  49. libtoolize: copying file `m4/libtool.m4'
  50. libtoolize: copying file `m4/ltoptions.m4'
  51. libtoolize: copying file `m4/ltsugar.m4'
  52. libtoolize: copying file `m4/ltversion.m4'
  53. libtoolize: copying file `m4/lt~obsolete.m4'
  54. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  55. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  56. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  57. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  58. xpimd/xorp/config/acipv6.m4:42: the top level
  59. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  60. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  61. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  62. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  63. xpimd/xorp/config/acipv6.m4:66: the top level
  64. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  65. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  66. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  67. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  68. xpimd/xorp/config/acipv6.m4:176: the top level
  69. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  70. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  71. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  72. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  73. xpimd/xorp/config/acipv6.m4:42: the top level
  74. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  75. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  76. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  77. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  78. xpimd/xorp/config/acipv6.m4:66: the top level
  79. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  80. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  81. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  82. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  83. xpimd/xorp/config/acipv6.m4:176: the top level
  84. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  85. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  86. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  87. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  88. xpimd/xorp/config/acipv6.m4:42: the top level
  89. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  90. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  91. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  92. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  93. xpimd/xorp/config/acipv6.m4:66: the top level
  94. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  95. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  96. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  97. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  98. xpimd/xorp/config/acipv6.m4:176: the top level
  99. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  100. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  101. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  102. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  103. xpimd/xorp/config/acipv6.m4:42: the top level
  104. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  105. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  106. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  107. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  108. xpimd/xorp/config/acipv6.m4:66: the top level
  109. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  110. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  111. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  112. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  113. xpimd/xorp/config/acipv6.m4:176: the top level
  114. xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  115. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  116. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  117. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  118. xpimd/xorp/config/acipv6.m4:42: the top level
  119. xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  120. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  121. ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
  122. ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
  123. xpimd/xorp/config/acipv6.m4:66: the top level
  124. xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  125. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  126. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  127. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  128. xpimd/xorp/config/acipv6.m4:176: the top level
  129. configure.ac:80: installing './compile'
  130. configure.ac:17: installing './config.guess'
  131. configure.ac:17: installing './config.sub'
  132. configure.ac:21: installing './install-sh'
  133. configure.ac:21: installing './missing'
  134. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  135. Makefile.am: installing './INSTALL'
  136. babeld/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  137. babeld/Makefile.am: installing './depcomp'
  138. bgpd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  139. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  140. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  141. doc/Makefile.am:40: installing 'doc/mdate-sh'
  142. doc/Makefile.am:40: installing 'doc/texinfo.tex'
  143. isisd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  144. isisd/topology/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  145. lib/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  146. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  147. ospf6d/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  148. ospfclient/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  149. ospfd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  150. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  151. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  152. ripd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  153. ripngd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  154. solaris/Makefile.am:71: warning: '%'-style pattern rules are a GNU make extension
  155. solaris/Makefile.am:75: warning: '%'-style pattern rules are a GNU make extension
  156. solaris/Makefile.am:79: warning: '%'-style pattern rules are a GNU make extension
  157. solaris/Makefile.am:84: warning: '%'-style pattern rules are a GNU make extension
  158. solaris/Makefile.am:88: warning: '%'-style pattern rules are a GNU make extension
  159. solaris/Makefile.am:98: warning: '%'-style pattern rules are a GNU make extension
  160. solaris/Makefile.am:103: warning: '%'-style pattern rules are a GNU make extension
  161. configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  162. tests/Makefile.am:41: warning: shell find core -name '*.py' -type f: non-POSIX variable name
  163. tests/Makefile.am:41: (probably a GNU make extension)
  164. tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  165. vtysh/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  166. watchquagga/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  167. xpimd/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  168. zebra/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
[root@localhost quagga]# ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb --sysconfdir=/usr/local/etc/quagga --enable-vtysh --localstatedir=/var/run/quagga

点击(此处)折叠或打开

  1. checking build system type... x86_64-unknown-linux-gnu
  2. checking host system type... x86_64-unknown-linux-gnu
  3. checking target system type... x86_64-unknown-linux-gnu
  4. checking for a BSD-compatible install... /usr/bin/install -c
  5. checking whether build environment is sane... yes
  6. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  7. checking for gawk... gawk
  8. checking whether make sets $(MAKE)... yes
  9. checking whether make supports nested variables... yes
  10. checking for gawk... gawk
  11. checking for gcc... gcc
  12. checking whether the C compiler works... yes
  13. checking for C compiler default output file name... a.out
  14. checking for suffix of executables...
  15. checking whether we are cross compiling... no
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C compiler... yes
  18. checking whether gcc accepts -g... yes
  19. checking for gcc option to accept ISO C89... none needed
  20. checking for style of include used by make... GNU
  21. checking dependency style of gcc... gcc3
  22. checking how to run the C preprocessor... gcc -E
  23. checking whether gcc and cc understand -c and -o together... yes
  24. checking for grep that handles long lines and -e... /usr/bin/grep
  25. checking for egrep... /usr/bin/grep -E
  26. checking for g++... g++
  27. checking whether we are using the GNU C++ compiler... yes
  28. checking whether g++ accepts -g... yes
  29. checking dependency style of g++... gcc3
  30. checking how to run the C++ preprocessor... g++ -E
  31. checking whether g++ understands -c and -o together... yes
  32. checking for sed... sed
  33. checking for pdflatex... pdflatex
  34. checking for latexmk... /bin/false
  35. configure: WARNING: Will not be able to make PDF versions of TeX documents
  36. checking whether we are using the Intel compiler... no
  37. checking whether to set a default CFLAGS... CFLAGS supplied by user
  38. checking whether to set a default CXXFLAGS... CXXFLAGS supplied by user
  39. checking whether ln -s works... yes
  40. checking whether make sets $(MAKE)... (cached) yes
  41. checking for ar... ar
  42. checking if make is GNU make... yes
  43. checking for ANSI C header files... yes
  44. checking for sys/types.h... yes
  45. checking for sys/stat.h... yes
  46. checking for stdlib.h... yes
  47. checking for string.h... yes
  48. checking for memory.h... yes
  49. checking for strings.h... yes
  50. checking for inttypes.h... yes
  51. checking for stdint.h... yes
  52. checking for unistd.h... yes
  53. checking minix/config.h usability... no
  54. checking minix/config.h presence... no
  55. checking for minix/config.h... no
  56. checking whether it is safe to define __EXTENSIONS__... yes
  57. checking how to print strings... printf
  58. checking for a sed that does not truncate output... sed
  59. checking for fgrep... /usr/bin/grep -F
  60. checking for ld used by gcc... /usr/bin/ld
  61. checking if the linker (/usr/bin/ld) is GNU ld... yes
  62. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  63. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  64. checking the maximum length of command line arguments... 1572864
  65. checking whether the shell understands some XSI constructs... yes
  66. checking whether the shell understands "+="... yes
  67. checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
  68. checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
  69. checking for /usr/bin/ld option to reload object files... -r
  70. checking for objdump... objdump
  71. checking how to recognize dependent libraries... pass_all
  72. checking for dlltool... no
  73. checking how to associate runtime and link libraries... printf %s\n
  74. checking for archiver @FILE support... @
  75. checking for strip... strip
  76. checking for ranlib... ranlib
  77. checking command to parse /usr/bin/nm -B output from gcc object... ok
  78. checking for sysroot... no
  79. checking for mt... no
  80. checking if : is a manifest tool... no
  81. checking for dlfcn.h... yes
  82. checking for objdir... .libs
  83. checking if gcc supports -fno-rtti -fno-exceptions... no
  84. checking for gcc option to produce PIC... -fPIC -DPIC
  85. checking if gcc PIC flag -fPIC -DPIC works... yes
  86. checking if gcc static flag -static works... no
  87. checking if gcc supports -c -o file.o... yes
  88. checking if gcc supports -c -o file.o... (cached) yes
  89. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  90. checking whether -lc should be explicitly linked in... no
  91. checking dynamic linker characteristics... GNU/Linux ld.so
  92. checking how to hardcode library paths into programs... immediate
  93. checking whether stripping libraries is possible... yes
  94. checking if libtool supports shared libraries... yes
  95. checking whether to build shared libraries... yes
  96. checking whether to build static libraries... yes
  97. checking how to run the C++ preprocessor... g++ -E
  98. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  99. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  100. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  101. checking for g++ option to produce PIC... -fPIC -DPIC
  102. checking if g++ PIC flag -fPIC -DPIC works... yes
  103. checking if g++ static flag -static works... no
  104. checking if g++ supports -c -o file.o... yes
  105. checking if g++ supports -c -o file.o... (cached) yes
  106. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  107. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  108. checking how to hardcode library paths into programs... immediate
  109. checking if zebra should be configurable to send Route Advertisements... yes
  110. checking for an ANSI C-conforming const... yes
  111. checking for inline... inline
  112. checking for C/C++ restrict keyword... __restrict
  113. checking for working volatile... yes
  114. checking for ANSI C header files... (cached) yes
  115. checking whether time.h and sys/time.h may both be included... yes
  116. checking for sys/wait.h that is POSIX.1 compatible... yes
  117. checking for uid_t in sys/types.h... yes
  118. checking for mode_t... yes
  119. checking for size_t... yes
  120. checking return type of signal handlers... void
  121. checking whether struct tm is in sys/time.h or time.h... time.h
  122. checking stropts.h usability... no
  123. checking stropts.h presence... no
  124. checking for stropts.h... no
  125. checking sys/ksym.h usability... no
  126. checking sys/ksym.h presence... no
  127. checking for sys/ksym.h... no
  128. checking sys/times.h usability... yes
  129. checking sys/times.h presence... yes
  130. checking for sys/times.h... yes
  131. checking sys/select.h usability... yes
  132. checking sys/select.h presence... yes
  133. checking for sys/select.h... yes
  134. checking for sys/types.h... (cached) yes
  135. checking linux/version.h usability... yes
  136. checking linux/version.h presence... yes
  137. checking for linux/version.h... yes
  138. checking netdb.h usability... yes
  139. checking netdb.h presence... yes
  140. checking for netdb.h... yes
  141. checking asm/types.h usability... yes
  142. checking asm/types.h presence... yes
  143. checking for asm/types.h... yes
  144. checking sys/param.h usability... yes
  145. checking sys/param.h presence... yes
  146. checking for sys/param.h... yes
  147. checking limits.h usability... yes
  148. checking limits.h presence... yes
  149. checking for limits.h... yes
  150. checking signal.h usability... yes
  151. checking signal.h presence... yes
  152. checking for signal.h... yes
  153. checking sys/socket.h usability... yes
  154. checking sys/socket.h presence... yes
  155. checking for sys/socket.h... yes
  156. checking netinet/in.h usability... yes
  157. checking netinet/in.h presence... yes
  158. checking for netinet/in.h... yes
  159. checking time.h usability... yes
  160. checking time.h presence... yes
  161. checking for time.h... yes
  162. checking sys/time.h usability... yes
  163. checking sys/time.h presence... yes
  164. checking for sys/time.h... yes
  165. checking for net/if.h... yes
  166. checking for net/if_var.h... no
  167. checking for sys/un.h... yes
  168. checking for netinet/in_systm.h... yes
  169. checking for netinet/in_var.h... no
  170. checking for net/if_dl.h... no
  171. checking for net/netopt.h... no
  172. checking for net/route.h... yes
  173. checking for inet/nd.h... no
  174. checking for arpa/inet.h... yes
  175. checking for netinet/ip_icmp.h... yes
  176. checking for fcntl.h... yes
  177. checking for stddef.h... yes
  178. checking for sys/ioctl.h... yes
  179. checking for syslog.h... yes
  180. checking for wchar.h... yes
  181. checking for wctype.h... yes
  182. checking for sys/sysctl.h... yes
  183. checking for sys/sockio.h... no
  184. checking for kvm.h... no
  185. checking for sys/conf.h... no
  186. checking for ucontext.h... yes
  187. checking for special C compiler options needed for large files... no
  188. checking for _FILE_OFFSET_BITS value needed for large files... no
  189. checking for perl... /usr/bin/perl
  190. checking for tputs in -ltermcap... yes
  191. checking for main in -lreadline... yes
  192. checking readline/history.h usability... yes
  193. checking readline/history.h presence... yes
  194. checking for readline/history.h... yes
  195. checking for rl_completion_matches in -lreadline... yes
  196. checking whether byte ordering is bigendian... no
  197. checking for unistd.h... (cached) yes
  198. checking for working chown... yes
  199. checking for working POSIX fnmatch... yes
  200. checking for pid_t... yes
  201. checking vfork.h usability... no
  202. checking vfork.h presence... no
  203. checking for vfork.h... no
  204. checking for fork... yes
  205. checking for vfork... yes
  206. checking for working fork... yes
  207. checking for working vfork... (cached) yes
  208. checking for working memcmp... yes
  209. checking for sys/time.h... (cached) yes
  210. checking for unistd.h... (cached) yes
  211. checking for alarm... yes
  212. checking for working mktime... yes
  213. checking for strftime... yes
  214. checking whether lstat correctly handles trailing slash... yes
  215. checking whether stat accepts an empty string... no
  216. checking for sys/select.h... (cached) yes
  217. checking for sys/socket.h... (cached) yes
  218. checking types of arguments for select... int,fd_set *,struct timeval *
  219. checking for strftime... (cached) yes
  220. checking for vprintf... yes
  221. checking for _doprnt... no
  222. checking math.h usability... yes
  223. checking math.h presence... yes
  224. checking for math.h... yes
  225. checking for pow in -lm... yes
  226. checking for pow... yes
  227. checking for dup2... yes
  228. checking for ftruncate... yes
  229. checking for getcwd... yes
  230. checking for gethostbyname... yes
  231. checking for getpagesize... yes
  232. checking for gettimeofday... yes
  233. checking for inet_ntoa... yes
  234. checking for inet_aton... yes
  235. checking for strnlen... yes
  236. checking for memchr... yes
  237. checking for memmove... yes
  238. checking for memset... yes
  239. checking for select... yes
  240. checking for socket... yes
  241. checking for strcasecmp... yes
  242. checking for strchr... yes
  243. checking for strcspn... yes
  244. checking for strdup... yes
  245. checking for strerror... yes
  246. checking for strncasecmp... yes
  247. checking for strndup... yes
  248. checking for strrchr... yes
  249. checking for strspn... yes
  250. checking for strstr... yes
  251. checking for strtol... yes
  252. checking for strtoul... yes
  253. checking for strlcat... no
  254. checking for strlcpy... no
  255. checking for daemon... yes
  256. checking for snprintf... yes
  257. checking for vsnprintf... yes
  258. checking for if_nametoindex... yes
  259. checking for if_indextoname... yes
  260. checking for getifaddrs... yes
  261. checking for uname... yes
  262. checking for fcntl... yes
  263. checking for setproctitle... no
  264. checking for setproctitle in -lutil... no
  265. checking zebra between kernel interface method... netlink
  266. checking net/bpf.h usability... no
  267. checking net/bpf.h presence... no
  268. checking for net/bpf.h... no
  269. checking sys/dlpi.h usability... no
  270. checking sys/dlpi.h presence... no
  271. checking for sys/dlpi.h... no
  272. checking zebra IS-IS I/O method... pfpacket
  273. checking for broken CMSG_FIRSTHDR... no
  274. checking route read method... netlink
  275. checking interface looking up method... netlink
  276. checking for struct ip_mreqn.imr_ifindex... yes
  277. checking for BSD struct ip_mreq hack... no
  278. checking for RFC3678 protocol-independed API... yes
  279. checking for net/if.h... (cached) yes
  280. checking for net/if_media.h... no
  281. checking for netinet/tcp.h... yes
  282. checking whether TCP_MD5SIG is declared... yes
  283. checking ipforward method... proc
  284. checking for getaddrinfo... yes
  285. checking whether does this OS have IPv6 stack... Linux IPv6
  286. checking whether libc has IPv6 support... yes
  287. checking for GNU libc >= 2.1... yes
  288. checking for netinet6/in6.h... no
  289. checking for netinet/in6_var.h... no
  290. checking for netinet/icmp6.h... yes
  291. checking for netinet6/in6_var.h... no
  292. checking for netinet6/nd6.h... no
  293. checking for inet_ntop in -lc... yes
  294. checking for inet_pton in -lc... yes
  295. checking for crypt in -lcrypt... yes
  296. checking for res_init in -lresolv... no
  297. checking for __inet_ntop... no
  298. checking for __inet_pton... no
  299. checking for __inet_aton... no
  300. checking whether system has GNU regex... checking for regexec in -lc... yes
  301. checking for struct sockaddr... yes
  302. checking for struct sockaddr_in... yes
  303. checking for struct sockaddr_in6... yes
  304. checking for struct sockaddr_un... yes
  305. checking for struct sockaddr_dl... no
  306. checking for socklen_t... yes
  307. checking for struct ifaliasreq... no
  308. checking for struct if6_aliasreq... no
  309. checking for struct in6_aliasreq... no
  310. checking for struct nd_opt_adv_interval... yes
  311. checking for struct rt_addrinfo... no
  312. checking for struct nd_opt_homeagent_info... no
  313. checking for struct nd_opt_adv_interval... (cached) yes
  314. checking for struct sockaddr.sa_len... no
  315. checking for struct sockaddr_in.sin_len... no
  316. checking for struct sockaddr_un.sun_len... no
  317. checking for struct sockaddr_in6.sin6_scope_id... yes
  318. checking for struct if6_aliasreq.ifra_lifetime... no
  319. checking for struct nd_opt_adv_interval.nd_opt_ai_type... no
  320. checking for struct in_pktinfo... yes
  321. checking for struct icmphdr... yes
  322. checking whether getrusage is available... yes
  323. checking whether CLOCK_MONOTONIC is declared... yes
  324. checking for clock_gettime in -lrt... yes
  325. checking whether prctl PR_SET_KEEPCAPS is available... yes
  326. checking sys/capability.h usability... yes
  327. checking sys/capability.h presence... yes
  328. checking for sys/capability.h... yes
  329. checking for cap_init in -lcap... yes
  330. checking for pkg-config... /usr/bin/pkg-config
  331. checking pkg-config is at least version 0.9.0... yes
  332. checking for GENL... no
  333. configure: WARNING: No package 'libnl-genl-3.0' found
  334. checking for genl_connect in -lnl-genl... no
  335. configure: WARNING: *** generic netlink library not found (used for link status/metrics messages) ***
  336. checking execinfo.h usability... yes
  337. checking execinfo.h presence... yes
  338. checking for execinfo.h... yes
  339. checking for backtrace... yes
  340. checking for malloc.h... yes
  341. checking whether mallinfo is available... yes
  342. checking for random... yes
  343. checking netinet/ip.h usability... yes
  344. checking netinet/ip.h presence... yes
  345. checking for netinet/ip.h... yes
  346. checking for netinet/tcp.h... (cached) yes
  347. checking for struct ip... yes
  348. checking for struct ip_mreq... yes
  349. checking for struct ip_mreqn... yes
  350. checking for struct ip_mreq_source... yes
  351. checking for net/if.h... (cached) yes
  352. checking for net/if_var.h... (cached) no
  353. checking for net/route.h... (cached) yes
  354. checking for netinet/in_var.h... (cached) no
  355. checking inet/ip.h usability... no
  356. checking inet/ip.h presence... no
  357. checking for inet/ip.h... no
  358. checking netinet/ip_mroute.h usability... no
  359. checking netinet/ip_mroute.h presence... no
  360. checking for netinet/ip_mroute.h... no
  361. checking net/ip_mroute/ip_mroute.h usability... no
  362. checking net/ip_mroute/ip_mroute.h presence... no
  363. checking for net/ip_mroute/ip_mroute.h... no
  364. checking for linux/mroute.h... yes
  365. checking whether VIFF_USE_IFINDEX is declared... yes
  366. checking whether the system IPv4 stack supports IPv4 multicast routing... yes
  367. checking for netinet6/in6_var.h... (cached) no
  368. checking for netinet6/nd6.h... (cached) no
  369. checking netinet/ip6.h usability... yes
  370. checking netinet/ip6.h presence... yes
  371. checking for netinet/ip6.h... yes
  372. checking for netinet/icmp6.h... (cached) yes
  373. checking netinet6/ip6_mroute.h usability... no
  374. checking netinet6/ip6_mroute.h presence... no
  375. checking for netinet6/ip6_mroute.h... no
  376. checking whether the system IPv6 stack implementation is reasonable... yes
  377. checking whether the system IPv6 stack supports IPv6 multicast... yes
  378. checking for net/if.h... (cached) yes
  379. checking for net/if_var.h... (cached) no
  380. checking for netinet/in_var.h... (cached) no
  381. checking for netinet6/ip6_mroute.h... (cached) no
  382. checking for linux/mroute6.h... yes
  383. checking whether the system IPv6 stack supports IPv6 multicast routing... yes
  384. checking for RFC 3542 IPv6 advanced API... yes
  385. checking IPv6 stack type... unknown
  386. checking for struct sockaddr_in6.sin6_len... no
  387. checking for struct sockaddr_in6.sin6_scope_id... (cached) yes
  388. checking for struct mld_hdr... yes
  389. checking netinet/igmp.h usability... yes
  390. checking netinet/igmp.h presence... yes
  391. checking for netinet/igmp.h... yes
  392. checking for netinet/ip_mroute.h... (cached) no
  393. checking netinet/pim.h usability... no
  394. checking netinet/pim.h presence... no
  395. checking for netinet/pim.h... no
  396. checking for net/ip_mroute/ip_mroute.h... (cached) no
  397. checking for inet/ip.h... (cached) no
  398. checking for inet/ip.h... (cached) no
  399. checking for netinet/ip_mroute.h... (cached) no
  400. checking for net/ip_mroute/ip_mroute.h... (cached) no
  401. checking for struct pim... no
  402. checking for struct pim.pim_vt... no
  403. checking for struct mfcctl2... no
  404. checking for struct mfcctl2.mfcc_flags... no
  405. checking for struct mfcctl2.mfcc_rp.s_addr... no
  406. checking for struct mf6cctl2... no
  407. checking for struct mf6cctl2.mf6cc_flags... no
  408. checking for struct mf6cctl2.mf6cc_rp.sin6_addr.s6_addr... no
  409. checking whether gcc accepts PIE flags... yes
  410. checking directory to use for state file... /var/run/quagga
  411. checking for working htonl... yes
  412. checking that generated files are newer than configure... done
  413. configure: creating ./config.status
  414. config.status: creating Makefile
  415. config.status: creating lib/Makefile
  416. config.status: creating zebra/Makefile
  417. config.status: creating ripd/Makefile
  418. config.status: creating ripngd/Makefile
  419. config.status: creating bgpd/Makefile
  420. config.status: creating ospfd/Makefile
  421. config.status: creating watchquagga/Makefile
  422. config.status: creating ospf6d/Makefile
  423. config.status: creating isisd/Makefile
  424. config.status: creating babeld/Makefile
  425. config.status: creating vtysh/Makefile
  426. config.status: creating doc/Makefile
  427. config.status: creating ospfclient/Makefile
  428. config.status: creating tests/Makefile
  429. config.status: creating m4/Makefile
  430. config.status: creating redhat/Makefile
  431. config.status: creating pkgsrc/Makefile
  432. config.status: creating xpimd/Makefile
  433. config.status: creating redhat/quagga.spec
  434. config.status: creating lib/version.h
  435. config.status: creating doc/defines.texi
  436. config.status: creating isisd/topology/Makefile
  437. config.status: creating pkgsrc/bgpd.sh
  438. config.status: creating pkgsrc/ospf6d.sh
  439. config.status: creating pkgsrc/ospfd.sh
  440. config.status: creating pkgsrc/ripd.sh
  441. config.status: creating pkgsrc/ripngd.sh
  442. config.status: creating pkgsrc/zebra.sh
  443. config.status: creating solaris/Makefile
  444. config.status: creating debian/Makefile
  445. config.status: creating vtysh/extract.pl
  446. config.status: creating config.h
  447. config.status: executing depfiles commands
  448. config.status: executing libtool commands
  449. Quagga configuration
  450. --------------------
  451. quagga version : 0.99.21mr2.2-dev
  452. host operating system : linux-gnu
  453. source code location : .
  454. compiler : gcc
  455. compiler flags : -ggdb
  456. C++ compiler : g++
  457. C++ compiler flags : -ggdb
  458. make : make
  459. includes :
  460. linker flags : -lcrypt -lrt -lcap -ltermcap -lreadline -lm
  461. state file directory : /var/run/quagga
  462. config file directory : /usr/local/etc/quagga
  463. example directory : /usr/local/etc/quagga
  464. user to run as : root
  465. group to run as : root
  466. group for vty sockets :
  467. config file mask : 0600
  468. log file mask : 0600
  469. generic netlink : no
  470. (support for RFC 4938 link metrics)
  471. The above user and group must have read/write access to the state file
  472. directory and to the config files in the config file directory.
  473. [root@localhost quagga]#
# make -j4
# make install






阅读(1934) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~