-------------------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

--------------------------------------

<span style="font-size:18px;">
[Unit]
Description=GNU Zebra routing manager
Wants=network.target
Before=network.target
ConditionPathExists=/usr/local/etc/quagga/zebra.conf [Service]
Type=forking
PIDFile=/run/quagga/zebra.pid
EnvironmentFile=-/etc/sysconfig/quagga
ExecStartPre=/sbin/ip route flush proto zebra
ExecStart=/usr/local/sbin/zebra -d $ZEBRA_OPTS -f /usr/local/etc/quagga/zebra.conf
Restart=on-abort [Install]
WantedBy=multi-user.target </span>

--------------------------------------



[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

<span style="font-size:18px;">
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
xpimd/xorp/config/acipv6.m4:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:42: the top level
xpimd/xorp/config/acipv6.m4:66: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:66: the top level
xpimd/xorp/config/acipv6.m4:176: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
xpimd/xorp/config/acipv6.m4:176: the top level
configure.ac:80: installing './compile'
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: installing './missing'
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am: installing './INSTALL'
babeld/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
babeld/Makefile.am: installing './depcomp'
bgpd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
doc/Makefile.am:40: installing 'doc/mdate-sh'
doc/Makefile.am:40: installing 'doc/texinfo.tex'
isisd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
isisd/topology/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ospf6d/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ospfclient/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ospfd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ripd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ripngd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
solaris/Makefile.am:71: warning: '%'-style pattern rules are a GNU make extension
solaris/Makefile.am:75: warning: '%'-style pattern rules are a GNU make extension
solaris/Makefile.am:79: warning: '%'-style pattern rules are a GNU make extension
solaris/Makefile.am:84: warning: '%'-style pattern rules are a GNU make extension
solaris/Makefile.am:88: warning: '%'-style pattern rules are a GNU make extension
solaris/Makefile.am:98: warning: '%'-style pattern rules are a GNU make extension
solaris/Makefile.am:103: warning: '%'-style pattern rules are a GNU make extension
configure.ac:1370: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tests/Makefile.am:41: warning: shell find core -name '*.py' -type f: non-POSIX variable name
tests/Makefile.am:41: (probably a GNU make extension)
tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
vtysh/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
watchquagga/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
xpimd/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
zebra/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') </span>

[root@localhost quagga]# ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb --sysconfdir=/usr/local/etc/quagga --enable-vtysh --localstatedir=/var/run/quagga

<span style="font-size:18px;">
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gawk... gawk
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether g++ understands -c and -o together... yes
checking for sed... sed
checking for pdflatex... pdflatex
checking for latexmk... /bin/false
configure: WARNING: Will not be able to make PDF versions of TeX documents
checking whether we are using the Intel compiler... no
checking whether to set a default CFLAGS... CFLAGS supplied by user
checking whether to set a default CXXFLAGS... CXXFLAGS supplied by user
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ar... ar
checking if make is GNU make... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if zebra should be configurable to send Route Advertisements... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for working volatile... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/ksym.h usability... no
checking sys/ksym.h presence... no
checking for sys/ksym.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/types.h... (cached) yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for net/if.h... yes
checking for net/if_var.h... no
checking for sys/un.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in_var.h... no
checking for net/if_dl.h... no
checking for net/netopt.h... no
checking for net/route.h... yes
checking for inet/nd.h... no
checking for arpa/inet.h... yes
checking for netinet/ip_icmp.h... yes
checking for fcntl.h... yes
checking for stddef.h... yes
checking for sys/ioctl.h... yes
checking for syslog.h... yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for sys/sysctl.h... yes
checking for sys/sockio.h... no
checking for kvm.h... no
checking for sys/conf.h... no
checking for ucontext.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for perl... /usr/bin/perl
checking for tputs in -ltermcap... yes
checking for main in -lreadline... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for rl_completion_matches in -lreadline... yes
checking whether byte ordering is bigendian... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for working POSIX fnmatch... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for strftime... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for pow in -lm... yes
checking for pow... yes
checking for dup2... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for inet_aton... yes
checking for strnlen... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strndup... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strlcat... no
checking for strlcpy... no
checking for daemon... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking for getifaddrs... yes
checking for uname... yes
checking for fcntl... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking zebra between kernel interface method... netlink
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking zebra IS-IS I/O method... pfpacket
checking for broken CMSG_FIRSTHDR... no
checking route read method... netlink
checking interface looking up method... netlink
checking for struct ip_mreqn.imr_ifindex... yes
checking for BSD struct ip_mreq hack... no
checking for RFC3678 protocol-independed API... yes
checking for net/if.h... (cached) yes
checking for net/if_media.h... no
checking for netinet/tcp.h... yes
checking whether TCP_MD5SIG is declared... yes
checking ipforward method... proc
checking for getaddrinfo... yes
checking whether does this OS have IPv6 stack... Linux IPv6
checking whether libc has IPv6 support... yes
checking for GNU libc >= 2.1... yes
checking for netinet6/in6.h... no
checking for netinet/in6_var.h... no
checking for netinet/icmp6.h... yes
checking for netinet6/in6_var.h... no
checking for netinet6/nd6.h... no
checking for inet_ntop in -lc... yes
checking for inet_pton in -lc... yes
checking for crypt in -lcrypt... yes
checking for res_init in -lresolv... no
checking for __inet_ntop... no
checking for __inet_pton... no
checking for __inet_aton... no
checking whether system has GNU regex... checking for regexec in -lc... yes
checking for struct sockaddr... yes
checking for struct sockaddr_in... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_un... yes
checking for struct sockaddr_dl... no
checking for socklen_t... yes
checking for struct ifaliasreq... no
checking for struct if6_aliasreq... no
checking for struct in6_aliasreq... no
checking for struct nd_opt_adv_interval... yes
checking for struct rt_addrinfo... no
checking for struct nd_opt_homeagent_info... no
checking for struct nd_opt_adv_interval... (cached) yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct if6_aliasreq.ifra_lifetime... no
checking for struct nd_opt_adv_interval.nd_opt_ai_type... no
checking for struct in_pktinfo... yes
checking for struct icmphdr... yes
checking whether getrusage is available... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking for clock_gettime in -lrt... yes
checking whether prctl PR_SET_KEEPCAPS is available... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for cap_init in -lcap... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GENL... no
configure: WARNING: No package 'libnl-genl-3.0' found
checking for genl_connect in -lnl-genl... no
configure: WARNING: *** generic netlink library not found (used for link status/metrics messages) ***
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for malloc.h... yes
checking whether mallinfo is available... yes
checking for random... yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking for netinet/tcp.h... (cached) yes
checking for struct ip... yes
checking for struct ip_mreq... yes
checking for struct ip_mreqn... yes
checking for struct ip_mreq_source... yes
checking for net/if.h... (cached) yes
checking for net/if_var.h... (cached) no
checking for net/route.h... (cached) yes
checking for netinet/in_var.h... (cached) no
checking inet/ip.h usability... no
checking inet/ip.h presence... no
checking for inet/ip.h... no
checking netinet/ip_mroute.h usability... no
checking netinet/ip_mroute.h presence... no
checking for netinet/ip_mroute.h... no
checking net/ip_mroute/ip_mroute.h usability... no
checking net/ip_mroute/ip_mroute.h presence... no
checking for net/ip_mroute/ip_mroute.h... no
checking for linux/mroute.h... yes
checking whether VIFF_USE_IFINDEX is declared... yes
checking whether the system IPv4 stack supports IPv4 multicast routing... yes
checking for netinet6/in6_var.h... (cached) no
checking for netinet6/nd6.h... (cached) no
checking netinet/ip6.h usability... yes
checking netinet/ip6.h presence... yes
checking for netinet/ip6.h... yes
checking for netinet/icmp6.h... (cached) yes
checking netinet6/ip6_mroute.h usability... no
checking netinet6/ip6_mroute.h presence... no
checking for netinet6/ip6_mroute.h... no
checking whether the system IPv6 stack implementation is reasonable... yes
checking whether the system IPv6 stack supports IPv6 multicast... yes
checking for net/if.h... (cached) yes
checking for net/if_var.h... (cached) no
checking for netinet/in_var.h... (cached) no
checking for netinet6/ip6_mroute.h... (cached) no
checking for linux/mroute6.h... yes
checking whether the system IPv6 stack supports IPv6 multicast routing... yes
checking for RFC 3542 IPv6 advanced API... yes
checking IPv6 stack type... unknown
checking for struct sockaddr_in6.sin6_len... no
checking for struct sockaddr_in6.sin6_scope_id... (cached) yes
checking for struct mld_hdr... yes
checking netinet/igmp.h usability... yes
checking netinet/igmp.h presence... yes
checking for netinet/igmp.h... yes
checking for netinet/ip_mroute.h... (cached) no
checking netinet/pim.h usability... no
checking netinet/pim.h presence... no
checking for netinet/pim.h... no
checking for net/ip_mroute/ip_mroute.h... (cached) no
checking for inet/ip.h... (cached) no
checking for inet/ip.h... (cached) no
checking for netinet/ip_mroute.h... (cached) no
checking for net/ip_mroute/ip_mroute.h... (cached) no
checking for struct pim... no
checking for struct pim.pim_vt... no
checking for struct mfcctl2... no
checking for struct mfcctl2.mfcc_flags... no
checking for struct mfcctl2.mfcc_rp.s_addr... no
checking for struct mf6cctl2... no
checking for struct mf6cctl2.mf6cc_flags... no
checking for struct mf6cctl2.mf6cc_rp.sin6_addr.s6_addr... no
checking whether gcc accepts PIE flags... yes
checking directory to use for state file... /var/run/quagga
checking for working htonl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating zebra/Makefile
config.status: creating ripd/Makefile
config.status: creating ripngd/Makefile
config.status: creating bgpd/Makefile
config.status: creating ospfd/Makefile
config.status: creating watchquagga/Makefile
config.status: creating ospf6d/Makefile
config.status: creating isisd/Makefile
config.status: creating babeld/Makefile
config.status: creating vtysh/Makefile
config.status: creating doc/Makefile
config.status: creating ospfclient/Makefile
config.status: creating tests/Makefile
config.status: creating m4/Makefile
config.status: creating redhat/Makefile
config.status: creating pkgsrc/Makefile
config.status: creating xpimd/Makefile
config.status: creating redhat/quagga.spec
config.status: creating lib/version.h
config.status: creating doc/defines.texi
config.status: creating isisd/topology/Makefile
config.status: creating pkgsrc/bgpd.sh
config.status: creating pkgsrc/ospf6d.sh
config.status: creating pkgsrc/ospfd.sh
config.status: creating pkgsrc/ripd.sh
config.status: creating pkgsrc/ripngd.sh
config.status: creating pkgsrc/zebra.sh
config.status: creating solaris/Makefile
config.status: creating debian/Makefile
config.status: creating vtysh/extract.pl
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Quagga configuration
--------------------
quagga version : 0.99.21mr2.2-dev
host operating system : linux-gnu
source code location : .
compiler : gcc
compiler flags : -ggdb
C++ compiler : g++
C++ compiler flags : -ggdb
make : make
includes :
linker flags : -lcrypt -lrt -lcap -ltermcap -lreadline -lm
state file directory : /var/run/quagga
config file directory : /usr/local/etc/quagga
example directory : /usr/local/etc/quagga
user to run as : root
group to run as : root
group for vty sockets :
config file mask : 0600
log file mask : 0600
generic netlink : no
(support for RFC 4938 link metrics)
The above user and group must have read/write access to the state file
directory and to the config files in the config file directory.
[root@localhost quagga]# </span>

# make -j4

# make install

(OK) Installing Quagga—zebra—configure—make—CentOS7的更多相关文章

  1. quagga/zebra - 交叉编译(cross)和本地编译(native)

    https://github.com/dramalife/note.git AUTHOR : Dramalife@live.com Init : 2020.03.19 Update : source ...

  2. Linux下使用Quagga(Zebra)搭建路由器记录(转)

    写在前面 从22号中午开始琢磨zebra/quagga的用法,一直到晚上11点多都没有什么头绪.各种Google,百度,几近崩溃.由于网上关于zebra/quagga的配置方法都是在真实的若干台电脑上 ...

  3. Installing Ruby 2.2 on Centos7

    准备做redis-cluster,需要ruby2.2环境 开整环境:Centos7.2最小安装yum源:阿里的base和epel源 ********************************** ...

  4. Configure PPPoE on CentOS7

    Why? I prefer using ethernet to Wifi to access internet. But, I'm afraid, sometimes I have to use Wi ...

  5. Quagga服务器安装和配置

    使用本地源 一.安装软件包 # yum install quagga-0.99.15-7.el6_3.2.x86_64.rpm 或rpm   # ls /etc/quagga/ bgpd.conf.s ...

  6. 如何在Quagga BGP路由器中设置IPv6的BGP对等体和过滤

    在本教程中,我们会向你演示如何创建IPv6 BGP对等体并通过BGP通告IPv6前缀.同时我们也将演示如何使用前缀列表和路由映射特性来过滤通告的或者获取到的IPv6前缀. 拓扑 服务供应商A和B希望在 ...

  7. Quagga的安装和使用

    Quagga的安装和使用 测试环境:VM 12   CentOS 6.5 64位 Quagga是一款功能比较强大的开源路由软件,支持rip, ospf,bgp等协议. 1.       Quagga的 ...

  8. 阿里云ECS下CentOS7.4 yum安装Python3.6环境

    一.安装EPEL和IUS软件源 二.安装Python3.6 三.创建python3软链接连接符 四.安装pip3 五.创建pip3链接符 六.进行验证是否安装成功 一.安装EPEL和IUS软件源 yu ...

  9. centos7安装BitCoin客户端

    一.安装依赖环境 [root@localhost src]# yum install autoconf automake libtool libdb-devel boost-devel libeven ...

随机推荐

  1. Hive扩展功能(三)--使用UDF函数将Hive中的数据插入MySQL中

    软件环境: linux系统: CentOS6.7 Hadoop版本: 2.6.5 zookeeper版本: 3.4.8 主机配置: 一共m1, m2, m3这五部机, 每部主机的用户名都为centos ...

  2. Java_Web三大框架之Hibernate+HQL语言基础

    12.1 HQL语言基础Hibernate查询语言为HQL(Hibernate Query Language),可以直接使用实体类名及属性.HQL语法类似于SQL,有SQL的关键词如select.fr ...

  3. ICMP,ARP协议

    ICMP ICMP是(Internet Control Message Protocol)Internet控制报文协议.它是TCP/IP协议族的一个子协议,用于在IP主机.路由器之间传递控制消息.控制 ...

  4. C# 字符串到字节数组,字节数组转整型

    ; , ); byte[] bytes = BitConverter.GetBytes(num);//将int32转换为字节数组 num = BitConverter.ToInt32(bytes, ) ...

  5. sqlalchemy子查询

    使用subquery() 要使用c来定位上一个子句的属性 s1 = session.query(m.a,m.b).filter().subquery() s2 = session.query(s1.c ...

  6. Chat Group gym101775A(逆元,组合数)

    传送门:Chat Group(gym101775A) 题意:一个宿舍中又n个人,最少k(k >= 3)个人就可以建一个讨论组,问最多可以建多少个不同的讨论组. 思路:求组合数的和,因为涉及除法取 ...

  7. Mysql数据库操作(二)

    存储过程 1.创建过程 delimiter // create procedure p1() BEGIN select * from t1; END// delimiter; --执行存储过程 cal ...

  8. RESTful API - 介绍

    目录 RESTful API 介绍 RESTful介绍 RESTful API设计指南 API与用户的通信协议 域名 版本(Versioning) 路径(Endpoint) 浏览器请求方式(metho ...

  9. clock()函数的使用

    **clock()捕捉从程序开始运行到clock()被调用时所耗费的时间,这个时间单位是clock tick, 即"时钟打点." 常数CLK_TCK:机器时钟每秒所走的时钟打点数* ...

  10. BUPT2017 wintertraining(16) #9

    龟速补题.目前基本弃坑.已暂时放弃 D.I 两题. 下面不再写题意了直接说解法注意事项之类,直接放contest链接. https://vjudge.net/contest/151537 A.The ...