[Flow-tools] Cflow won't compile
Scott B. Lowe
scotty at coretel.net
Fri Jul 6 16:48:58 EDT 2007
Thanks to Dave Plonka, this was his suggestion which worked for me.
" I see from the output you supplied that your gcc is
complaining that
it wants the flow-tools library to have been compiled with "-fPIC"
(for Position Independent Code).
My suggestion is for you to try rebuilding flow-tools-0.68 with after
reconfiguring with it to use "gcc -fPIC", e.g.:
$ cd flow-tools-0.68
$ make clean
$ rm -f config.cache
$ CC='gcc -fPIC' ./configure
...
$ make
Then do this in the contrib/Cflow-* dir:
$ perl Makefile.PL
$ make
"
I am running Fedora Core 5 (64 bit) and using gcc version 4.1.1. I should also mention that I needed a patch to get flow-tools (0.68) to compile which is located here : http://flow-tools.googlecode.com/files/flow-tools-0.68-0002-Fix-an-invalid-lvalue-in-assignment-compile-error.patch
More information about the Flow-tools
mailing list