[Iftop-users] iftop 0.16

Paul Warren pdw at ex-parrot.com
Sat, 13 Mar 2004 11:18:17 +0000


On Sat, Mar 13, 2004 at 10:56:10AM +0000, Chris Lightfoot wrote:
> On Sat, Mar 13, 2004 at 10:36:08AM +0000, Paul Warren wrote:
> > On Fri, Mar 12, 2004 at 05:06:34PM -0600, John Thompson wrote:
> > > > Hmm, well in that case it should be possible to configure to get the
> > > > test to compile.   At the risk of trying something we've already
> > > > tried, what happens if you do:
> > > > 
> > > > CPPFLAGS=-I/usr/pkg/include && LDFLAGS=-L/usr/pkg/lib && ./configure
> > > > 
> > > > Please send the log if it doesn't work.
> > > 
> > > No joy:
> > 
> > OK, I'm getting pretty confused now.  Should the directories in the
> > above example not be /usr/pkg/pthreads/include and
> > /use/pkg/pthreads/lib?
> > 
> > Can you try:
> > 
> > CPPFLAGS=-I/usr/pkg/pthreads/include && LDFLAGS=-L/usr/pkg/pthreads/lib && ./configure
> > 
> > and if that doesn't work:
> > 
> > CFLAGS="-I/usr/pkg/pthreads/include -L/usr/pkg/pthreads/lib" && ./configure
> 
> don't you need to set CFLAGS and CPPFLAGS?

Why?  I thought that  CPPFLAGS were for pre-processor (i.e. includes),
LDFLAGS for linker flags (-L...) and CFLAGS were included at every CC
invocation.

I can't find any documentation of these - the info page for gcc does not
list them as environment variables that affect gcc operation...

Paul