Got it! Solaris 8's diff doesn't support the diff -q parameter. So the diff wasn't being executed and somehow the rc was zero, so it wasn't re-creating the files, even though the versions ARE different.
If ntop recreates a consistent set of auto* tool derived files, it's fine. But, at least on my Solaris box, the combo of 1.7 and files created under 1.6 trips up on the incompatibilities across versions... Patch is preped, I need to reboot into Solaris, test it and apply. -----Burton ----- Original Message ----- From: "Burton M. Strauss III" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 10:35 AM Subject: RE: [Ntop] Problem compiling ntop on Solaris 8 on Sparc > Fix is in the cvs - we should always use gawk if it's available, then nawk > and then well, sorry charlie... > > -----Burton > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Steven Rudolph > Sent: Thursday, March 27, 2003 3:13 PM > To: [EMAIL PROTECTED] > Subject: RE: [Ntop] Problem compiling ntop on Solaris 8 on Sparc > > > Here are my results: > $ awk --version | head -n1 > It just hangs. > > $ gawk --version | head -n1 > GNU Awk 3.1.1 > > $ nawk --version | head -n1 > nawk: unknown option --version ignored > > It seems I do have gawk (the newer, smarter one). > > Thanks so much for your assistance! > > > -----Original Message----- > From: Burton M. Strauss III [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 3:36 PM > To: [EMAIL PROTECTED] > Subject: RE: [Ntop] Problem compiling ntop on Solaris 8 on Sparc > > > You need gawk, not the (old, retarded) awk that comes with Solaris. > > I *thought* there was a trap in there to look for gawk (nawk also is > modern enough), but I don't see it... > > Do this: > > $ awk --version | head -n1 > GNU Awk 3.1.1 > $ gawk --version | head -n1 > GNU Awk 3.1.1 > $ nawk --version | head -n1 > -bash: nawk: command not found > > And let me know what the lines are... I think the trap is these lines in > configure.in, after AC_PROG_AWK: > > dnl> early since we need it for --enable-showoses and autotool version > check. > AC_PROG_AWK > > ${ac_cv_prog_AWK} --version | head -n1 | grep 'GNU' > rc=$? > if test ".${rc}" != ".0"; then > echo "Bad awk ... no biscut" > exit 1 > fi > > And then I should user the ac value not 'awk' itself... > > > -----Burton > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Steven Rudolph > Sent: Thursday, March 27, 2003 2:16 PM > To: [EMAIL PROTECTED] > Subject: RE: [Ntop] Problem compiling ntop on Solaris 8 on Sparc > > > I have a similar issue on a CVS copy from today 03/27/03. > It is on Solaris 8 on a Sparc 5. > This is my compile software list: > gcc (GCC) 3.2 > make-3.80 > libtool-1.4.3 > autoconf-2.54 > automake-1.7 > openssl- 0.9.6g > rrdtool-1.0.40 > > I have installed rrd tool successfully and I added symlinks in the > /usr/local/lib for librrd.a and /usr/local/include for rrd.h for the > copy of rrd installed in /usr/local/rrdtool-1.0.40. > > ##Build gd stuff > > cd ntop-current/gdchart0.94c/ > ./buildAll.sh > > ##Build NTOP > cd ../ntop > aclocal > autoheader > automake --gnu --copy --add-missing > autoconf > ./configure > gmake > > > Error: > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include > -I/usr/local/include -I/usr/src/ntop-cvs/gdchart0.94c -DSOLARIS -g -O2 > -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -fPIC -DSOLARIS -g -O2 -Wshadow -Wpointer-arith > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -MT > webInterface.lo -MD -MP -MF .deps/webInterface.Tpo -c webInterface.c > -fPIC -DPIC -o .libs/webInterface.lo > cc1: warning: changing search order for system directory > "/usr/local/include" > cc1: warning: as it has already been specified as a non-system > directory > webInterface.c:4444: warning: no previous prototype for `initWeb' mv -f > .libs/webInterface.lo webInterface.o (cd . && ln -s webInterface.o > webInterface.lo) Processing globals-structtypes.h to make xml_*.inc... > awk: syntax error near line 106 > awk: bailing out near line 106 > awk: newline in string near line 335 > gmake[2]: *** [xml_*.inc] Error 2 > gmake[2]: Leaving directory `/usr/share/src/ntop-cvs/ntop' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/share/src/ntop-cvs/ntop' > gmake: *** [all] Error 2 > > Any ideas? > I am getting many errors like this too: cc1: warning: changing search > order for system directory "/usr/local/include" And these: warning: no > previous prototype > > > -----Original Message----- > From: Grant Chesy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 7:03 PM > To: [EMAIL PROTECTED] > Subject: [Ntop] Problem compiling ntop on Solaris 8 on Sparc > > > I apologize, as I am sure this has probably been addressed before, but I > did not find a solution to my problems in the FAQ, nor a Google search > (looking for archived mailing list posts on the subject). I am positive > that others are using ntop on Solaris 8 /Sparc (and not the 1.3 version > on sunfreeware.com), so I hope someone can help me. > > 1. Attempting to build ntop 2.1.3, configure hangs at checking usability > of if.h. > > > 2. Attempting to build ntop 2.1.90 or the 24 Mar '03 cvs snapshot, gets > through the configure stage, (if.h [and some others] are "unusable", but > configure completes) make, however, gives the error: > Makefile:547: *** missing separator. Stop. > > > I saw something about some versions of autoconf/automake not working > with ntop sources, so I tried the latest versions (2.57/1.73), and some > older versions (2.52/1.63) and received the same make error. I also > tried different versions of gnu make (3.79 which worked on my linux box, > and 3.80). > > I tried disabling SSL and rdd support, but the make error was the same. > > I had no problem with building on my Linux/x86 box, so the problem seems > to be Solaris/Sparc related. > > gdbm-1.8.3 > libpcap-0.7.2 > openssl-0.9.7a > rrdtool-1.0.41 (using perl-5.8.0 compiled with the same compiler) > gcc-3.2.2 > > > Regards, > > Grant > _______________________________________________ > 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 _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
