From: "Ross Burton" <ross.burton@intel.com>
To: yocto@lists.yoctoproject.org
Subject: Re: [yocto] http2 support issue in curl #yocto #raspberrypi
Date: Thu, 5 Dec 2019 14:48:56 +0000 [thread overview]
Message-ID: <ead38ea2-9dd8-aa8e-c163-cab7e1404db7@intel.com> (raw)
In-Reply-To: <2561.1575545031107221548@lists.yoctoproject.org>
On 05/12/2019 11:23, Uzair Mazhar wrote:
> As I mentioned That I Cloned warrior branch of poky, meta-raspberrypi
> and meta-openembedded.
> nghttp2 recipe is already in my repository under
> "meta-openembedded/meta-networking/recipes-support/nghttp2"
> but the problem is still persistent.
Did you add meta-networking to bblayers.conf?
> I tried to add nghttp2 as RDENPENDS in curl and it compiled
> successfully but libnghttp2 was not part of my image.
Probably because the dependency ended up on a package you didn't
actually instally. Also RDEPENDS are not in the sysroot, so the curl
build wouldn't have been able to see nghttp2, you meant to add it to
DEPENDS.
> If I add nghttp2 in conf/local.conf inside "IMAGE_INSTALL_append ", the
> libnghttp2 becomes the part of my image under /usr/lib but again curl
> doesn't support http2.
Adding the library to the image won't change the curl library which has
already been built without nghttp2.
Looking at the curl recipe, nghttp2 support is there but disabled out of
the box, so you just need to turn the support on. The recipe has:
PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
The documentation covers the methods available to turn on/off
PACKAGECONFIG options:
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PACKAGECONFIG
Ross
next prev parent reply other threads:[~2019-12-05 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 7:32 http2 support issue in curl #yocto #raspberrypi Uzair Mazhar
2019-12-05 8:53 ` [yocto] " Paul Barker
2019-12-05 10:30 ` Uzair Mazhar
2019-12-05 11:07 ` [yocto] " Ross Burton
2019-12-05 11:23 ` Uzair Mazhar
2019-12-05 14:48 ` Ross Burton [this message]
2019-12-05 18:30 ` Uzair Mazhar
2019-12-06 10:13 ` Uzair Mazhar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ead38ea2-9dd8-aa8e-c163-cab7e1404db7@intel.com \
--to=ross.burton@intel.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox