Kevin
on packages.ntop.org we offer per-built ntop packages for your favourite 
platform.

If you put PF_RING in your home, ntop will detect it during build and work 
(this is what the packager does)

Regards Luca

On Oct 24, 2012, at 8:21 PM, Kevin Branch <[email protected]> wrote:

> Hi,
> 
> I would sincerely appreciate it if someone would point me in the direction of 
> instructions for compiling ntop against PF_RING or perhaps offer an idea or 
> two about what I might try next to solve the problem I've described below.
> 
> Thanks,
> Kevin
> 
> 
> On 10/11/2012 6:21 PM, Kevin Branch wrote:
>> Hi,
>> 
>> I'm having trouble getting ntop to compile with PF_RING support.  PF_RING is 
>> installed with the associated kernel module, libpfring, and libpcap files 
>> under /opt/PF_RING/lib and headers in /opt/PF_RING/include.
>> 
>> After the
>>     ./autogen.sh --noconfig
>> I run a ./configure with the extra option
>>    --with-pcap-root=/opt/PF_RING
>> to hopefully clue in ntop to the presence of libpfring and the pfring-linked 
>> libpcap.
>> 
>> The configure runs successfully.
>> 
>> Running "make" fails until I switch a couple of cases of this in Makefile 
>> from
>>     -L /opt/PF_RING/lib
>> to
>>     -L/opt/PF_RING/lib
>> (The space between -L and /opt/PF_RING/lib makes libtool complain and abort.)
>> After fixing that, "make" is successful.
>> 
>> However while "ldd .libs/ntop" shows libpfring.so getting linked in right, 
>> it also shows ntop linked to the stock libpcap, not the PF_RING one in 
>> /opt/PF_RING/lib
>>    libpfring.so => /opt/PF_RING/lib/libpfring.so (0x00007f9213c35000)
>>    libpcap.so.1 => /usr/lib64/libpcap.so.1 (0x00007f92139fe000)
>> 
>> When I fire up ntop, no rings are allocated, presumably because the wrong 
>> libpcap is being used.
>> 
>> Please advise.  I would be happy to provide further details if that would be 
>> helpful.
>> 
>> Thanks,
>> Kevin Branch
>> _______________________________________________
>> 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

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

Reply via email to