Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#327367: libcflow-perl: contrib/Cflow needs to be configured _after_ compile of flow-tools

2 views
Skip to first unread message

DVZ

unread,
Sep 9, 2005, 12:10:07 PM9/9/05
to
Package: libcflow-perl
Version: 1:0.67-8
Severity: normal


After trying to combine flow-capture and flowscan, I ran across the
problem of flowscan not being able to correctly parse the generated
flow-files.

Invalid index in cflowd flow file: 0xCF100103! Version 5 flow-export is required with *all* fields being saved.

This is because the contributed CFlow perl module is configured before
flow-tools is compiled and thus the module gets compiled without any
support for flow-tools.

The following patch to debian/rules corrects this problem by
reconfiguring CFlow after the compilation of flow-tools:

--- flow-tools-0.67.old/debian/rules 2005-09-09 17:48:33.000000000 +0200
+++ flow-tools-0.67.new/debian/rules 2005-09-09 13:52:21.000000000 +0200
@@ -68,7 +68,7 @@
mv $D/usr/lib/ $(DEV)/usr/
mv $D/usr/include/ $(DEV)/usr/

- cd $(CF) && $(MAKE) install DESTDIR=$(DCF) PREFIX=/usr
+ cd $(CF) && $(PERL) Makefile.PL INSTALLDIRS=vendor && $(MAKE) install DESTDIR=$(DCF) PR
EFIX=/usr

# As this is an architecture dependent package, we are not supposed
# to install stuff to /usr/share/perl5. MakeMaker creates the

(This bug should get corrected in the next point-release and is also
present in the current unstable version.)

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.12-3-deb
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libcflow-perl depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages