bitbake autoconf libevent 未找到

问题描述 投票:0回答:0

我正在尝试为 trickle 创建一个 bitbake 食谱。如果我安装了 libevent-dev,我可以在目标硬件上成功构建它。然而,尽管在我的 DEPENDS 中包含 libevent(我不能包含 libevent-dev),bitbake 构建失败于:

| checking for libevent... no
| configure: error: libevent not found

我的完整食谱是:

DESCRIPTION = "trickle is a voluntary, cooperative bandwidth shaper. trickle works entirely in userland and is cross platform compatible."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d3a2bbd2a4afe8c5578c24d761f580f8"

DEPENDS += "libevent libtirpc"

SRCREV = "09a1d955c6554eb7e625c99bf96b2d99ec7db3dc"
PV = "1.07+git09a1d95"
SRC_URI = "git://github.com/mariusae/trickle;protocol=https"

S = "${WORKDIR}/git"

inherit autotools

do_install() {
    install -d ${D}${bindir}
    install -m 0755 trickle ${D}${bindir}
    install -m 0755 tricklectl ${D}${bindir}
    install -m 0755 trickled ${D}${bindir}
}

如何让 bitbake 找到 libevent?

(我更具体地使用 Petalinux 2020.1,即 Yocto Zeus)

yocto bitbake libevent petalinux
© www.soinside.com 2019 - 2024. All rights reserved.