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 ? > >> > >> > -- >> > 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 >> -- >> http://lists.linuxfromscratch.org/listinfo/lfs-dev >> FAQ: http://www.linuxfromscratch.org/faq/ >> Unsubscribe: See the above information page > > -- > http://lists.linuxfromscratch.org/listinfo/lfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
