Hello everybody,I'm following the LFS book, v. 9.1, on a Ubuntu 18.04 pc.All went well, until I reached chapter 6.26, Pkg-config-0.29.2.In the configure phase, I get this error message: (lfs chroot) root:/sources/pkg-config-0.29.2# ./configure --prefix=/usr --with-internal-glib --disable-host-tool --docdir=/usr/share/doc/pkg-config-0.29.2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/sources/pkg-config-0.29.2': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details
Enclosed is the obtained "Config.log" file. What should I check/fix in order to address this issue? Thanks & best regards, Francesco LANDE
config.log
Description: Binary data
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
