Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


How to install iftop on CentOS 5.2

How to install iftop on CentOS 5.2


I am having a problem to install iftop on CentOs 5.2


RE: How to install iftop on CentOS 5.2

What exactly is the problem you are having?  Error message?


RE: How to install iftop on CentOS 5.2

As you guest I am not a Linux guy. I did so mach stuff that I got confused. I goggled, I tried RPM
And Tar. Nothing worked. I guess TrixBox is unique. If you know how, maybe you just could give me the instructions, I am very good follower.


RE: How to install iftop on CentOS 5.2

Try installing the RPM available here:

If it doesn't work, let us know what error messages you get.

Otherwise download the source iftop-0.17.tar.gz from here:

Compile and install it using the following commands:


cd ~
mkdir src
cd src
tar xzvf /path/to/iftop-0.17.tar.gz
cd iftop-0.17
su -c 'make install'


RE: How to install iftop on CentOS 5.2

Hi Again

Thanks for attention

Here what I get after command make
And ofcorse I run ./configure before "make"
[trixbox1.localdomain iftop-0.17]# make
make: *** No targets specified and no makefile found.  Stop.

 [trixbox1.localdomain iftop-0.17]# ls
aclocal.m4     configure     options.c       stringmap.c
addr_hash.c  iftop.h       options.h       stringmap.h
addr_hash.h    COPYING       iftop.spec    ppp.h           tcp.h
addrs_dlpi.c   dlcommon.c    INSTALL       README          threadprof.c
addrs_ioctl.c  dlcommon.h    integers.h    resolver.c      threadprof.h
AUTHORS        edline.c      ip.h          resolver.h      TODO
bootstrap      ether.h       llc.h         screenfilter.c  token.h
cfgfile.c      ethertype.h   screenfilter.h  ui.c
cfgfile.h      extract.h   serv_hash.c     ui.h
ChangeLog      hash.c        Makefile.OLD  serv_hash.h     util.c
config         hash.h        NEWS          sll.h           vector.c    iftop.8       ns_hash.c     sorted_list.c   vector.h
config.log     iftop.c       ns_hash.h     sorted_list.h


RE: How to install iftop on CentOS 5.2

It seems like the ./configure step failed for some reason, because it did not create a Makefile.  What were the last 10 lines of output from ./configure?


RE: How to install iftop on CentOS 5.2

Hi Guys

Here it is

Now I see something is wrong

[trixbox1.localdomain iftop-0.17]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH


RE: How to install iftop on CentOS 5.2

Than you have no compiler.


yum install gcc

and thank Annihilannic for pointing you to the right direction.


If I could have sex each time I reboot my server, I would definitely prefer Windoz over Linux!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close