i am using ubuntu 10.04.

when i as trying to install nemesis its showing error that libnet is missing
Code:
root@piyush-laptop:~/Downloads/rawsocket/packet injector/tool/nemesis-1.4# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /home/piyush/Downloads/rawsocket/packet: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... 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 dependency style of gcc... none
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 for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for fabs in -lm... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking for hstrerror in -lresolv... yes
checking for libnet_build_ip in -lnet... no

   ERROR!  Libnet library 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
Though the Version 1.1.4-2(libnet1) has already been installed on machine.
Then i manually downloaded the libnet library from
http://packetfactory.openwall.net/pr...net/index.html but still the same error.

Here is the instruction for installing it.
Code:
Installing Nemesis on UNIX-like systems:
========================================

Installing Nemesis on UNIX-like systems is a straightforward process that 
closely resembles installing any other piece of software using GNU autotools.  
Before attempting to install Nemesis, ensure that libnet-1.0.2a is installed.

The following steps are all that is needed to compile and install Nemesis:
1. ./configure
2. make
3. make install
4. examine the nemesis man pages
5. enjoy.

When compiling the following switches are available:
----------------------------------------------------

`--enable-debug'
     Enable debugging options (bugreports and developers only).

`--enable-profile'
     Enable code profiling options (developers only).

`--with-libnet-includes=DIR'
     If the configuration script can't find the libnet include files on its
     own, the path can be set manually with this switch.  Do not include
     a trailing / when specifying the include path. 

     Example:

     --with-libnet-includes=/usr/local/libnet/include

`--with-libnet-libraries=DIR'
     If the configuration script can't find the libnet library files on its
     own, the path can be set manually with this switch.  Do not include
     a trailing / when specifying the library path.

     Example:

     --with-libnet-libraries=/usr/local/libnet/lib
Code:
piyush@piyush-laptop:~$ whereis libnet
libnet: /usr/lib/libnet.a /usr/lib/libnet.la /usr/lib/libnet.so /usr/include/libnet.h /usr/include/libnet
I have already tried installing with few "--with-libnet-includes" option...
Plz help me to figure out the problem.