Hi,

I work for a charity that (almost exclusively) uses the Win32 platform,
hence I find the MinGW compilation routine extremely helpful - thanks :)

This has always needed tweaking even for ntop-2.0, however this needs more
tweaks now, so I felt it worth commenting back to you :)

What needs fixing?
Well, the Makefiles (& docs) still talk about zlib-1.1.3 & libpng-1.0.8 when
you've (sensibly) updated to zlib-1.1.4 & libpng-1.2.1.
Also, the Makefile.mingw is completely missing from these 2 new
folders...simply copying from the old versions & tweaking slightly does the
trick :)
Also, the Win32 environment generally doesn't have an 'rm' so this always
fails...simply removing these from the Makefiles does the trick :)
Also, you have made certain files obsolete, so these need removing from the
main ntop Makefile.mingw

In all:
ntop/Makefile.mingw
delete @rm -f $@ (x2)
remove: event.c logger.c rules.c plugins/rmonPlugin.c (x2)
plugins/wapPlugin.c (x2)
delete GENSRC = version.c
SRC = $(CSRC)
-L../gdchart0.94c/zlib-1.1.4 \
-L../gdchart0.94c/gd-1.8.3/libpng-1.2.1

gdchart0.94c/gd-1.8.3/Makefile.mingw
delete rm -f libgd.a
VERSION=1.8.3
LIBS=-L../zlib-1.1.4 -lm -lgd libpng-1.2.1/libpng.a -lz
INCLUDEDIRS=-I. -I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include
/X11 -Ilibpng-1.2.1/ -I../zlib-1.1.4

gdchart0.94c/Makefile.mingw
delete rm -f libgdchart.a

gdchart0.94c/zlib-1.1.4/Makefile.mingw
VER=1.1.4

gd-1.8.3/libpng-1.2.1/Makefile.mingw
ZLIBLIB=../../zlib-1.1.4
ZLIBINC=../../zlib-1.1.4

Also the version# shown is still rc1:
ntop.exe v.2.0.99rc1 MT [WinNT/2K/XP] (17/05/2002 build)

I have attached my working copies of Makefile.mingw & an updated
BUILD-MinGW.txt

Best Wishes,
Fran.

Attachment: ntop-2.0.99-rc2-Mingwfixes.zip
Description: Zip compressed data

Reply via email to