Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install iftop on CentOS 5.2

Status
Not open for further replies.

marslove

IS-IT--Management
Apr 18, 2007
30
US
Hi

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

Thanks
 
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!!!!
 
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:

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.
 
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
 
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.
 
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
 
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top