[yocto] do_configure for socketcand package failed

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Sun Jul 29 23:40:12 PDT 2018


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