Date: Thu, 18 Aug 2005 13:00:48 -0600 From: Phil Oleson <oz@nixil.net> To: Kevin Oberman <oberman@es.net> Cc: Stefan Farfeleder <stefan@fafoe.narf.at>, current@freebsd.org Subject: Re: Unable to build libedit Message-ID: <4304DAE0.1040702@nixil.net> In-Reply-To: <20050818165050.58B835D07@ptavv.es.net> References: <20050818165050.58B835D07@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Oberman wrote: >>Date: Thu, 18 Aug 2005 15:34:39 +0200 >>From: Stefan Farfeleder <stefan@fafoe.narf.at> >> >>On Wed, Aug 17, 2005 at 01:39:54PM -0700, Kevin Oberman wrote: >> >>>>Date: Wed, 17 Aug 2005 14:08:03 -0600 >>>>From: Phil Oleson <oz@nixil.net> >>>> >>>>Do you have rev 1.10 of histedit.h? Update this file in src/include as well. >>>> >>> >>>Thanks! >>> >>>This is clearly the file I was looking for, but I have: >>>/usr/include/histedit.h >>>/usr/obj/usr/src/tmp/usr/include/histedit.h >>>/usr/src/bin/sh/myhistedit.h >>>/usr/src/include/histedit.h >>> >>>All except /usr/include/histedit.h are 1.10. The make buildworld SHOULD >>>be using the one in /usr/src/include, as far as I know. Looks to me like >>>it's failing to find it and using the one in /usr/include instead. Or is >>>my limited understanding of the build process in error? >>> >>>And I can't explain where the one in /usr/obj/usr/src/tmp/usr/include >>>comes from. >> >>Strange. Did you test if it works without ccache? As I understand it >>the headers from src/include are temporarily installed to >>/usr/obj/[...]/tmp and then used by GCC to build the world. > > > Yes, I tried both with and without ccache. No difference. > > histedit.h has been at 1.9 for over two years and the Makefiles and .mk > files have had a LOT of tweaking since then. This system is a new > install that started with -current on about August 1. It should be > pretty clean. > > Of course, I could just copy 1.10 into /usr/include/sys, but I really > want to figure out why this is happening. I see myself spending too much > time in a maze of twisty .mk files, all different. :-) Personally, I'm still unsure why we have histedit.h pre-installed in src/include. This might be showing my ignorance of some of the build mechanisms in the main src tree, but wouldn't this work out better if histedit.h was located in src/lib/libedit until install time? Phil.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4304DAE0.1040702>