Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 1998 21:10:19 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        rkw@Dataplex.NET (Richard Wackerbarth)
Cc:        dholland@cs.toronto.edu, asami@FreeBSD.ORG, kpielorz@tdx.co.uk, eivind@yes.no, current@FreeBSD.ORG
Subject:   Re: Never ending 'make clean' in kde port?
Message-ID:  <199810182110.OAA11047@usr07.primenet.com>
In-Reply-To: <l03130301b24dc08ee159@[208.2.87.5]> from "Richard Wackerbarth" at Oct 16, 98 10:36:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > > >Why? Probably because some of the operations on the dependency graph
> > > >are slower than O(n).
> > >
> > > I think that his comparison was based, in part, on the idea that you
> > > have to do many things repeatedly simply because you do not have the
> > > proper dependencies available.
> >
> >This is sometimes true, but in my experience it really doesn't happen
> >very often.
> >
> >*shrug*
> 
> I disagree. Just look at the convoluted structure of "make world"
> or, the "make clean" in ports. Or just try (cd /usr/src; make ; make)
> 
> I see it far too often.     :-(

Which is throwing out the baby with the bathwater.

The correct thing to do is to explicitly specify dependencies.

For things like second order effects, it's important to build using
the headers in the source tree, and not the installed headers, and
to realize that this means that you are building for a system built
from the tree, and not for the currently installed system, whatever
that may unguessably be.

The lack of explicit dependencies in the source tree is the true
source of the observed chaos.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810182110.OAA11047>