Mmm... Look:
I have the following packages installed (packaged at the Debian Lenny 32
bits):
r...@xenalive:~/ovs# dpkg -l | grep openvswitch
ii openvswitch-common 0.99.2 Open
vSwitch common components
ii openvswitch-controller 0.99.2 Open
vSwitch controller implementation
ii openvswitch-datapath-source 0.99.2
Source code for Open vSwitch datapath Linux
ii openvswitch-monitor 0.99.2
Monitor utility for Open vSwitch switches
ii openvswitch-pki 0.99.2 Open
vSwitch public key infrastructure
ii openvswitch-switch 0.99.2 Open
vSwitch switch implementations
ii openvswitch-switch-config 0.99.2 Open
vSwitch switch implementations
ii openvswitch-switchui 0.99.2
Monitoring utility for OpenFlow switches
ii openvswitch-wdt 0.99.2
Watchdog utility for Open vSwitch switches
But when I'm try to install the package openvswitch-pki-server, I got this:
r...@xenalive:~/ovs# dpkg -i openvswitch-pki-server_0.99.2_all.deb
Selecting previously deselected package openvswitch-pki-server.
(Reading database ... 48390 files and directories currently installed.)
Unpacking openvswitch-pki-server (from
openvswitch-pki-server_0.99.2_all.deb) ...
Setting up openvswitch-pki-server (0.99.2) ...
*ERROR: Site openflow-pki does not exist!*
dpkg: error processing openvswitch-pki-server (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
openvswitch-pki-server
Trying to build the kernel modules:
The file /usr/share/doc/openvswitch-datapath-source/README.Debian says:
To build run:
m-a a-i openvswitch
But:
r...@xenalive:~/ovs# m-a a-i openvswitch
openvswitch, what is openvswitch?
r...@xenalive:~/ovs# ls /usr/src/*openv*
/usr/src/openvswitch-datapath.tar.bz2
r...@xenalive:~/ovs# m-a a-i openvswitch-datapath
Build error, see the log file:
r...@xenalive:~# cat
/var/cache/modass/openvswitch-datapath-source.buildlog.2.6.26-2-xen-686.1266603996
dh_clean
rm -rf openvswitch
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/openvswitch-datapath'
dh_clean
rm -rf openvswitch
for templ in
/usr/src/modules/openvswitch-datapath/debian/openvswitch-datapath-module-_KVERS_.postinst
/usr/src/modules/openvswitch-datapath/debian/openvswitch-datapath-module-_KVERS_.postinst.backup
/usr/src/modules/openvswitch-datapath/debian/openvswitch-datapath-module-_KVERS_.
postinst.modules.in; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.26-2-xen-686/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.
modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.26-2-xen-686/g ;s/#KVERS#/2.6.26-2-xen-686/g ;
s/_KVERS_/2.6.26-2-xen-686/g ; s/##KDREV##/2.6.26-21lenny3/g ;
s/#KDREV#/2.6.26-21lenny3/g ; s/_KDREV_/2.6.26-21lenny3/g ' < $templ >
${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
tar xzf openvswitch.tar.gz
cd openvswitch && ./configure
--with-l26=/lib/modules/2.6.26-2-xen-686/build --with-build-number=0
checking build number... 0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-4.1
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.1 accepts -g... yes
checking for gcc-4.1 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc-4.1... gcc3
checking whether gcc-4.1 and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc-4.1 -E
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for linux/netlink.h... yes
checking for pkg-config... no
checking for ncurses5-config... ncurses5-config
checking term.h usability... no
checking term.h presence... no
checking for term.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking linux/vt.h usability... yes
checking linux/vt.h presence... yes
checking for linux/vt.h... yes
checking for PCRE... checking for Python 2.x for x >= 4... /usr/bin/python
checking net/if_packet.h usability... yes
checking net/if_packet.h presence... yes
checking for net/if_packet.h... yes
checking whether strtok_r macro segfaults on some inputs... yes
checking whether libc supports hooks for malloc and related functions... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking directory used for serial device lockfiles... /var/lock
checking for connect in -lsocket... no
checking for library containing gethostbyname... none required
checking for dladdr in -ldl... yes
checking for strsignal... yes
checking whether gcc-4.1 accepts -Wall... yes
checking whether gcc-4.1 accepts -Wno-sign-compare... yes
checking whether gcc-4.1 accepts -Wpointer-arith... yes
checking whether gcc-4.1 accepts -Wdeclaration-after-statement... yes
checking whether gcc-4.1 accepts -Wformat-security... yes
checking whether gcc-4.1 accepts -Wswitch-enum... yes
checking whether gcc-4.1 accepts -Wunused-parameter... yes
checking whether gcc-4.1 accepts -Wstrict-aliasing... yes
checking whether gcc-4.1 accepts -Wbad-function-cast... yes
checking whether gcc-4.1 accepts -Wcast-align... yes
checking whether gcc-4.1 accepts -Wstrict-prototypes... yes
checking whether gcc-4.1 accepts -Wold-style-definition... yes
checking whether gcc-4.1 accepts -Wmissing-prototypes... yes
checking whether gcc-4.1 accepts -Wmissing-field-initializers... yes
checking whether gcc-4.1 accepts -Wno-override-init... yes
checking whether gcc-4.1 accepts -Wno-unused... yes
checking for Linux 2.6 build directory...
/lib/modules/2.6.26-2-xen-686/build
checking for Linux 2.6 source directory...
/lib/modules/2.6.26-2-xen-686/build
checking for kernel version... 2.6.26
checking whether skb_transport_header matches in
/lib/modules/2.6.26-2-xen-686/build/include/linux/skbuff.h... yes
checking whether raw matches in
/lib/modules/2.6.26-2-xen-686/build/include/linux/skbuff.h... no
checking whether skb_copy_from_linear_data_offset matches in
/lib/modules/2.6.26-2-xen-686/build/include/linux/skbuff.h... yes
checking whether NLA_NUL_STRING matches in
/lib/modules/2.6.26-2-xen-686/build/include/net/netlink.h... yes
checking whether ERR_CAST matches in
/lib/modules/2.6.26-2-xen-686/build/include/linux/err.h... yes
checking whether csum_unfold matches in
/lib/modules/2.6.26-2-xen-686/build/include/net/checksum.h... yes
checking whether skb_cow matches in
/lib/modules/2.6.26-2-xen-686/build/include/linux/skbuff.h... yes
checking whether [...@]proto_data_valid matches in
/lib/modules/2.6.26-2-xen-686/build/include/linux/skbuff.h... yes
checking for /lib/modules/2.6.26-2-xen-686/build/include/linux/log2.h... yes
checking whether to build veth module... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating datapath/Makefile
config.status: creating datapath/linux-2.6/Kbuild
config.status: creating datapath/linux-2.6/Makefile
config.status: creating datapath/linux-2.6/Makefile.main
config.status: creating tests/atlocal
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
cd openvswitch && /usr/bin/make -C datapath/linux-2.6
make[2]: Entering directory
`/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6'
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../actions.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../datapath.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../dp_dev.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../dp_notify.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../dp_sysfs_dp.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../dp_sysfs_if.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../flow.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../table.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../linux-2.6/compat-2.6/genetlink-openvswitch.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../linux-2.6/compat-2.6/random32.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../linux-2.6/compat-2.6/genetlink-brcompat.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../brcompat.c
ln -s
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/../brc_procfs.c
/usr/bin/make -C /lib/modules/2.6.26-2-xen-686/build
M=/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6
modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-xen-686'
CC [M]
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/genetlink-brcompat.o
CC [M]
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/brcompat.o
CC [M]
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/brc_procfs.o
CC [M]
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/actions.o
CC [M]
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.o
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:
In function ‘vswitch_skb_checksum_setup’:
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:599:
error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:601:
error: ‘struct sk_buff’ has no member named ‘h’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:601:
error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:601:
error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:602:
error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:613:
error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:616:
error: ‘struct sk_buff’ has no member named ‘h’
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:618:
error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:618:
error: (Each undeclared identifier is reported only once
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.c:618:
error: for each function it appears in.)
make[4]: ***
[/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6/datapath.o]
Error 1
make[3]: ***
[_module_/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6]
Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-xen-686'
make[2]: *** [default] Error 2
make[2]: Leaving directory
`/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux-2.6'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/openvswitch-datapath'
make: *** [kdist_build] Error 2
r...@xenalive:~#
Thanks!
Thiago
On 19 February 2010 17:00, Ben Pfaff <[email protected]> wrote:
> On Fri, Feb 19, 2010 at 01:47:31PM -0200, Martinx wrote:
> > Can we stabilize the Debian packages of the openvswitch?
> > I mean, the last update in the debian/changelog was from "Mon, 19 Nov
> 2007
> > 14:57:52 -0800"... It is working today?
> >
> > Is someone using the Debian packages without problems?
>
> We use the Debian packages regularly.at Nicira.
>
> We generally don't update debian/changelog, though, since it is
> redundant with the Git log.
>
> What problems have you observed with them?
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org