[Flow-tools] Unable to compile Cflow with flow-tools 0.68.4 on CentOS 5.2 x86_64

Stephen Barry steve at flatmail.co.uk
Thu Nov 6 15:44:59 EST 2008


Please can someone help me I have searched high and low for an answer to 
this problem with no luck:

I am trying to compile CFlow 1.053 with flow-tools 0.68.4 from
http://code.google.com/p/flow-tools/
On Centos 5.2 x86_64

flow-tools 0.66 will not compile at all which is why I had to use the 
new fork version, I have no idea if Cflow is meant to work with this 
version?

I have flow-tools installed and operational, however I am having major 
problems with Cflow but I think it is related to flow-tools hence I am 
posting here.

I have tried using the method of having Cflow in the contrib folder 
beneath flow-tools build directory but to start with it would not detect 
flow-tools as it is looking for  ../../lib/libft.a which doesnt exist, 
it seems to be ../../lib/.libs/libft.a in the version of flow-tools I am 
using. If I override the path then cflow compiles but does not work as 
you can see below....

[root at ln5-nms-01 Cflow-1.053]# flowdumper -s
Can't load 
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Cflow/Cflow.so' 
for module Cflow: libft.so.0: cannot open shared object file: No such 
file or directory at 
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/bin/flowdumper line 27
Compilation failed in require at /usr/bin/flowdumper line 27.
BEGIN failed--compilation aborted at /usr/bin/flowdumper line 27.

I have no idea what to do now to fix this

I have also read this:

To properly install Cflow on your system, untar the Cflow archive, cd to the
 Cflow dir, then do:

   perl Makefile.PL CCFLAGS='-DOSU' LIBS='-lft'

 This assumes you have flow-tools installed on your system fully, 
including headers
 and development libraries. This is the only supported way to use Cflow. 
Do not
 try to install it as specified in its readme.

Please can someone explain how install headers and development libraries 
so I can try this method.

I would really appreciate any help - I am a linux beginner.

Thanks
Steve



More information about the Flow-tools mailing list