Re: [yocto] do_configure for socketcand package failed

2018-07-31 Thread Zoran Stojsavljevic
> That configure script is looking for libconfig.
> You need DEPENDS = "libconfig"

Exactly. 1000% correct. Issue closed.

Thank you, Sir!
Zoran

On Tue, Jul 31, 2018 at 4:56 AM, Aaron Cohen  wrote:
> That configure script is looking for libconfig.
>
> You need DEPENDS = "libconfig"
>
> On Mon, Jul 30, 2018 at 4:20 AM Zoran Stojsavljevic
>  wrote:
>>
>> 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
>>  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
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] do_configure for socketcand package failed

2018-07-30 Thread Aaron Cohen
That configure script is looking for libconfig.

You need DEPENDS = "libconfig"

On Mon, Jul 30, 2018 at 4:20 AM Zoran Stojsavljevic <
zoran.stojsavlje...@gmail.com> wrote:

> 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
>  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
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] do_configure for socketcand package failed

2018-07-30 Thread Zoran Stojsavljevic
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
 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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto