in
/PF_RING/package/ubuntu there is a configure/makefile pair to create the deb 
package also for userland stuff.
Yuri
###############################################
Yuri Francalacci   -   [email protected]   -   http://www.ntop.org
"Simplicity is the ultimate sophistication" - Leonardo da Vinci
###############################################

> On 27 Oct 2015, at 14:20, Josh <[email protected]> wrote:
> 
> You are correct.  I did try the dkms packages from the NTOP site but they 
> didn't work on my systems so I took the route of manual compile / build 
> instead for consistency and a bit of self-education.  The manual process of 
> compile isn't reporting errors thus far but at this point I'm still unclear 
> to why the deb file isn't putting the files in place correctly.  My steps 
> were:
> 
> wget PF_RING-6.0.3.tar.gz
> tar -xvf PF_RING-6.0.3.tar.gz
> cd PF_RING-6.0.3/kernel/
> ./configure
> cd ../userland/lib/
> ./configure && make
> cd ../../kernel
> sudo make -f Makefile.dkms deb
> 
> Comparing files being installed:
> cd /
> sudo find / -name *pfring*
> 
> Here I only see the file /usr/lib/libpfring.so but none of the /usr/local/lib 
> or /usr/local/include files.  This is the reason I believe when I install 
> build Suricata it reports a failure on configure as the files aren't in the 
> correct paths.  Previously this worked but I believe that was because I was 
> doing the make && sudo make install which handled the files being put in 
> place. 
> 
> On Mon, Oct 26, 2015 at 1:49 PM, Josh <[email protected] 
> <mailto:[email protected]>> wrote:
> You are correct.  I did try the dkms packages from the NTOP site but they 
> didn't work on my systems so I took the route of manual compile / build 
> instead for consistency and a bit of self-education.  The manual process of 
> compile isn't reporting errors thus far but at this point I'm still unclear 
> to why the deb file isn't putting the files in place correctly.  My steps 
> were:
> 
> wget PF_RING-6.0.3.tar.gz
> tar -xvf PF_RING-6.0.3.tar.gz
> cd PF_RING-6.0.3/kernel/
> ./configure
> cd ../userland/lib/
> ./configure && make
> cd ../../kernel
> sudo make -f Makefile.dkms deb
> 
> Comparing files being installed:
> cd /
> sudo find / -name *pfring*
> 
> Here I only see the file /usr/lib/libpfring.so but none of the /usr/local/lib 
> or /usr/local/include files.  This is the reason I believe when I install 
> build Suricata it reports a failure on configure as the files aren't in the 
> correct paths.  Previously this worked but I believe that was because I was 
> doing the make && sudo make install which handled the files being put in 
> place.  
> 
> On Mon, Oct 26, 2015 at 12:12 PM, Yuri Francalacci <[email protected] 
> <mailto:[email protected]>> wrote:
> first of all I suggest you to use the precompiled packages available @ 
> packages.ntop.org <http://packages.ntop.org/>
> Then if I understood in the right way, you need to create a deb with the dkms 
> kernel module and then a deb with the library and userland stuff.
> after these two operation you can install both packages in a system you like 
> and try to use them to compile suricata (?).
> Yuri
> ###############################################
> Yuri Francalacci   -   [email protected] <mailto:[email protected]>   -   
> http://www.ntop.org <http://www.ntop.org/>
> "Simplicity is the ultimate sophistication" - Leonardo da Vinci
> ###############################################
> 
>> On 26 Oct 2015, at 16:45, Josh <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Ok, I'm confused more now.  I did the './configure' in kernel and the 
>> './configure && make' in userland/lib and then built the deb file for 
>> installation but the files in /usr/local/lib and include don't get 
>> installed.  Are there any other steps I've missed here?  I believe my use of 
>> make && make install previously was what was making this work correctly 
>> since I re-installed the OS to ensure the deb file was working in a portable 
>> fashion but this is the break point at this time.  
>> 
>> On Mon, Oct 26, 2015 at 11:14 AM, Yuri Francalacci <[email protected] 
>> <mailto:[email protected]>> wrote:
>> they should be enough.
>> Yuri
>> ###############################################
>> Yuri Francalacci   -   [email protected] <mailto:[email protected]>   -   
>> http://www.ntop.org <http://www.ntop.org/>
>> "Simplicity is the ultimate sophistication" - Leonardo da Vinci
>> ###############################################
>> 
>>> On 26 Oct 2015, at 15:55, Josh <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> To make this work, am I correct to cd to userland/lib and issue the 
>>> './configure && make' command or are there other commands required for this?
>>> 
>>> On Mon, Oct 26, 2015 at 10:51 AM, Yuri Francalacci <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> the dkms package provides only the kernel module. The userland library and 
>>> dev files (the one you say missing) can be build starting from the scripts 
>>> available in the /userland path of the tgz file.
>>> Yuri
>>> ###############################################
>>> Yuri Francalacci   -   [email protected] <mailto:[email protected]>   -   
>>> http://www.ntop.org <http://www.ntop.org/>
>>> "Simplicity is the ultimate sophistication" - Leonardo da Vinci
>>> ###############################################
>>> 
>>>> On 26 Oct 2015, at 15:42, Josh <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> All,
>>>> 
>>>>      Good day.  I've run the following commands to configure and build a 
>>>> deb package for PFRING 6.0.3 that is dkms enabled and portable.  
>>>> 
>>>> tar -xvf PF_RING-6.0.3.tar.gz
>>>> cd PF_RING-6.0.3/kernel
>>>> ./configure
>>>> sudo make -f Makefile.dkms deb
>>>> 
>>>> The problem I'm seeing now is that when I install the deb package and 
>>>> compare the files installed on this deb versus the previous 5.x version, 
>>>> we are missing these files being installed:
>>>> 
>>>> /usr/lib/libpfring.so  - PRESENT ON BOTH INSTALLS
>>>> /usr/local/include/pfring.h - Missing on 6.0.3 deb file install
>>>> /usr/local/lib/libpfring.a - Missing on 6.0.3 deb file install
>>>> /usr/local/lib/libpfring.so - Missing on 6.0.3 deb file install
>>>> 
>>>> Have I provided an incorrect step list or overlooked a configuration tweak 
>>>> to make this work?  With these files missing during the install, Suricata 
>>>> is broken as a result.  Any input is much appreciated.
>>>> 
>>>> -- 
>>>> 
>>>> Josh
>>>> _______________________________________________
>>>> 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>
>>> 
>>> 
>>> 
>>> -- 
>>> 
>>> Josh
>>> _______________________________________________
>>> 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>
>> 
>> 
>> 
>> -- 
>> 
>> Josh
>> _______________________________________________
>> 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>
> 
> 
> 
> -- 
> 
> Josh
> 
> 
> 
> -- 
> 
> 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

Reply via email to