INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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.

Jobs

How to install iftop on CentOS 5.2

How to install iftop on CentOS 5.2

(OP)
Hi

I am having a problem to install iftop on CentOs 5.2
with TRIXBOX PBX

Thanks

RE: How to install iftop on CentOS 5.2

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

Annihilannic.

RE: How to install iftop on CentOS 5.2

(OP)
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.

Thanks!!!!       
 

RE: How to install iftop on CentOS 5.2

Try installing the RPM available here:

http://checksuite.sourceforge.net/dl/

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

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

http://ex-parrot.com/~pdw/iftop/

Compile and install it using the following commands:

CODE

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

Annihilannic.

RE: How to install iftop on CentOS 5.2

(OP)
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     iftop.cat     options.c       stringmap.c
addr_hash.c    configure.in  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   Makefile.am   screenfilter.h  ui.c
cfgfile.h      extract.h     Makefile.in   serv_hash.c     ui.h
ChangeLog      hash.c        Makefile.OLD  serv_hash.h     util.c
config         hash.h        NEWS          sll.h           vector.c
config.h.in    iftop.8       ns_hash.c     sorted_list.c   vector.h
config.log     iftop.c       ns_hash.h     sorted_list.h


Thanks
Again
 

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?

Annihilannic.

RE: How to install iftop on CentOS 5.2

(OP)
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

Thanks
 

RE: How to install iftop on CentOS 5.2

Than you have no compiler.

CODE

yum install gcc

and thank Annihilannic for pointing you to the right direction.


QaTQat

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!

Resources

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