Closed ZoranStojsavljevic closed 6 years ago
Hmmmm... 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?
Zoran
YES, Mr. Zoran, I have one additional comment!
Here is perfect recipe for YOCTO of working socketcand: https://github.com/ZoranStojsavljevic/meta-socketcan/blob/master/recipes-can/socketcand/socketcand.bb
Issue resolved and closed.
Zoran Stojsavljevic
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 (both autoconf and ./configure work normally for the normal installation)???
Thank you, Zoran