Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 18:04:02 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: Why don't we search /usr/local/lib and /usr/local/include by  default?
Message-ID:  <3CF42902.70A697C8@mindspring.com>
References:  <20020528143444.R16567@wantadilla.lemis.com> <20020528084248.B59588@dragon.nuxi.com> <20020529093009.C31668@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg 'groggy' Lehey wrote:
> > The system GCC searching any part of /usr/local is a bug.  It is not
> > [ports] PREFIX clean.
> 
> So how would you recommend we solve the issue?

I hesitate to mention this.

But there are two obvious ways:

1)	Add the expectation paths for things to the default, and
	if someone puts the libraries or headers in a non-default
	place, it's their responsibility.  This would also require
	changing the ldconfig cache to be "hints", rather than
	"the only path".

2)	Make the compiler use the ldconfig cache path prefixes;
	then everything would "just work".

#2 is harder.  I also don't think it's what you really want.  The
Linux people who are complaining are probably also complaining
about including one include file not including all include files,
and the lack of a /usr/include/linux/.

PS: I put number 2 last on purpose because I really don't like it.

-- Terry

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF42902.70A697C8>