Burton,
I've added the patches.

Thanks, Luca

Burton M. Strauss III wrote:
> Luca:
> 
> Problems w/ MinGW - per our agreement I'm referring them to you.
> 
> There are also some proposed patches in the mailing list the last few days -
> be careful, one user said they didn't work, the last set from Fran Boon had
> the old/new reversed on the diff (besides other issues).  I think the last
> one from Juan Ramon Duarte [[EMAIL PROTECTED]] was the right fix...
 >
> Anyway, these changes affect only the ability to compile.  For the missing
> files, I've attached my working copies.
> 
> 1. gdchart0.94c/gd-1.8.3/libpng-1.2.1/scripts/makefile.mingw is missing...
> 
> 2. gdchart0.94c/gd-1.8.3/Makefile.mingw needs an update for new versions...
> 
> =====================================BEGINPATCH============
> --- gdchart0.94c/gd-1.8.3/Makefile.mingw        2001/11/09 09:28:36     1.1
> +++ gdchart0.94c/gd-1.8.3/Makefile.mingw        2002/06/10 16:21:34
> @@ -24,5 +24,5 @@
>  #on the right order, either.
> 
> -LIBS=-L../zlib-1.1.3 -lm -lgd libpng-1.0.8/libpng.a -lz
> +LIBS=-L../zlib-1.1.4 -lm -lgd libpng-1.2.1/libpng.a -lz
> 
>  #If you do have FreeType, JPEG and/or Xpm fully installed, uncomment a
> =======================================ENDPATCH============
> 
> 3. gdchart0.94c/zlib-1.1.4/Makefile.mingw is missing...
> 
> 4. gdchart0.94c/Makefile.mingw  needs update for versions...
> 
> =====================================BEGINPATCH============
> --- gdchart0.94c/Makefile.mingw 2001/11/09 10:45:17     1.1
> +++ gdchart0.94c/Makefile.mingw 2002/06/10 16:25:58
> @@ -26,5 +26,5 @@
>  $(GD_LIB)/libgd.a:
>         cd $(GD_LIB) ; $(MAKE) -f Makefile libgd.a
> -       /bin/rm -f $(GD_LIB)/libpng-1.0.8/*.so*
> +       /bin/rm -f $(GD_LIB)/libpng-1.2.1/*.so*
> =======================================ENDPATCH============
> 
>  libgdchart.a: gdc.o gdc_pie.o gdchart.o price_conv.o
> [bstrauss@tigger cvs]$
> 
> 5. rm - I can't find a version of fileutils ported for MinGW.  I've attached
> a sufficient albeit not great "rm.bat" for ntop use...
> 
> 6. Update of Index: ntop/docs/BUILD-MinGW.txt for above items:
> 
> =====================================BEGINPATCH============
> --- ntop/docs/BUILD-MinGW.txt   2002/01/02 08:17:05     2.0
> +++ ntop/docs/BUILD-MinGW.txt   2002/06/10 16:26:57
> @@ -20,4 +20,23 @@
>    4) ntop  (available from http://www.ntop.org)
> 
> +  5) rm - no precompiled package for fileutils seems to be available.
> +     create the following as rm.bat in MinGW\bin directory:
> +
> +@echo off
> +if /%1 == /-f shift
> +if /%1 == / goto :usage
> +:loop
> +if /%1 == / goto :done
> +if exist %1 del %1
> +shift
> +goto :loop
> +goto :done
> +:usage
> +echo "Usage:  rm [-f] file [, file ...]"
> +:done
> +
> +    (It's not good, but it's good enough! -----Burton)
> +
> +
>  Steps
> 
> @@ -38,5 +57,5 @@
>       3a) Build zlib
> 
> -         cd gdchart0.94c/zlib1.1.3
> +         cd gdchart0.94c/zlib1.1.4
>           make -f Makefile.mingw
>           cd ../..
> @@ -44,5 +63,5 @@
>       3b) Build libpng
> 
> -         cd gdchart0.94c/gd-1.8.3/libpng-1.0.8
> +         cd gdchart0.94c/gd-1.8.3/libpng-1.2.1
>           make -f scripts/makefile.mingw
>           cd ../../../
> @@ -87,2 +106,3 @@
>  --
>  November 2001 - Scott Renfro <[EMAIL PROTECTED]>
> +June 2002 - Burton Strauss <[EMAIL PROTECTED]>
> =======================================ENDPATCH============
> 
> 
> -----Burton



-- 
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B            56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: [EMAIL PROTECTED]       Business: [EMAIL PROTECTED]
WWW: http://luca.ntop.org/    ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop-dev

Reply via email to