Well, I fixed it but I don't understand why it worked.  I ended up
doing this:

- untar the source
- in the ntop, ntop/pluguns and ntop/intop directories I saved
  a copy of Makefile.in
- Ran configure
- Ran make and let it abort.
- in ntop, I copied the saved Makefile.in back over Makefile.in.
- ran make again.  This time it compiled everthing until it hit the
  plugins directory.
- in ntop/plugins I copied the saved Makefile.in back over Makefile.in.
- ran make again.  This time it compiled everthing until it hit the
  intop directory
- in ntop/intop I copied the saved Makefile.in back over Makefile.in.
- ran make again.  This time it compiled everthing.
- did a make install and it now works.

Charlie

What happens with configure is it takes Makefile.am et al and creates the
other files from it.  So it seems like there is a problem with the generated
file.  Can you diff the original Makefile.in and the one generated after you
run configure?

Also, try forcing the full reconfiguration with autogen.  What I do is this:

./autogen.sh -1
./configure --prefix=/usr --with-gdchart-root=/usr --no-recursion
make

It may be that I have to do this because of options I'm adding to
Makefile.am...

====

As to the text in the script, I parsed it as

Now type 'make'
or
'gmake' (GNU make) on *BSD and Solaris

I'm pretty sure 3.79 is the latest (I'm running 3.79.1 on Linux)

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Charles Dennett
Sent: Friday, February 01, 2002 6:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] Make error for ntop 2.0 on Solaris 8


Hmmm.  I thought they said ro run make or GNU make.  The make I used was the
GNU make, not the one that comes with Solaris.

Here is the message I got at the end of configure:

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

Maybe it's a version problem? make --version gives me:

GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8

Oh well, as you can see from my later note, I found a way around this
by saving the original Makefile.in.

Charlie


"Burton M. Strauss III" wrote:
>
> The instructions printed at the end of configure tell you to run gmake
under
> Solaris...
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Charles Dennett
> Sent: Friday, February 01, 2002 12:23 PM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Make error for ntop 2.0 on Solaris 8
>
> I've had previous versions of ntop running.  I just grabbed
> verion 2.0 and tried to get it installed on my Solaris 8
> machine.  I first went into the gdchart directroy and followed the
> following instructions:
>
> Build chart libraries
>    - cd gdchart0.94c/
>    - ./configure
>    - cd gd-1.8.3/libpng-1.0.8
>    - cp scripts/makefile.[make your choice] Makefile
>    - make
>    - cd ../../zlib-1.1.3/
>    - ./configure
>    - make
>    - cd ..
>    - make
>
> I then went to the ntop directory.  I ran the configure command.
> It found the stuff in the gdchart directory and libpcap in my
> /usr/local/lib area.  The only thing it didn't find was the
> optional Open SSL stuff.  I then typed make and got this:
>
> toolbox# make
> cd . && aclocal
> cd . && automake --gnu Makefile
> Makefile.am:63: DIST_COMMON was set with `=' and is now set with `+='
> Makefile.am:152: deprecated feature: `ntopd' overrides `ntopd$(EXEEXT)'
> Makefile.am:152: change your target to read `ntopd$(EXEEXT)'
> automake: configure.in: required file `./depcomp' not found
> make: *** [Makefile.in] Error 1
> toolbox#
>
> As you can see it never really started.  Any suggestions on what
> may be wrong and how to fix it?
>
> Thanks.
> --
> Charlie Dennett
> Eastman Kodak Company, Rochester, NY
> Sitemaster http://www.kodak.com
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listmanager.unipi.it/mailman/listinfo/ntop
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listmanager.unipi.it/mailman/listinfo/ntop

--
Charles Dennett
Eastman Kodak Company, Rochester, NY
Sitemaster - http://www.kodak.com
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

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

Reply via email to