For When You Can't Have The Real Thing
[ start | index | login ]
start > dave > experiments > Net Flows > 2008-02-26 > 1

2008-02-26 #1

Created by dave. Last edited by dave, 10 years and 293 days ago. Viewed 2,117 times. #1
[edit] [rdf]
labels
attachments

Notes on Cflow install for flow-tools

Finally got back to doing an install. Here's how to get the Cflow.pm piece to install:
  • download the flow-tools src.rpm from >>here
  • build the rpm:
# rpmbuild -bb /usr/src/redhat/SPECS/flow-tools.spec
  • install the rpm:
# rpm -ivh /usr/src/redhat/RPMS/i386/flow-tools-0.68-dgm.1.i386.rpm
  • change to the contrib directory:
# cd /usr/src/redhat/BUILD/flow-tools-0.68/contrib/
  • build there (noise snipped):
# tar xfpz Cflow-1.051.tar.gz
# cd Cflow-1.051
# perl Makefile.PL
Found flow-tools… using "-DOSU -I../../lib -I../../lib/.. -L../../lib -lft -lz".
Writing Makefile for Cflow
# make install
Note that if it does not say Writing Makefile for Cflow then something's hosed.

I would like to know how to get this into a RPM properly.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt