Dear Sir,

Unfortunately, this may be too hard for me.

On Fri, Sep 13, 2002 at 12:41:47PM +0300, Smooth wrote:
> 
> Dir Sir,
> First thank for your help..
> I've tried now with gmake also..i have to build all with gmake (gdchart,
> libpng, etc)?? because i've got same error.see below:
> 

As I recall, gcchart and friends are built and installed - the
installation of libpng is a stumbling block - before ntop.

The instructions in doc/BUILD or doc/INSTALL are required reading.

Order is

1 compile and install gdchart, libpng, zlib. Can use plain make for
this.

** This in my experience is the trickiest part **

2 cd ntop

3 ./configure --options you need. Try ./configure --help

and pipe the output to a file so you can see if it finds your thread
library, gdchart etc

4 gmake all

5 gmake install

> gmake  all-recursive
> gmake[1]: Entering directory `/home/smooth/KITURI/ntop_cvs/ntop'
> Making all in .
> gmake[2]: Entering directory `/home/smooth/KITURI/ntop_cvs/ntop'
> source='address.c' object='address.lo' libtool=yes \
> depfile='.deps/address.Plo' tmpdepfile='.deps/address.TPlo' \
> depmode=none /bin/sh ./depcomp \
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
> -I/home/smooth/KITURI/ntop_cvs/gdchart0.94c    -g -O2 -pipe  -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs  -fPIC -c -o address.lo `test -f address.c || echo
> './'`address.c
> gmake[2]: Leaving directory `/home/smooth/KITURI/ntop_cvs/ntop'
> gmake[1]: Leaving directory `/home/smooth/KITURI/ntop_cvs/ntop'
>

It looks like it's having trouble with address.c but what is the error ?
 
> Any ideea?
> Regrads,
> Marius
> 

If it's not working for you, may be a package would be a better
choice. Packages are available for RedHat and Debian (at least).

Otherwise, I suggest mailing the list with

1. your host OS and patch levels (if it's Linux, say whether or not
developer packages are installed)

1.5 the ntop version or source

2. the configure output - the last few lines were it has a summary of
what it's found

Here's what configure did for an old ntop of mine

( ./configure --disable-ssl --prefix=/usr/local/ntop-10-06-2002 )

 .
 .
 .
This is your ntop 2.0.99 configuration:

Host System Type  : i386-unknown-freebsd4.6.2
Compiler (cflags) : gcc -g -O2 -pipe -DHAVE_CONFIG_H
Include path      :  -I/usr/local/include
-I/usr/home/anwsmh/build/ntop-2.0.99-rc1/gdchart0.94c
-I/usr/home/anwsmh/build/ntop-2.0.99-rc1/gdchart0.94c/zlib-1.1.4
System Libs       :  -lc_r 
Core Libs         :  -lpcap -L/usr/local/lib -lgdbm
Additional Libs   :  -lcrypt -lm -lz
-L/usr/home/anwsmh/build/ntop-2.0.99-rc1/gdchart0.94c -lgdchart
-L/usr/home/anwsmh/build/ntop-2.0.99-rc1/gdchart0.94c/gd-1.8.3 -lgd
-L/usr/home/anwsmh/build/ntop-2.0.99-rc1/gdchart0.94c/gd-1.8.3/libpng-1.2.1
-lpng -L/usr/home/anwsmh/build/ntop-2.0.99-rc1/gdchart0.94c/zlib-1.1.4
-lz 
LBL pcap in       : standard installation
GNU gdbm in       : /usr/local
MultiThread mode  : yes
Install path      : /usr/local/ntop-10-06-2002

Now type 'make' or 'gmake' (GNU make) on *BSD and Solaris
systems to build ntop 2.0.99. ..

3. the last dozen lines of gmake before any error.

4. How you built and installed gdchart, zlib, libpng and gd

5. A line or two saying how it fails eg

 - configure fails to find gdchart
 - gmake fails in plugins sirectory

You may have encountered a porting problem that the maintainers would
like to know of.

Good luck.

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...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 mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to