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.

Anyway, I wanted to share.

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