James, thanks for helping Alex. Alex, please follow James' instructions. ntop has been discontinued and replaced by the new generation ntopng.
Simone On Thu, Sep 8, 2016 at 7:07 PM, James Lay <j...@slave-tothe-box.net> wrote: > On 2016-09-08 11:00, Alex wrote: > >> Hi, these are the steps I am doing >> >> $ svn co https://svn.ntop.org/svn/ntop/trunk/ntop/ >> $ wget https://github.com/ntop/nDPI/archive/1.8-stable.zip >> $ unzip 1.8-stable.zip -d ntop/ >> $ cd ntop >> $ mv nDPI-1.8-stable/ nDPI >> $ cd nDPI >> $ ./autogen.sh >> $ cd .. >> $ ./autogen.sh --prefix=/usr/local/bin/ntop >> >> ~~~~~~~~~~~~ >> make[2]: Leaving directory `/home/digger/ntop/nDPI/example' >> make[2]: Entering directory `/home/digger/ntop/nDPI' >> make[2]: Leaving directory `/home/digger/ntop/nDPI' >> make[1]: Leaving directory `/home/digger/ntop/nDPI' >> nDPI compiled succesfully >> >> Now we're ready to compile ntop >> $ make >> >> ~~~~~~~~~~~~~ >> sessions.c: In function 'handleTCPUDPSession': >> sessions.c:2544:34: error: incompatible types when assigning to type >> 'u_int16_t' from type 'ndpi_protocol' >> theSession->l7.major_proto = >> ndpi_detection_process_packet(myGlobals.device[actualDeviceI >> d].l7.l7handler, >> >> ^ >> sessions.c:2568:7: error: 'NDPI_PROTOCOL_FTP' undeclared (first use in >> this function) >> case NDPI_PROTOCOL_FTP: >> ^ >> sessions.c:2568:7: note: each undeclared identifier is reported only >> once for each function it appears in >> sessions.c:2582:7: error: 'NDPI_PROTOCOL_TWITTER' undeclared (first >> use in this function) >> case NDPI_PROTOCOL_TWITTER: >> ^ >> sessions.c:2590:32: error: incompatible types when assigning to type >> 'u_int16_t' from type 'ndpi_protocol' >> theSession->l7.major_proto = >> ndpi_guess_undetected_protocol(myGlobals.device[actualDevice >> Id].l7.l7handler, >> proto, >> ^ >> make[2]: *** [sessions.lo] Error 1 >> make[2]: Leaving directory `/home/digger/ntop' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/digger/ntop' >> make: *** [all] Error 2 >> >> Any help is appreciated. >> >> _______________________________________________ >> Ntop mailing list >> Ntop@listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop >> > > Don't mix your stables and dev's..my proccess: > > git clone https://github.com/ntop/nDPI.git > cd nDPI > ./configure --prefix=/opt/ndpi > make > sudo make install > > git clone https://github.com/ntop/ntopng.git > cd ntopng > ./configure --prefix=/opt/ntopng > make > sudo make install > > sudo /opt/ntop/bin/ntopng --version > v.2.5.160826 [Community Edition] > GIT rev: dev:7ee8f8e560f88828a4dfdba44d8cd0c468d66bb0:20160826 > > James > _______________________________________________ > Ntop mailing list > Ntop@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop >
_______________________________________________ Ntop mailing list Ntop@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop