Sorry about that (leading dots interpreted as eof by MTAs) ? Dear Ladies and Gentlemen,
My FreeBSD target (4.3-STABLE May 2001 ...) fails at configure > ./configure --disable-ssl --prefix=/usr/local/ntop-07-6-2002 . . . Step 9. Semi-Automatic files generation.... updating cache ./config.cache creating ./config.status creating Makefile creating plugins/Makefile creating intop/Makefile creating ntop-config creating config.h creating version.c ./configure: 6294: Syntax error: Bad substitution > # my prompt Could it be caused by > sh -x ./configure --disable-ssl --prefix=/usr/local/ntop-07-6-2002 . . , + echo+ sed i386-unknown-freebsd4.3 -e s/.*/char * host_system_type = "&";/ + echo+ sed i386-unknown-freebsd4.3 -e s/.*/char * target_system_type = "&";/ + echo+ sed gcc -e -g s/.*/char * compiler_cflags = "&";/ -O2 -pipe -DHAVE_CONFIG_H + echo+ sed -I/usr/local/include -e -I/usr/home/stanley/build/ntop-2.0.99-rc1/gdchart0.94c s/.*/char * include_path = "&";/ -I/usr/home/stanley/build/ntop-2.0.99-rc1/gdchart0.94c/zlib-1.1.4 -I/usr/include/openssl configure: 6294: Syntax error: Bad substitution > sed using '/' as the string delimiter but the strings contain '/'s ? On Thu, Jun 06, 2002 at 10:00:26AM -0700, [EMAIL PROTECTED] wrote: > Update of /export/home/ntop/ntop > In directory jabber:/tmp/cvs-serv14689 > > Modified Files: > report.c > Log Message: > Fix percentage calculations on "Network Traffic: Data Received/Sent" reports > to compute total each time (like the IP versions do) instead of trying > to be clever... > > -----Burton (Ref: BMS-0085) > > > > _______________________________________________ > Ntop-dev mailing list > [EMAIL PROTECTED] > http://lists.ntop.org/mailman/listinfo/ntop-dev Unfortunately, I am too simple minded to patch configure.in effectively. Changing '/' to '#' with > diff -u configure.in configure.in.orig --- configure.in Fri Jun 7 16:10:46 2002 +++ configure.in.orig Fri Jun 7 16:09:50 2002 @@ -1177,11 +1177,11 @@ echo ${host} | sed -e 's/.*/char * host_system_type = "&";/' >> version.c echo ${target} | sed -e 's/.*/char * target_system_type = "&";/' >> version.c echo ${CC} ${CFLAGS} ${DEFS} | sed -e 's/.*/char * compiler_cflags = "&";/' >> version.c -echo ${INCS} | sed -e 's#.*#char * include_path = "&";#' >> version.c -echo ${$LDFLAGS} ${LIBS} | sed -e 's#.*#char * system_libs = "&";#' >> version.c -echo ${CORELIBS} | sed -e 's#.*#char * core_libs = "&";#' >> version.c +echo ${INCS} | sed -e 's/.*/char * include_path = "&";/' >> version.c +echo ${$LDFLAGS} ${LIBS} | sed -e 's/.*/char * system_libs = "&";/' >> version.c +echo ${CORELIBS} | sed -e 's/.*/char * core_libs = "&";/' >> version.c echo ${MORELIBS} ${SNMPLIBS} | sed -e 's/.*/char * additional_libs = "&";/' >> version.c -echo ${prefix} | sed -e 's#.*#char * install_path = "&";#' >> version.c +echo ${prefix} | sed -e 's#.*#char * install_path = "&";/#' >> version.c echo " > doesn't work for me. It blows up still at #echo ${$LDFLAGS} ${LIBS} | sed -e 's#.*#char * system_libs = "&";#' >> version.c Thank you, Yours sincerely. -- -- ------------------------------------------------------------------------ Stanley Hopcroft Network Specialist ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop-dev
