LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install snort (https://www.linuxquestions.org/questions/linux-software-2/install-snort-4175460580/)

sniper8752 05-03-2013 09:23 AM

install snort
 
I am installing snort, and it said I needed to have Bison and Flex installed. So I installed them both, but I keep on getting this message:

Code:

checking for capable lex... insufficient
configure: 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 .

This happens when I type in this command:

./configure && make install

I do a man on flex, it shows up. Could it be the configuration that is not set up properly?

I am running Ubuntu 12.04.

John VV 05-03-2013 03:47 PM

to build the software from source you NEED the development files and not just the libs
install the -dev 's for bison and flex

sniper8752 05-03-2013 04:46 PM

How do I do that?

John VV 05-03-2013 05:57 PM

the same way you installed bison and flex !!!
Code:

apt-get install flex-dev


All times are GMT -5. The time now is 08:40 AM.