Snort mailing list archives
Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu
From: Michael Altizer via Snort-devel <snort-devel () lists snort org>
Date: Mon, 19 Mar 2018 20:17:06 -0400
On 03/19/2018 02:15 PM, Jonathan McDowell via Snort-devel wrote:
On Sat, Mar 17, 2018 at 10:55:34AM -0400, Russ via Snort-devel wrote:On 3/17/18 2:04 AM, Noah Dietrich wrote:3. Additional question -> will DAQ go to cmake in the future? Will DAQ move to cmake in the future?There is no plan at this time to change DAQ to cmake. Are you just curious or is there a specific concern?It'd be nice to see DAQ move to pkg-config rather than the "daq-modules-config" binary - that would make things easier for cross compilation.
That's in the works.
That's sort of awkward, but it's enforcing a standard as stated in the macro comments. I'm not sure how much we care. Noah, was there a particular reason that you really wanted the binary installed into /bin rather than /usr/bin?//------------------------------------------------------------- 4. Install location of snort binary seems off When I run configure_cmake.sh and specify the prefix path as the root of the drive (--prefix=/), most of the files are installed where you'd expect (/etc/snort, et cetera), however the snort binary is placed in /usr/bin/snort, this is different than previous installations, where setting the prefix to the root of the drive would install the snort binary to the /bin directory. is this a bug or by design?Install should be using your prefix. Maybe this broke with the recent use of GNUInstallDirs. However, we build and test using prefix all the time and it is working here, but we probably never tried /. I wouldn't expect it to matter, but what happens if you use some other path?This is definitely a GNUInstallDirs issue; my bad. Apparently CMake special cases /, /usr + /opt: https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/GNUInstallDirs.cmake#L73
_______________________________________________ Snort-devel mailing list Snort-devel () lists snort org https://lists.snort.org/mailman/listinfo/snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Noah Dietrich (Mar 16)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Russ via Snort-devel (Mar 17)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Y M via Snort-devel (Mar 17)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Noah Dietrich (Mar 19)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Jonathan McDowell via Snort-devel (Mar 19)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Michael Altizer via Snort-devel (Mar 19)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Noah Dietrich (Mar 19)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Jonathan McDowell via Snort-devel (Mar 20)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Y M via Snort-devel (Mar 17)
- Re: A few Issues Building Snort++ (3.0.0-a4-b244) on Ubuntu Russ via Snort-devel (Mar 17)