On 12/22/2014 04:28 PM, John Burrell wrote: > > >> From: [email protected] >> Date: Mon, 22 Dec 2014 21:10:16 +0800 >> To: [email protected] >> Subject: Re: [lfs-dev] Systemd-218 and Util-linux-2.25.2 depend on each >> other. >> >> 2014-12-22 20:33 GMT+08:00 Bryan Kadzban <[email protected]>: >>> On Mon, Dec 22, 2014 at 06:15:38PM +0800, 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. >>> >>> Since it's using pkg-config, you should be able to provide these flags >>> manually to configure, rather than editing the cache; something like: >>> >>> ./configure <whatever> MOUNT_LIBS=-lmount \ >>> MOUNT_CFLAGS=-I/tools/include/libmount >>> >>> if I remember right. >> >> http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/systemd.html >> cat > config.cache << "EOF" >> KILL=/bin/kill >> HAVE_BLKID=1 >> BLKID_LIBS="-lblkid" >> BLKID_CFLAGS="-I/tools/include/blkid" >> cc_cv_CFLAGS__flto=no >> EOF >> >> There's some other flags in cache, can they all be moved to configure ? >>
No. It would make configure line too long. It should work just fine though either way. > > Why not install util-linux immediately before systemd, since it provides > libmount? > Circular dependency between libudev and some util-linux program. That's why util-linux was moved to chapter 5. > jb. > > > > -- 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
