On Sun, Dec 12, 2004 at 10:45:55PM +1100, Anibal Monsalve Salazar wrote:
>Package: libcflow-perl
>Version: 1:0.67-6
>Severity: wishlist
>Tags: patch
>
>On Fri, Oct 22, 2004 at 02:22:52PM +0200, Ignacio Esteban wrote:
>>Hola,
>>
>>   La salida de error que daba antes del fallo era:

The error output before it failed was:

>>2004/10/22 11:20:43 working on file 
>>/var/flow/ft-v05.2004-10-22.111501+0200...
>>/var/flow/ft-v05.2004-10-22.111501+0200: Invalid index in cflowd flow 
>>file: 0xCF100103! Version 5 flow-export is required with *all* fields 
>>being saved.
>>2004/10/22 11:20:43 flowscan-1.020 CUFlow: Cflow::find took  0 wallclock 
>>secs ( 0.01 usr +  0.00 sys =  0.01 CPU) for 52343 flow file bytes, flow 
>>hit ratio: 0/0
>>2004/10/22 11:20:43 flowscan-1.020 CUFlow: report took  0 wallclock secs 
>>( 0.00 usr  0.00 sys +  0.01 cusr  0.01 csys =  0.02 CPU)
>>sleep 150...
>>
>>   Todo funciona perfectamente en después de cambiar la librería del 
>>paquete debian por la nueva.

Everything works perfectly after changing the library of the debian
package for the new library.

>>   No he modificado nada del código fuente. Sólo he compilado el 
>>flow-tools. Y queda una librería estática libft.a, que no aparece si 
>>hago un "make install" ni en el paquete debian flow-tools. Creo que es 
>>una librería temporal para la compilación.

I haven't modified the source code. I have only compiled flow-tools.
There is a static library left, libft.a, which doesn't appear in the
flow-tools debian package when I do "make install". I think it's a
temporary library during the compilation.

>>   Después compilo Cflow, sin modificar nada ni añadir ningún parámetro 
>>a "perl Makefile.PL" ni a "make". La librería Cflow.so resultante la 
>>copio en lugar de la que viene en debian en el paquete libcflow-perl. 
>>Con esto funciona correctamente.

Next, I compilo Cflow, without modifying anything and without adding
parameters to "perl Makefile.PL" or "make". I put the Cflow.so
library that results from this process in the debian package
libcflow-perl, replacing the one in that package. It works correctly
with this library.

>>Ignacio Esteban
>>IP Engineering Team
>>Iber Band Exchange (Iber-x)
>>Tel +34 91 360 14 70
>>Fax +34 91 360 14 71
>>http://www.iber-x.com
>>
>>
>>
>>Anibal Monsalve Salazar wrote:
>>
>>>On Sat, Oct 16, 2004 at 11:38:10PM +0200, Ignacio Esteban wrote:
>>> 
>>>
>>>>Hola,
>>>>
>>>> Estoy intentando configurar mi debian sarge con estos paquetes:

I would like to configure sarge with this packages:

>>>>ii  flow-tools     0.67-6         collects and processes NetFlow data
>>>>ii  flowscan       1.006-5        flow-based IP traffic analysis and 
>>>>visualiza
>>>>ii  libcflow-perl  0.67-6         Perl module for analyzing raw IP flow 
>>>>files
>>>>
>>>>Al parecer no funcionan, cuando se configura para que todo sea 
>>>>automático. Lo he buscado por foros, y como comentan el problema se 
>>>>encuentra en el fichero "/usr/lib/perl5/auto/Cflow/Cflow.so".

It doesn't seem to work, when it is configured to be completely
automatic. I have researched this problem and the conclusion is that
the problem is "/usr/lib/perl5/auto/Cflow/Cflow.so".

>>>>Según los foros, Cflow.so está compilado sin la librería estática 
>>>>libft.a ("/usr/local/src/flow-tools-0.67/lib/libft.a"). Es una librería 
>>>>del paquete flow-tools, que no se encuentra en el paquete debian porque 
>>>>es una librería intermedia sólo para la compilación de flow-tools. He 
>>>>seguido las instrucciones y funciona correctamente.

Cflow.so is compiled without the static library libft.a
("/usr/local/src/flow-tools-0.67/lib/libft.a"). It is a temporay library
of flow-tools. It's not in the debian package because is only needed
during the compilation of flow-tools. I have followed the instructions
and it works correctly.

>>>>El problema se encuentra en algunas líneas de Makefile.PL:

The problem is in some lines of Makefile.PL:

>>>>sub find_flow_tools {
>>>>my($ver, $dir);
>>>>my($libdir, $incdir);
>>>>if (-f '../../lib/libft.a') {                          // Aqui se 
>>>>produce el error, aunque en tiempo de compilación no se marque ni como 
>>>>warning ni como error

                                                           // Here is
the error. However, it's not a warning/error during the compilation.

>>>>   $dir = '../../lib';                                // Tiene que 
>>>>apuntar o al menos comprobar que existe

                                                          // It has to
verify that exists

>>>>   $incdir = "-I$dir -I$dir/..";
>>>>   $libdir = "-L$dir";
>>>>}
>>>>if ("$libdir") {
>>>>   print "Found flow-tools... using \"-DOSU $incdir $libdir -lft 
>>>>-lz\".\n";
>>>>   return { CCFLAGS => '-DOSU',
>>>>            INC     => join(' ', $incdir),
>>>>            LIBS    => [ join(' ', $libdir, '-lnsl -lft -lz') ] }
>>>>}
>>>>return undef
>>>>}
>>>>
>>>>Me gustaría que se corrigiera para hacer una instalación de un 
>>>>analizador de Netflow más sencilla, y sólo con paquetes debian.

I would like to get this fixed, so I can have a simpler installation
of a Netflow analyzer and only with debian packages.

>>>>Si necesitas más datos, no dudes en pedirlos.

If you need more information, don't hesitate to ask.

>>>Me podrias por favor enviar un patch que lo puedes crear con el
>>>programa diff con las opciones -urNp?

Could you please send me a patch?

>>>Seria bueno si reportaras un bug de flow_tools y enviaras el patch
>>>en el mensaje del reporte del bug.

It would be nice if you could file a bug report with the patch as
an attachment.

>>>>Un saludo y gracias por adelantado.
>>>>   
>>>>
>>>
>>>Gracias,
>>>
>>>Anibal Monsalve Salazar
>
>Anibal Monsalve Salazar
>--
> .''`. Debian GNU/Linux      |
>: :' : Free Operating System | http://www.debiancolombia.org/
>`. `'  http://debian.org/    | http://www-personal.monash.edu/~anibal
>  `-

Anibal Monsalve Salazar
--
 .''`. Debian GNU/Linux
: :' : Free Operating System
`. `'  http://debian.org/
  `-   http://v7w.com/anibal

Attachment: signature.asc
Description: Digital signature

Reply via email to