[Flow-tools] gcc doesn't magically find include files

bill fumerola billf at mu.org
Tue May 13 20:02:35 EDT 2008


On Tue, May 13, 2008 at 05:01:24PM +0200, massimo past wrote:
> # perl Makefile.PL
> Found flow-tools... using "-DOSU -I../../lib -I../../lib/.. -L../../lib -lft -lz".
> Warning: -L../../lib changed to -L/usr/local/flow-tools/bin/Cflow-1.053/../../lib
> Writing Makefile for Cflow
>  
> # make
> gcc -c  -I../../lib -I../../lib/.. -DOSU -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.053\" -DXS_VERSION=\"1.053\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   Cflow.c
> Cflow.xs:62:21: error: ftlib.h: No such file or directory

ftlib.h wasn't found in -I../../lib -I../../lib/.. or any other default -I

typically, include files are installed in /usr/include /usr/local/include
/opt/include or /usr/local/include/<packagename>

you'll need to find where flow-tools installed them (or, if you didn't
install them, do so) and try again.

since you don't say how you installed flow-tools, best this list can do
is guess as to where they are.

> Warning: -L../../lib changed to -L/usr/local/flow-tools/bin/Cflow-1.053/../../lib
i'm not sure what kind of build environment you're trying to pull off,
but it isn't working.

> Cflow.xs: [... all these warnings are because of the missing include ...]

fix the include path and the rest should work itself out.

-- 
- bill fumerola / billf at FreeBSD.org




More information about the Flow-tools mailing list