Re: daq-2.2 with snort-2?

Marcin Dulak <[email protected]>
Newsgroups gmane.comp.security.ids.snort.devel
Message-ID <CABJoABbjBR6bRpQ-QOZLpgEcozM4uKsqU1KsGKLP-Sphkoq+NA@mail.gmail.com>
On Sun, Nov 13, 2016 at 11:51 PM, Al Lewis (allewi) <[email protected]>
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: [email protected]
>
> From: Marcin Dulak <[email protected]>
> Date: Saturday, November 12, 2016 at 2:00 PM
> To: "[email protected]" <[email protected]
> >
> Subject: Re: [Snort-devel] daq-2.2 with snort-2?
>
>
>
> On Sat, Nov 12, 2016 at 6:41 PM, Markus Lude <[email protected]> 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,
>
> Marcin
>
>
>>
>> > Are 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 against
>> static
>> > daq 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
[email protected]
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!
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.