On 9/3/20 10:53 PM, Xi Ruoyao via lfs-dev wrote:
Now we are using --prefix=/usr in "Ch. 6 Cross Compiling Temporary Tools". The problem is that configure scripts (generated by autoconf) will try to load ${prefix}/share/config.site and ${prefix}/etc/config.site. These things are really "powerful" - they can even override some command line options."/usr/etc" should not exist on any FHS-compilant distro, but "/usr/share/config.site" exists on many distros. My suggestion is to add `export CONFIG_SITE=/dev/null` in /home/lfs/.bashrc. It would override the default config.site search rule.
I don't know that we have ${prefix}/etc/config.site. I do not. I do have /usr/etc/xdg/autostart/xfce4-notifyd.desktop that was installed yesterday when I updated xfce4-notifyd.
We probably need to specify --sysconfdir=/etc for that. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
