Luca:

It's actually a pretty trivial change - the requires in configure.in and
some =s to +=s and some lines need $(EXEEXT).

Patch attached...  (least wise, that's what I used to do when I had autoconf
2.53 and automake 1.6 installed on my RedHat box)


Then you just have warnings left.  To get rid of them, all the AC_DEFINE()
and AC_DEFINE_UNQUOTED need to be changed from this:
        AC_DEFINE(NEED_INET_ATON)
to this:
        AC_DEFINE(NEED_INET_ATON, 1, [Solaris 2.5.1, Need inet aton])
and the lines removed from config.h.in

But ntop seems to build and run fine with the warnings...

-----Burton








-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Luca Deri
Sent: Thursday, October 03, 2002 5:02 AM
To: ntop-dev Mailing List; david David Schweikert
Subject: [Ntop-dev] ntop + auto(conf|make|...)


Hi all,
I've tackled down the problem that David and other people experienced
while compiling ntop.

The problem is not related to Solaris but to auto*. Ntop has been
designed for autoconf 2.13, libtool 1.4 and so on. Most distributions
(e.g. RedHat) have both versions

deri@athlon 229> ls -l /usr/bin/autoc*
   0 lrwxrwxrwx    1 root     root           13 Jun 20 01:04
/usr/bin/autoconf -> autoconf-2.13*
   8 -rwxr-xr-x    1 root     root         5141 Mar 27  2002
/usr/bin/autoconf-2.13*
   8 -rwxr-xr-x    1 root     root         6196 Mar 27  2002
/usr/bin/autoconf-2.53*

with the default to the old legacy version.

David's machine (a Sun with all the latest GNU tools installed) failed
to compile ntop because of this.

We obviously need to move to the latest GNU auto* (despite their name,
they are not that "auto" as you can see).

Volunteers out there?

Cheers, Luca


--
Luca Deri <[EMAIL PROTECTED]>       http://luca.ntop.org/
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

Attachment: BMS0137-autoconf-autogen.patch
Description: Binary data

Reply via email to