On Thu, 14 Nov 2013 09:25:25 +0100, Pierre Labastie <[email protected]> wrote: > Hi, > > Have you seen the thread on -support starting on nov 4: "Check-0.9.10 > can't find subunit/child.h - LFS 7.4"? > > It turns out that if both libsubunit and pkgconfig are installed on the > host, check's configure believes it can use libsubunit for building.
That's...unfortunate :) > One fix is to add --disable-libsubunit to configure switches. Another > possibility is to disable pkgconfig use, by passing "PKG_CONFIG= " to > configure. While they're nice and quick/easy fixes, they'll only fix this particular occurrence... > Maybe to achieve the purpose of insulation, the second > possibility is better? A very radical solution would be to build > pkg-config in the toolchain, with proper configuration for having it > looking only into /tools. I don't think this is that radical at all, and I even think we had pkg-config in /tools not so long ago. If we use this approach, we'll protect ourselves from any future package upgrades that might bring with them additional checks for packages available on the host, but not within chroot. > But I suggest it be addressed in the book (and in the LFS 7.4 errata), > otherwise there is a risk to see that error often. Yup, I'll raise a ticket and see about attacking it shortly. Kind Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
