problem with libnet.

486

I want to install a progrma, but I am necessary to have “”libnet-1.0.2.a” i download this web http://www.filewatcher.com/m/libnet-1.0.2a.tgz.37684.0.0.htm the rpoblem is i not to install it.

this file contains:

+CONTENTS
+COMMENT
+DESC
bin/libnet-config
lib/libnet.a
include/libnet.h
include/libnet/libnet-asn1.h
include/libnet/libnet-functions.h
include/libnet/libnet-headers.h
include/libnet/libnet-macros.h
include/libnet/libnet-ospf.h
include/libnet/libnet-structures.h
man/man3/libnet.3
 

where is the INSTALL, README, MAKEFILE,…

i run “/bin/libnet-config” and this is the out:

daytime_hosts        
ftp_ext_passive      0
ftp_firewall         
ftp_firewall_type    
ftp_int_passive      0
inet_domain          
local_netmask        
nntp_hosts           
ph_hosts             
pop3_hosts           
smtp_hosts           
snpp_hosts           
test_exist           1
test_hosts           1
time_hosts           

then i install the program and said me:

checking for a BSD compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… missing
checking for gcc… gcc
checking for C compiler default output… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for executable suffix… checking for object suffix… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking to see if we can add ‘-Wall’ to CFLAGS… yes
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
./configure: 2701: libnet-config: not found
./configure: 2709: libnet-config: not found
./configure: 2709: libnet-config: not found
./configure: 2719: libnet-config: not found
./configure: 2719: libnet-config: not found
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for unistd.h… yes
checking for strings.h… yes
checking for sys/socket.h… yes
checking for net/bpf.h… no
checking for sys/time.h… yes
checking for machine/endian.h… no
checking for netinet/ip_var.h… no
checking for inet_aton… yes
checking for getopt… yes
checking for strsep… yes
checking for inet_ntoa in -lnsl… yes
checking for socket in -lsocket… no
checking for hstrerror in -lresolv… yes
checking for fabs in -lm… yes
checking for libnet.h… no

   ERROR!  Libnet header not found, go get it from
   http://www.packetfactory.net/projects/libnet/
   or use the –with-libnet-* options, if you have it installed
   in unusual place

help me, please.

thank you