The 3.0pre2 ports .tgz I posted changes the chown to drop the last qualifier
(so it's $(DESTDIR)/$(datadir)/ntop not $(DESTDIR)/$(datadir)/ntop/rrd).

Other than that and the new .tgz source file, I didn't change anything.  But
using those files, I don't have to create anything  - it just works fine on
both 4.9 and 5.2...

Please try the new port and let me know.

-----Burton

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike
> Hunter
> Sent: Tuesday, February 24, 2004 7:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Ntop] $PREFIX/var and $PREFIX/var/ntop (FreeBSD)
>
>
> On Feb 19, "Burton M. Strauss III" wrote:
>
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Mike
> > > Hunter
> > > Sent: Thursday, February 19, 2004 4:59 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [Solved] [Ntop] More Ntop problems on FreeBSD (cannot
> > > compile CVS, fbsd 4.8)
> >
> > <snip/>
> >
> > > 1.  I found it necessary to create $PREFIX/var and $PREFIX/var/ntop by
> > > hand (in addition to chowning them as documented).
> >
> > <snip/>
> >
> > Now that is truly odd.  While Makefile defines the 1st one:
> >
> > localstatedir = ${prefix}/var
> >
> >
> > there are no other references, anywhere.  In my Linux world,
> they're never
> > even created.
> >
> > The chown message is this:
> >
> > $(DESTDIR)/$(datadir)/ntop
> >
> > AFAIK, DESTDIR is only valued when creating an rpm, so that
> shouldn't be an
> > issue.
> >
> > datadir is one of the standard items, but it's set:
> >
> > datadir = ${prefix}/share
> >
> >
> > I guess I'm puzzled where /var/ntop enters the picture.
> >
> >
> > Skulk around in your generated Makefile for the datadir=
> line... let's see
> > what it's being set to.  Also what version of the various tools are you
> > using (if any), e.g. autoconf, automake and make itself...
>
> I should mention that I was using the --prefix=/some/strange/path in
> configure.
>
> datadir = ${prefix}/share
>
> I also see
>
> localstatedir = ${prefix}/var
>
> Which seems to be the thing that's not being created.
>
> gmake -v
>
> gmake -v
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> I used gmake as opposed to make...I can't get regular old make to tell me
> a version number...I think it's just part of fbsd 4.8, which I rebuilt
> quite recently.
>
> Also, what is the URL of the wiki you mentioned?
>
> Mike
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>

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

Reply via email to