Hi James that’s definitely the problem, this is on one system in my lab: $ ls -al /usr/local/include/pfring.h -rw-rw-r-- 1 root root 52817 Sep 18 19:02 /usr/local/include/pfring.h
Alfredo > On 21 Sep 2017, at 10:53, James <[email protected]> wrote: > > I'm still a linux novice, so I've just discovered the config.log, which > suggests the problem is permission related: > > conftest.c:57:20: error: /usr/local/include/pfring.h: Permission denied > > Current permissions on these files: > -rwxr-x--- 1 root root 52817 Sep 13 14:37 pfring.h > -rwxr-x--- 1 root root 12326 Sep 13 14:37 pfring_mod_sysdig.h > -rwxr-x--- 1 root root 28511 Sep 13 14:37 pfring_zc.h > > What should they be please? I'm running ./configure as a non-root user (as I > understand is best practice). I tried granting read to all on pfring.h but > that didn't help. > > There's also a pf_ring.h in /usr/include/linux with these permissions: > -rwxr-x--- 1 root root 39009 Sep 13 13:46 pf_ring.h > > Thanks > James > > > On 19 September 2017 at 11:02, James <[email protected] > <mailto:[email protected]>> wrote: > Hi, > > Yes I am, though I'm running this from the pfring-daq-module-zc directory and > you're in pfring-daq-module, is that relevant? I do want to use ZC, but the > drivers are not installed yet (that was my next task after the pfring DAQ). > > I've even tried putting a link file in /usr/include/pfring.h which points to > /usr/local/include/pfring.h - no help. > > Thanks > James > > On 18 September 2017 at 18:08, Alfredo Cardigliano <[email protected] > <mailto:[email protected]>> wrote: > 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] >> <mailto:[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] <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
