The problem I am seeing at this time is that I run through that process
from the PF_RING-6.0.3/kernel folder and when I do the command 'sudo make
-f Makefile.dkms deb' I'm getting this error:

dkms remove -m pfring -v 6.0.3 --all

-------- Uninstall Beginning --------
Module:  pfring
Version: 6.0.3
Kernel:  3.11.0-26-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

pf_ring.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.11.0-26-generic/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.0.3
completely from the DKMS tree.
------------------------------
Done.
\/bin/rm -rf /usr/src/pfring-6.0.3
mkdir /usr/src/pfring-6.0.3
cp -r Makefile dkms.conf pf_ring.c linux/ /usr/src/pfring-6.0.3
dkms add -m pfring -v 6.0.3

Creating symlink /var/lib/dkms/pfring/6.0.3/source ->
                 /usr/src/pfring-6.0.3

DKMS: add completed.
cp -r pfring-dkms-mkdeb /usr/src/pfring-6.0.3/
dkms build -m pfring -v 6.0.3

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.11.0-26-generic.....
cleaning build area....

DKMS: build completed.
dkms install -m pfring -v 6.0.3

pf_ring:
Running module version sanity check.

Good news! Module version  for pf_ring.ko
exactly matches what is already found in kernel 3.11.0-26-generic.
DKMS will not replace this module.
You may override by specifying --force.

depmod....

DKMS: install completed.
dkms mkdeb -m pfring -v 6.0.3 --source-only
Package `debhelper' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Using /var/lib/dkms/pfring/6.0.3/source/pfring-dkms-mkdeb
copying template...
modifying debian/changelog...
modifying debian/compat...
modifying debian/control...
modifying debian/copyright...
modifying debian/dirs...
modifying debian/postinst...
modifying debian/prerm...
modifying debian/README.Debian...
modifying debian/rules...
copying legacy postinstall template...
Copying source tree...
Building binary package...dpkg-buildpackage: warning: using a
gain-root-command while being root
 dpkg-source --before-build pfring-dkms-6.0.3
 fakeroot debian/rules clean
make[1]: dh_testdir: Command not found
make[1]: *** [clean] Error 127
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
status 2
(bad exit status: 2)
Error! There was a problem creating your deb.
make: *** [deb] Error 7


Secondary:  I've tried this on to use the apt-ntop.deb to pull from NTOP
directly but Suricata fails to start as it is missing the libpcap
libraries.  Does the apt version of pfring-dkms not include the libpcap
component?

Any and all input is greatly appreciated.  Thanks.


On Tue, Oct 20, 2015 at 10:24 AM, Yuri Francalacci <[email protected]> wrote:

> in the github pfring repository (
> https://github.com/ntop/PF_RING/tree/dev/kernel), you should find the all
> the infos you need.
> Regards, Yuri
> ###############################################
> Yuri Francalacci   -   [email protected]   -   http://www.ntop.org
> "Simplicity is the ultimate sophistication" - Leonardo da Vinci
> ###############################################
>
> On 20 Oct 2015, at 16:20, Josh <[email protected]> wrote:
>
> All,
>
>       Good morning.  I'm trying to find the details on compile process
> steps for PF_RING 6.0.3 to support DKMS and get a re-usable deb package for
> Ubuntu 12.04.  Can this be shared?  Thanks.
>
> --
>
> Josh
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>



-- 

Josh
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to