Problem in installing libpcap on ubuntu

Reply

Join Date: Oct 2008
Posts: 9
Reputation: arunmagar is an unknown quantity at this point 
Solved Threads: 0
arunmagar arunmagar is offline Offline
Newbie Poster

Problem in installing libpcap on ubuntu

 
0
  #1
Aug 11th, 2009
Hi,
I am working on project Signature Based IDS.
For that reason I need to install libpcap on my machine.
I have problem in installing.I have libpcap source directory.
as I give command
# ./configure
I found following error
configure: error: Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .

please help in installing libpcap.Step by step.
Thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,254
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 579
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Problem in installing libpcap on ubuntu

 
0
  #2
Aug 11th, 2009
Is there any reason you're trying to build it from source rather than installing it from the package repository?
  1. sk:~# apt-cache search libpcap | grep ^libp
  2. libpcap-dev - Development library for libpcap (transitional package)
  3. libpcap-ruby1.8 - Ruby interface for the libpcap packet capture library
  4. libpcap0.7 - System interface for user-level packet capture
  5. libpcap0.7-dev - Development library and header files for libpcap 0.7
  6. libpcap0.8 - System interface for user-level packet capture
  7. libpcap0.8-dev - Development library and header files for libpcap 0.8
  8. libpcap0.9 - Dummy package, can be safely removed
  9. libpcap0 - System interface for user-level packet capture.
  10. sk:~# apt-get install libpcap-dev

You could just install it with libaptituted unless you *want* to build it from source. You could also use aptitude to build from source:
  1. apt-get --only-source build-dep libpcap-dev
  2. apt-get --only-source -b source libpcap-dev
  3. ls *.deb
  4. dpkg -i libpcap*dev*deb
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 9
Reputation: arunmagar is an unknown quantity at this point 
Solved Threads: 0
arunmagar arunmagar is offline Offline
Newbie Poster

I dont have internet connection.

 
0
  #3
Aug 12th, 2009
I don't have internet connection that is why I am installing from source instead of repository.As I get internet connection I will try as you said.
I think what ever you have given those are commands which I have to run.
I am new to linux.
Thank you sknake.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,254
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 579
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Problem in installing libpcap on ubuntu

 
0
  #4
Aug 12th, 2009
You're welcome. Let me know if you have any problems in getting libpcap installed and we'll go from there
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC