安装 Zebra 出现erro无法完成安装!!

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
beanj8698
帖子: 1
注册时间: 2009-03-16 10:01

安装 Zebra 出现erro无法完成安装!!

#1

帖子 beanj8698 » 2009-03-16 10:06

root@123456:/home/zer0dou/Temp/zebra# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking build system type... i686-pc-linux-gnu
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for AIX... no
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for stropts.h... (cached) yes
checking for sys/conf.h... (cached) no
checking for sys/ksym.h... (cached) no
checking for sys/time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/sysctl.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/types.h... (cached) yes
checking for net/if_dl.h... (cached) no
checking for net/if_var.h... (cached) no
checking for linux/version.h... (cached) yes
checking for kvm.h... (cached) no
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for net/netopt.h... (cached) no
checking for netinet/in_var.h... (cached) no
checking for netinet/in6_var.h... (cached) no
checking for netinet/in6.h... (cached) no
checking for inet/nd.h... (cached) no
checking for asm/types.h... (cached) yes
checking for linux/rtnetlink.h... (cached) yes
checking for netinet/icmp6.h... (cached) yes
checking for libutil.h... (cached) no
checking for working const... (cached) yes
checking return type of signal handlers... (cached) void
checking whether byte ordering is bigendian... (cached) no
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for strerror... (cached) yes
checking for inet_aton... (cached) yes
checking for daemon... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for if_nametoindex... (cached) yes
checking for if_indextoname... (cached) yes
checking for getifaddrs... (cached) yes
checking for setproctitle... (cached) no
checking for setproctitle in -lutil... (cached) no
checking zebra between kernel interface method... ioctl
checking route read method check... proc
checking interface looking up method... ioctl
checking for /proc/net/dev... (cached) yes
checking for /proc/net/if_inet6... (cached) yes
checking ipforward method check... proc
checking for getaddrinfo... (cached) yes
checking whether does this OS have IPv6 stack... Linux IPv6
checking for GNU libc 2.1... yes
checking for inet_ntop in -lc... (cached) yes
checking for inet_pton in -lc... (cached) yes
checking for crypt in -lcrypt... (cached) yes
checking for res_init in -lresolv... (cached) no
checking for main in -lm... (cached) yes
checking for __inet_ntop... (cached) no
checking for __inet_pton... (cached) no
checking for __inet_aton... (cached) no
checking for regexec in -lc... (cached) yes
checking whether struct sockaddr has a sa_len field... no
checking whether struct sockaddr_in has a sin_len field... no
checking whether struct sockaddr_un has a sun_len field... no
checking whether struct sockaddr_in6 has a sin6_scope_id field... yes
checking whther socklen_t is defined... yes
checking whether struct sockaddr_dl exist... no
checking whether struct ifaliasreq exist... no
checking whether struct if6_aliasreq exist... no
checking whether struct rt_addrinfo exist... no
checking pid file directory... /var/run
checking for working htonl... (cached) yes
creating ./config.status
creating Makefile
creating lib/Makefile
creating zebra/Makefile
creating ripd/Makefile
creating ripngd/Makefile
creating bgpd/Makefile
creating ospfd/Makefile
creating ospf6d/Makefile
creating vtysh/Makefile
creating doc/Makefile
creating config.h
config.h is unchanged

zebra configuration
-------------------
zebra version : 0.90a
host operationg system : linux-gnu
source code location : .
compiler : gcc
compiler flags : -g -O2 -Wall
directory for pid files : /var/run





root@123456:/home/zer0dou/Temp/zebra# make
make all-recursive
make[1]: Entering directory `/home/zer0dou/Temp/zebra'
Making all in lib
make[2]: Entering directory `/home/zer0dou/Temp/zebra/lib'
echo '' >version.c
echo 'char *host_name = "i686-pc-linux-gnu";' >>version.c
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I.. -I.. -I../lib -g -O2 -Wall -c version.c
rm -f libzebra.a
ar cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o if_rmap.o flap.o keychain.o
ranlib libzebra.a
make[2]: Leaving directory `/home/zer0dou/Temp/zebra/lib'
Making all in zebra
make[2]: Entering directory `/home/zer0dou/Temp/zebra/zebra'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I.. -I.. -I../lib -g -O2 -Wall -c rib.c
rib.c: In function ‘rib_add_ipv6’:
rib.c:3548: warning: dereferencing type-punned pointer will break strict-aliasing rules
rib.c:3553: warning: dereferencing type-punned pointer will break strict-aliasing rules
rib.c: In function ‘rib_delete_ipv6’:
rib.c:3623: warning: dereferencing type-punned pointer will break strict-aliasing rules
rib.c: In function ‘rib_weed_table’:
rib.c:4268: warning: dereferencing type-punned pointer will break strict-aliasing rules
rib.c: In function ‘zebra_sweep_table’:
rib.c:4355: warning: dereferencing type-punned pointer will break strict-aliasing rules
rib.c: In function ‘rib_if_update_nexthop’:
rib.c:4661: error: label at end of compound statement
make[2]: *** [rib.o] Error 1
make[2]: Leaving directory `/home/zer0dou/Temp/zebra/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zer0dou/Temp/zebra'
make: *** [all-recursive-am] Error 2
xiangzhenlin
帖子: 1
注册时间: 2009-03-16 16:39

Re: 安装 Zebra 出现erro无法完成安装!!

#2

帖子 xiangzhenlin » 2009-03-16 16:42

我也是的。怎么解决哦
NUTCRACKER
帖子: 1
注册时间: 2009-03-22 11:11

Re: 安装 Zebra 出现erro无法完成安装!!

#3

帖子 NUTCRACKER » 2009-03-22 11:14

谁能尽快解决这个问题啊?Ubuntu不能装zebra?
unifix
帖子: 1
注册时间: 2009-03-03 8:14

Re: 安装 Zebra 出现erro无法完成安装!!

#4

帖子 unifix » 2009-03-25 10:30

终于编译成功,秀一下

$ gcc --version
gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2
Copyright © 2008 Free Software Foundation, Inc.
本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
包括没有适销性和某一专用目的下的适用性担保。

zebra-0.95a$ ./configure --disable-ipv6
zebra-0.95a$ make
zebra-0.95a# make install

/usr/local/sbin# ls -ls
总用量 3968
1544 -rwxr-xr-x 1 root root 1574778 2009-03-25 10:25 bgpd
1208 -rwxr-xr-x 1 root root 1230002 2009-03-25 10:25 ospfd
700 -rwxr-xr-x 1 root root 711186 2009-03-25 10:25 ripd
516 -rwxr-xr-x 1 root root 520654 2009-03-25 10:25 zebra
x29296
帖子: 3
注册时间: 2008-11-16 7:22

Re: 安装 Zebra 出现erro无法完成安装!!

#5

帖子 x29296 » 2012-11-12 11:59

楼上光是秀一下...怎么解决呢??
说下过程啊..
回复