[yocto] do_configure for socketcand package failed

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Mon Jul 30 01:20:30 PDT 2018


Seems, that this does work?!
_______

SUMMARY = "Socketcand ..."
SECTION = "socketcan"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"

RDEPENDS_${PN}-dev += "${PN}-staticdev"

SRCREV = "df7fb4ff8a4439d7737fe2df3540e1ab7465721a"
SRC_URI = "git://github.com/dschanoeh/socketcand.git;protocol=http"

S = "${WORKDIR}/git"

EXTRA_OECONF = "
--without-config
"

inherit autotools update-alternatives
inherit autotools-brokensep
_______

Any additional comments?

Thank you,
Zoran

On Mon, Jul 30, 2018 at 8:40 AM, Zoran Stojsavljevic
<zoran.stojsavljevic at gmail.com> wrote:
> Hello,
>
> I am writing the recipe for the socketcand package. It looks so far very simple:
>
> PR = "r0"
>
> RDEPENDS_${PN}-dev += "${PN}-staticdev"
>
> SRCREV = "df7fb4ff8a4439d7737fe2df3540e1ab7465721a"
>
> SRC_URI = "git://github.com/dschanoeh/socketcand.git;protocol=http"
>
> S = "${WORKDIR}/git"
>
> inherit autotools
> _______
>
> I did install the following:
> sudo apt-get install autoconf
> sudo apt-get install libconfig-dev
>
> The error is in do_config():
>
> | checking for config_init in -lconfig... no
> | configure: error: in
> `/home/netmodule.intranet/stojsavljevic/projects/beaglebone-black/yocto-rocko/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/socketcand/1.0-r0/build':
> | configure: error: config test failed (--without-config to disable)
>
> What should I include in the recipe to make it work (the both autoconf
>  and ./configure work normally for the normal installation)???
>
> Thank you,
> Zoran


More information about the yocto mailing list