On Thu, May 29, 2014 at 09:30:45PM +0530, abhishek jain wrote:
[...]
 checking for main in -lreadline... no
 checking for append_history... no
 checking for completion_matches... no
 checking for rl_completion_matches... no 
OK here's your problem.
You need to install libreadline-dev and rerun configure.
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat 
http://people.redhat.com/~rjones
Read my programming and virtualization blog: 
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v