Snort mailing list archives
Re: daq-2.2 with snort-2?
From: Marcin Dulak <marcin.dulak () gmail com>
Date: Mon, 14 Nov 2016 00:20:07 +0100
On Sun, Nov 13, 2016 at 11:51 PM, Al Lewis (allewi) <allewi () cisco com> wrote:
If you need both on a system you probably shouldn’t use the default build path. Specify the output location using the ‘--prefix’ when running configure. Then point to the daq installation directory when building snort. I have dropped the idea of having both daq-2.0 and daq-2.2 packaged as
coexisting RPMS for now.
See below.. taken from the configure script (configure -h) *"By default, `make install' will install all the files in* *`/usr/local/bin', `/usr/local/lib' etc. You can specify* *an installation prefix other than `/usr/local' using `--prefix',* *for instance `--prefix=$HOME’."* yes, I noticed daq's configure/make behave in a non-standard way.
Normally one sets the prefix during configure, and make picks up the settings, but for daq one seems to need both: configure --libdir=/usr/lib64 make make install prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/usr/lib64 By the way do you have any suggestions how to get rid of rpath performed during linking of daq? https://sourceforge.net/p/snort/mailman/message/35487450/ Best regards, Marcin
*Albert Lewis* ENGINEER.SOFTWARE ENGINEERING SOURCE*fire*, Inc. now part of *Cisco* Email: allewi () cisco com From: Marcin Dulak <marcin.dulak () gmail com> Date: Saturday, November 12, 2016 at 2:00 PM To: "snort-devel () lists sourceforge net" <snort-devel () lists sourceforge netSubject: Re: [Snort-devel] daq-2.2 with snort-2? On Sat, Nov 12, 2016 at 6:41 PM, Markus Lude <markus.lude () gmx de> wrote:On Sat, Nov 12, 2016 at 03:56:44PM +0100, Marcin Dulak wrote:Hi, I see that daq-2.0 and daq-2.2 cannot coexist on the same system.Maybe you could tweak the installation, so they could co-exist. But why would you want both on the same system?because I'm packaging daq-2.0 for Fedora/EPEL: https://bugzilla.redhat.com/show_bug.cgi?id=1394502 daq-2.0 and daq-2.2 cannot coexists in the default paths without renaming all libraries(a,so) and headers. Regards, MarcinAre there plans to support daq-2.2 https://github.com/Xiche/libdaq with snort-2? Are there planned releases of daq-2.0 https://github.com/jasonish/daq?This is not the official repo for daq. Look at the snort homepage for official daq releases.Another question: is there an advantage from building snort againststaticdaq libraries instead of so?Regards, Markus
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi
_______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- daq-2.2 with snort-2? Marcin Dulak (Nov 12)
- Re: daq-2.2 with snort-2? Markus Lude (Nov 12)
- Re: daq-2.2 with snort-2? Marcin Dulak (Nov 12)
- Re: daq-2.2 with snort-2? Al Lewis (allewi) (Nov 13)
- Re: daq-2.2 with snort-2? Marcin Dulak (Nov 13)
- Re: daq-2.2 with snort-2? Marcin Dulak (Nov 12)
- Re: daq-2.2 with snort-2? Markus Lude (Nov 12)
- Re: daq-2.2 with snort-2? Michael Altizer (Nov 13)