On 12/24/2014 10:49 AM, Nathan Coulson wrote: > On Mon, Dec 22, 2014 at 8:29 AM, Armin K. <[email protected]> wrote: >> On 12/22/2014 11:15 AM, xinglp wrote: >>> 2014-12-22 14:49 GMT+08:00 Armin K. <[email protected]>: >>>> On 12/22/2014 03:59 AM, xinglp wrote: >>>>> systemd's 'configure' output: >>>>> >>>>> checking whether IFLA_BOND_AD_INFO is declared... yes >>>>> checking whether IFLA_VLAN_PROTOCOL is declared... yes >>>>> checking whether IFLA_VXLAN_LOCAL6 is declared... yes >>>>> checking whether IFLA_IPTUN_6RD_RELAY_PREFIXLEN is declared... yes >>>>> checking whether IFLA_BRIDGE_VLAN_INFO is declared... yes >>>>> checking whether IFLA_BRPORT_UNICAST_FLOOD is declared... yes >>>>> checking for DBUS... no >>>>> checking for KMOD... yes >>>>> checking for XKBCOMMON... no >>>>> checking for BLKID... yes >>>>> checking for MOUNT... no >>>>> configure: error: *** libmount support required but libraries not found >>>>> >>>> >>>> Does adding: >>>> >>>> HAVE_LIBMOUNT=1 >>>> MOUNT_LIBS="-lmount" >>>> MOUNT_CFLAGS="-I/tools/include/libmount" >>>> >>>> to config.cache fix the problem? >>> Yes, it fixed. Compiled well, but not startup this build yet. >> >> Thanks for reporting and testing. Fixed in svn. >> >> -- >> Note: My last name is not Krejzi. >> >> >> -- >> http://lists.linuxfromscratch.org/listinfo/lfs-dev >> FAQ: http://www.linuxfromscratch.org/faq/ >> Unsubscribe: See the above information page > > Nice, just ran into this. I was going to play around with this a bit, > but wonder if PKG_CONFIG_PATH for tools would help simplify things, or > cause more issues. (Posting prematurely because I am not sure when I > will get around to testing this. Still have more changes in the > lfs-book mailing list to apply to my custom scripts) >
pkg-config is the first thing I tried. But, when pkg config is used, it seems to hardcode /tools/lib as rpath which I consider unsecure. At least it was like that when I added the workarounds at first. -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
