This is strange, actually if you have pfring installed in the standard path there it should work even without specifying the path. This is on a machine in our lab:
$ pwd
/home/nbox/PF_RING-dev/userland/snort/pfring-daq-module
$ autoreconf -ivf
$ ./configure
$ make
$ ldd .libs/daq_pfring.so
linux-vdso.so.1 => (0x00007ffce8f5f000)
libpfring.so => /usr/local/lib/libpfring.so (0x00007f65d75be000)
libhiredis.so.0.13 => /usr/lib/x86_64-linux-gnu/libhiredis.so.0.13
(0x00007f65d73b1000)
libsfbpf.so.0 => /usr/lib/libsfbpf.so.0 (0x00007f65d718a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f65d6dc0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f65d6ba3000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f65d699b000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f65d6797000)
/lib64/ld-linux-x86-64.so.2 (0x00007f65d7a45000)
Are you still getting "configure: error: Could not find pfring.h!”?
Alfredo
> On 18 Sep 2017, at 13:11, James <[email protected]> wrote:
>
> Hi,
>
> This command still fails to find the pfring.h file:
> ./configure --with-libpfring-includes=/usr/local/include
> --with-pfring-kernel-includes=/usr/local/include
> --with-libpfring-libraries=/usr/local/lib
>
>
> On 18 September 2017 at 11:03, Alfredo Cardigliano <[email protected]
> <mailto:[email protected]>> wrote:
> Please specify all of them together with the proper paths (lib and include)
>
> Alfredo
>
>> On 18 Sep 2017, at 10:56, James <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hi Alfredo,
>>
>> Thanks for helping me. I've tried all three of those but still get the same
>> error:
>> ./configure --with-libpfring-includes=/usr/local/include
>> ./configure --with-pfring-kernel-includes=/usr/local/include
>> ./configure --with-libpfring-libraries=/usr/local/include
>>
>> On 18 September 2017 at 09:19, Alfredo Cardigliano <[email protected]
>> <mailto:[email protected]>> wrote:
>> Hi James
>> the configure script currently checks for ${HOME}/PF_RING/ or installed
>> libraries specified with:
>>
>> --with-libpfring-includes=<path>
>> --with-pfring-kernel-includes=<path>
>> --with-libpfring-libraries=<path>
>>
>> Regards
>> Alfredo
>>
>> > On 15 Sep 2017, at 11:19, James <[email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> > Hi,
>> >
>> > I'm trying to install the pfring DAQ and when I run configure, am getting
>> > the error:
>> >
>> > checking pfring.h usability... no
>> > checking pfring.h presence... no
>> > checking for pfring.h... no
>> > configure: error: Could not find pfring.h!
>> >
>> > I have installed /kernel and /userland/lib and the file exists here:
>> >
>> > /usr/local/src/PF_RING-dev/userland/lib/pfring.h
>> > /usr/local/include/pfring.h
>> >
>> > Thanks
>> > James
>> > _______________________________________________
>> > Ntop-misc mailing list
>> > [email protected] <mailto:[email protected]>
>> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> > <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
