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. Of 
course, because our toolchain is well insulated from the host, this 
assumption is false, and make fails.
The reason why configure finds libsubunit on the host is because it uses 
pkg-config, instead of our toolchain, to find include and library files.

One fix is to add --disable-libsubunit to configure switches. Another 
possibility is to disable pkgconfig use, by passing "PKG_CONFIG= " to 
configure. 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.

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.

Regards
Pierre

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to