[Snort-users] lex is insufficient? (daq 0.6.2)

tgiles at ...14981... tgiles at ...14981...
Thu Dec 15 17:34:21 EST 2011

Hi, All. 

Trying to build a copy of Snort 2.9.2 on Debian 5 x64 system and and running into an issue with configuring daq 0.6.2. Receive "error: Your operating system's lex is insufficient to compile libsfbpf." whenever I try to run a configure. 

I have the default flex 2.5.35 and Bison 2.3 installed. latest available Flex version is 2.5.35, so there's no way to upgrade it to something else.


* libdnet - 1.11
configured with: ./configure --prefix=/opt/snort && make && make install
* libpcap - 1.1.1
configured with: ./configure --prefix=/opt/snort && make && make install

* daq - 0.6.2
configured with: ./configure --prefix=/opt/snort --with-libpcap-includes=/opt/snort/include --with-libpcap-libraries=/opt/snort/lib
configured with: ./configure --prefix=/opt/snort --with-libpcap-includes=/opt/snort/include --with-libpcap-libraries=/opt/snort/lib --without-flex --without-bison

relevant error from the config.log:

configure:11538: checking for capable lex
configure:11549: result: insufficient
configure:11552: error: Your operating system's lex is insufficient to compile
         libsfbpf. You should install both bison and flex.
         flex is a lex replacement that has many advantages,
         including being able to compile libsfbpf.  For more
         information, see http://www.gnu.org/software/flex/flex.html .

Re-downloaded packages, tweaked environment variables, verified paths, confirmed no extra dev- packages to install and can't get this to go the next step. What am I missing?

Thanks for any input you might have


More information about the Snort-users mailing list