Got it working on FreeBSD 4.7!!! Libtool 1.3.4 Automake 1.6.3 Autoconf 2.53 Rrdtool 1.0.39 (from ports) GCC 2.95.4
Rest is all default FreeBSD 4.7 install. Compiles, installs and runs perfectly. The browser main frame loading issue was fixed with a reboot, I couldn't figure out what caused it but whatever it was, a reboot fixed it. ---- ntop -u nobody -P /usr/local/var/ntop -c -i rl0 -D domain.com -W 3001 Wait please: ntop is coming up... 20/Jan/2003 17:15:31 Initializing IP services... 20/Jan/2003 17:15:31 Initializing SSL... 20/Jan/2003 17:15:31 SSL initialized successfully 20/Jan/2003 17:15:31 Initializing GDBM... 20/Jan/2003 17:15:31 Initializing network devices... 20/Jan/2003 17:15:31 ntop v.2.1.55 MT (SSL) [i386-unknown-freebsd4.7] (01/20/03 05:05:19 PM build) 20/Jan/2003 17:15:31 Listening on [rl0] 20/Jan/2003 17:15:31 Copyright 1998-2002 by Luca Deri <[EMAIL PROTECTED]> 20/Jan/2003 17:15:31 Get the freshest ntop from http://www.ntop.org/ 20/Jan/2003 17:15:31 Initializing... 20/Jan/2003 17:15:31 Truncated network size (device rl0) to 1024 hosts (real netmask 255.255.255.0) 20/Jan/2003 17:15:31 Loading plugins (if any)... 20/Jan/2003 17:15:31 Searching plugins in /usr/local/lib/ntop/plugins 20/Jan/2003 17:15:31 Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri. 20/Jan/2003 17:15:31 Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni. 20/Jan/2003 17:15:31 Welcome to NetFlow. (C) 2002 by Luca Deri. 20/Jan/2003 17:15:31 Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri. 20/Jan/2003 17:15:31 Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and W.Brock 20/Jan/2003 17:15:31 Welcome to sFlowPlugin. (C) 2002 by Luca Deri. 20/Jan/2003 17:15:31 RRD: Welcome to rrdPlugin. (C) 2002 by Luca Deri. 20/Jan/2003 17:15:31 Resetting traffic statistics... 20/Jan/2003 17:15:31 Started thread (134699008) for network packet analyser. 20/Jan/2003 17:15:31 Started thread (141357056) for idle hosts detection. 20/Jan/2003 17:15:31 Started thread (141358080) for DNS address resolution. 20/Jan/2003 17:15:31 Initializing plugins (if any)... 20/Jan/2003 17:15:31 Starting plugin 'rrdPlugin'... 20/Jan/2003 17:15:31 Welcome to the RRD plugin... 20/Jan/2003 17:15:31 RRD: Started thread (141359104) for data collection. 20/Jan/2003 17:15:31 Starting plugin 'sFlowPlugin'... 20/Jan/2003 17:15:31 Starting plugin 'PDAPlugin'... 20/Jan/2003 17:15:31 Starting plugin 'nfsWatchPlugin'... 20/Jan/2003 17:15:31 Starting plugin 'NetFlow'... 20/Jan/2003 17:15:31 Starting plugin 'LastSeenWatchPlugin'... 20/Jan/2003 17:15:31 Starting plugin 'icmpWatchPlugin'... 20/Jan/2003 17:15:31 Waiting for HTTP connections on port 3000... 20/Jan/2003 17:15:31 Waiting for HTTPS (SSL) connections on port 3001... 20/Jan/2003 17:15:31 Started thread (141360128) for web server. 20/Jan/2003 17:15:31 Sniffying... 20/Jan/2003 17:15:31 Started thread (141414400) for network packet sniffing on rl0. 20/Jan/2003 17:15:32 Extending hash size [newSize=512][deviceId=0] ---- Regards -- Musfa ------Original Message----- -From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]] -Sent: Monday, January 20, 2003 12:47 PM -To: [EMAIL PROTECTED] -Subject: RE: [Ntop] FreeBSD (et al) and the .deps problem - -Very little code is actually free of warnings. It's often not worth the -effort. - -You get more warnings from gcc 3.2 in some areas and more from gcc 2.9x in -others. Debian may be running 3.2... vs. the 2.9x you're used to, hence the -new warnings. - -3.2 has started to warn you if the declaration in one file shadows another -one (which is good information except that some included .h files use common -names, causing LOTS of messages). If you use global variables, these can -expose a problem, but otherwise they're meaningless. - -3.2 also warns you if you add a library via -L that already exists in the -standard library list. That's meaningless unless you're trying to force the -override of standard library code to wrap it (which is stupid, IMHO and -often causes problems - use a source #define like ntop does!). - -etc. - - ------Burton - - - ------Original Message----- -From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of -Mustafa Baig -Sent: Monday, January 20, 2003 11:01 AM -To: [EMAIL PROTECTED] -Subject: RE: [Ntop] FreeBSD (et al) and the .deps problem - - -I had the .deps problem solved on Debian 3.0r1 by upgrading automake, -autoconf and libtool to the latest stable releases. Ntop compiled -successfully and was running happily ever after. - -So, I built a FreeBSD 4.7 box this weekend, installed ntop from ports -first and had it running, but for some reason the web interface won't -come up although ntop was running without any complaints. Instead of -wasting time with older version, I downloaded the latest source and -tried to compile it with default FreeBSD installation settings, it -bombed on .deps. Upgraded the automake, autoconf and libtool to latest -and it compiles okay but there seem to be a lot more compile warnings -popping up as compared to my Debian compile. Most of the warnings were -related to gd, these I haven't seen during the Debian compile. There -were some library linking warnings as well, if I remember correctly they -were about libgd* etc. The end result was the ntop compiled, installed -and ran okay but I'm having problem with web interface right now as the -main frame page is not loading. The top and left frame loads but the -main is empty. Clicking on top frame links load pages in left frame but -clicking on left frame links open a new browser window which is empty, -somehow the help and credits page load. Apparently not a browser problem -as I tried IE6, Mozilla 1.0 and Netscape 6 etc and all had the same -result. - -BTW, upgrade to latest libtool 1.4.3 from fsf.org (ports have some old -version) breaks other software compile. I had problem compiling php4 -from ports, getting error that libtool was out of date, even when the -latest version was installed, I reverted to version from ports and php4 -compiled successfully. - -Above is only an account of quick and dirty installation attempt at ntop -on FreeBSD 4.7. I know its bad, I didn't note down the warnings etc -since I was just trying to get it to compile first. I'm just posting it -as an attempt as I plan to spend more time on it and get it to run -properly, also its my first attempt at FreeBSD as well and I'm still -trolling in it. I'll let the list know if I get it to work, and also -since 5.0 is out I'm not sure if I want to stick with 4.7 anymore. - -This attempt was carried out on a completely default freebsd 4.7 -installation and only automake+autoconf+libtool were upgraded to latest -versions from fsf.org. - -Thanks for the help Burton!! - -Regards --- -Musfa - -------Original Message----- --From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]] --Sent: Monday, January 20, 2003 8:06 AM --To: [EMAIL PROTECTED] --Subject: RE: [Ntop] FreeBSD (et al) and the .deps problem -- --Around the time of your original message there were mail server -problems - --many users submissions got blocked. IIRC Pisa blocked every ISP who -had --ever had any user send spam to them. I know they blocked AT&T and a -bunch --of other big ones. And they blocked based on the originating IP -address, so --any customer of those ISPs, regardless of which mail server they used -was --blocked. After the problems were fixed, I resent the ~80 messages that -were --lost - hence the lag. -- -- --There are a couple of FreeBSD users I know of - Stanley Hopcroft in OZ -is --running 4.7, Rob Trout has a couple of boxes. Tony Nelson has provided -me --shell access in the past. Let's see... Mustafa Baig responded to the -first --message in this chain about .deps. Others who've emailed the list WRT --FreeBSD the last two months include Tim Gardner, Jean Hernandez, Mark -Cole --(runs 3.5.1 -- poor SOB), and Alvaro Pietrobono. -- --I built piglet, a FreeBSD4.7 box this weekend for testing on this -problem. --I'm going to move that to 5.0 next. I run FreeBSD 4.6.3 on Tigger as -one of --the 6 OSes I use for ntop development - and FreeBSD is the only one I --regularly test under. -- -- --I've just committed a trap for the .deps problem and added docs/FAQ -entries --for it. -- --But realistically, it's a FreeBSD port problem - they're still -distributing --the 1.5 version of automake, which was released a long, long, time ago. -- --Index of ftp.gnu.org/gnu/automake (lightly edited): -- -- automake-1.5.tar.gz 515 KB 2001-08-23 02:50:28 PM -- automake-1.6.tar.gz 575 KB 2002-03-06 03:30:48 PM -- automake-1.6.1.tar.gz 582 KB 2002-04-11 09:42:08 AM -- automake-1.6.2.tar.gz 593 KB 2002-06-14 08:07:53 AM -- automake-1.6.3.tar.gz 596 KB 2002-07-28 06:46:43 PM -- automake-1.7.tar.gz 642 KB 2002-09-25 10:19:42 PM -- automake-1.7.1.tar.gz 648 KB 2002-10-19 04:09:02 AM -- automake-1.7.2.tar.gz 662 KB 2002-12-05 10:37:55 PM -- --I realize that there are issues with auto* tool versions - check the -back --traffic for some of my rants about them, especially the -incompatibilities --'tween 1.6 and 1.7 (or 1.4 and 1.5 or 1.5 and 1.6 for that matter). -- --Still, the problem is not ntop's - we clearly indicate our dependency -on --1.6. If people bothered to READ the output from ./configure, the error --message that occurs during the depcomp copy is clearly in there -- even --without the trap I just put. With the trap, well, ./configure will -stop and --they can't ignore it. -- --As to why there aren't a lot of posts? My guesses -- --1) People are happy with the old version of ntop in the FreeBSD ports. --Which, BTW is ntop-2.0.99-rc2.tgz, i.e. a release candidate for ntop -2.1 - --they really should be updated to 2.1.3 for a LOT of reasons. -- --or -- --2) Since the problem was only exposed if you executed automake and that --happened only if you didn't have depcomp, I'm guessing that they just -keep --reusing the same directory. If you download and untar into the same --directory (e.g. ntop-current), then it updates the various files -(giving you --the 1.6.3 generated files) and since you already depcomp, it doesn't -remake --them... so no .deps problem! -- -- -------Burton -- -- -- -------Original Message----- --From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of E. --Farah --Sent: Monday, January 20, 2003 9:35 AM --To: [EMAIL PROTECTED] --Subject: [Ntop] FreeBSD (et al) and the .deps problem -- -- -- --Burton, -- --This is the sort of thing that I was hoping not to get into. No I am -not --owed an answer, and I know this is a free list. I was just hoping to -intiate --an interesting discussion around Ntop that would benefit other users, -not --just myself. -- --Thanks for your reply regarding TCPUDMP, I did not see it since it was -sent --2 weeks after I post it. -- --I know a lot of FreeBSD users run Ntop. I am surprised there's not too -many --post around it. -- --I am only receiving the daily digests now that's why I don't have the --original message, but I will change that. -- --_______________________________________________ --Ntop mailing list [EMAIL PROTECTED] --http://listgateway.unipi.it/mailman/listinfo/ntop -_______________________________________________ -Ntop mailing list [EMAIL PROTECTED] -http://listgateway.unipi.it/mailman/listinfo/ntop - -_______________________________________________ -Ntop mailing list [EMAIL PROTECTED] -http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
