You have to use gmake not make.

Use this to add the package to your computer:
# pkg_add -v
ftp://ftp.openbsd.org/pub/OpenBSD/2.9/packages/i386/gmake-3.79.1.tgz
Also install gdbm:
pkg_add -v
ftp://ftp.openbsd.org/pub/OpenBSD/2.9/packages/i386/gdbm-1.8.0.tgz

THEN:

2. Build chart libraries
   - cd gdchart0.94c/
   - ./configure
   - cd gd-1.8.3/libpng-1.0.8
   - cp scripts/makefile.gcc Makefile
   - make
   - cd ../../zlib-1.1.3/
   - ./configure
   - make
   - cd ..
   - gmake

3. Build ntop
   - cd ntop
   - ./configure
   - make

4. Run ntop
   - ntop -P [directory where ntop will store temporary files]


Change directory to ntop-XXX  then run ntop with:
# ntop -r 60 -i fxp0,fxp1 -w 3000 -W 4000 -d -l 60 -P /var/log/


Good luck.
Let me know how it goes.
If it works well for you, please post the results and the how-to to the ntop
news group.

Thanks

Chris Weinhaupl

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to