Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th December 2006, 16:58
BruceWilkinson BruceWilkinson is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default lex is insufficient to compile libpcap

I'm working through Intrusion Detection With BASE And Snort tutorial (http://www.howtoforge.com/intrusion_..._base_snort_p3) on Ubuntu. I ran into a problem at make/install LIBPCAP (page 3). When I execute ./configure, I get the 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.

I'm familiar with Linux and Ubuntu, but not knowlegeable enough to know how to resolve this problem.

Can anyone help?

Bruce
Reply With Quote
Sponsored Links
  #2  
Old 19th December 2006, 11:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please run:

apt-get install flex

to install the latest flex version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st December 2006, 16:34
BruceWilkinson BruceWilkinson is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks Till, that did the trick.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP - Java Compile ToysunStory Installation/Configuration 9 4th January 2008 18:47
Can I compile the 2.4.x kernel from kernel.org on ubuntu 5.10 with kernel 2.6.12? jack.ma Kernel Questions 4 10th December 2006 14:09
Failed with lex benkong2 Installation/Configuration 2 2nd August 2005 01:42


All times are GMT +2. The time now is 13:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.