Pierre Labastie wrote: > Hi, > > If in chapter 5, some package's configure uses pkg-config to find > libraries and include files, it finds pkg-config on the host (when > installed), and so it finds libraries and include files on the host, > thus bypassing our careful insulation of the tool chain from the host. > > Right now, among the packages we build in chapter 5, only check-0.9.10 > uses pkg-config this way, and it has been reported that this breaks the > build if both pkg-config and subunit are installed on the host. > > It looks like some other packages outside of chapter 5 have the same > logic (using a PKG-CONFIG variable). For example, if you try to build > util-linux in the temporary tools, you'll run into the same issues. > > In both case passing PKG_CONFIG= to configure resolved the issue. I do > not know if a better workaround could be to set some PKG_CONFIG_xxx > variables in the environment.
I think this is reasonable for Chapter 5, but I don't think we should try to address things like util-linux that are not in that chapter. I'll go ahead and update C5/check. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
