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.

> >
> > --
> > 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

Attachment: pgpTY2hzVcdVx.pgp
Description: PGP signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to