如何在Yocto -older版本中使用最新的软件包版本?

时间:2017-08-01 07:18:31

标签: embedded-linux yocto bitbake

我正在使用以下Yocto版本,

DISTRO = "poky"
DISTRO_NAME = "Poky 8.0.1 (Yocto Project 1.3.1 Reference Distro)"
DISTRO_VERSION = "1.3.1"
SDK_VENDOR = "-pokysdk"

我想升级以下软件包。

  1. 目前正在使用apt_0.7.14和nee升级到最新版本(比如apt_1.2.12)。
  2. 目前使用包eglibc-2.16和nee升级到最新版本。我认为最新的Yocto版本使用glibc而不是eglibc。
  3. 我尝试了以下步骤,

    1. 将适当的食谱Yocto-2.3 \ poky-pyro-17.0.0 \ meta \ recipes-devtools / apt复制到我的工作空间。
    2. 启动了bitbake。
    3. 但是我收到了一些do_configure错误,
    4. > checking for strings.h... (cached) yes checking for inttypes.h...
      > (cached) yes checking for stdint.h... (cached) yes checking for
      > unistd.h... (cached) yes checking db.h usability... yes checking db.h
      > presence... yes checking for db.h... yes checking if we can link
      > against BerkeleyDB... yes checking for curl_easy_init in -lcurl... no
      > configure: error: failed: I need CURL due https support Configure
      > failed. The contents of all config.log files follows to aid debugging
      > /home/ebike/work/STREAMS/Int_275/main/Yocto_Git/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/apt-1.2.12-r0/apt-1.2.12/config.log
      > This file contains any messages produced by compilers while running
      > configure, to aid debugging if configure makes a mistake.
      > 
      > It was created by configure, which was generated by GNU Autoconf 2.69.
      > Invocation command line was
      > 
      >   $
      > /home/ebike/work/STREAMS/Int_275/main/Yocto_Git/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/apt-1.2.12-r0/apt-1.2.12/configure
      > --build=i686-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/ebike/work/STREAMS/Int_275/main/Yocto_Git/build/tmp/sysroots/imx6qsabrelite
      > --enable-nls ac_cv_lib_lzma_lzma_easy_encoder=yes ac_cv_lib_bz2_BZ2_bzopen=no
      > ac_cv_lib_lz4_LZ4F_createCompressionContext=no
      

      如果有人能帮助解决这个问题,我将不胜感激。

1 个答案:

答案 0 :(得分:0)

问题是版本在系统中会产生连锁反应。你在这里看到的错误可能相当于“需要一个比你可用的更新版卷曲”。您可以尝试升级curl,但是这种事情有升级的倾向。您可能会发现软件而不是需要更新的gcc或内核版本。