Re: Snort3 installation problem on Ubuntu 20.04 : CMake Error: The following variables are used in this project, but they are set to NOTFOUND

"Nihal Desai \(nihdesai\) via Snort-users" <[email protected]>
Newsgroups gmane.comp.security.ids.snort.general
Message-ID <BL0PR11MB3121845B938C11B12BC00A29D5D69@BL0PR11MB3121.namprd11.prod.outlook.com>
Hello Dave:

Have you tried running “sudo ldconfig”?

Thanks!

--
V/r
Nihal N. Desai

From: Snort-users <[email protected]> on behalf of Dave / Dalek Zone via Snort-users <[email protected]>
Date: Wednesday, May 25, 2022 at 10:53 AM
To: [email protected] <[email protected]>
Subject: [Snort-users] Snort3 installation problem on Ubuntu 20.04 : CMake Error: The following variables are used in this project, but they are set to NOTFOUND
Hi I'm trying to install snort3 (snort version 3.1.29.0) on Ubuntu 20.04
following the instructions in
https://linoxide.com/install-snort-on-ubuntu/

All goes well until I get to step 3 / sub-step 3. When I try to execute:

./configure_cmake.sh --prefix=/usr/local --enable-tcmalloc

it fails with the error message:

CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
FLEX_INCLUDES (ADVANCED)
    used as include directory in directory
/root/snort-source-files/snort3/src
    used as include directory in directory
/root/snort-source-files/snort3/src
    used as include directory in directory
/root/snort-source-files/snort3/src
    used as include directory in directory
/root/snort-source-files/snort3/src
    used as include directory in directory
/root/snort-source-files/snort3/src
    used as include directory in directory
/root/snort-source-files/snort3/src
   ...
   ......

Would you have any suggestions how I can get past this error, please?
Does anyone know of a how-to on the Web that will work for Ubuntu 20.04?
There is a whole bunch of them on multiple sites, but they all look like
a copy-and-paste from one original article...

Vytaly Gorbatov suspected that I did not have Flex installed, but in
fact I do have flex 2.6.4 installed.

With all best wishes,

Dave
_______________________________________________
Snort-users mailing list
[email protected]
Go to this URL to change user options or unsubscribe:
https://lists.snort.org/mailman/listinfo/snort-users

        To unsubscribe, send an email to:
        [email protected]

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

_______________________________________________
Snort-users mailing list
[email protected]
Go to this URL to change user options or unsubscribe:
https://lists.snort.org/mailman/listinfo/snort-users

	To unsubscribe, send an email to:
	[email protected]

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.