2017-08-01 54 views
0

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

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。

我尝试以下步骤,

  1. 复制容易食谱Yocto-2.3 \狭小,焦17.0.0 \元\菜谱devtools /公寓到我的工作空间。
  2. 启动bitbake。
  3. 但我得到如下一些do_configure错误,
> 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

获得一些“do_configure”错误不是太有用。请将完整的错误消息添加到您的问题。 – GhostCat

+0

新版本不仅包含新文件,还需要对其进行重命名,并按照您在机器上编译的方式逐步执行。确保SRC_URI,PV设置正确,然后您需要逐步阅读错误。这两个版本之间的编译方式可能有所不同。我们在这里做的不多,我建议您阅读一些包的当前配方,阅读较旧的配方,看看它是如何工作的 –

+0

您仍然使用1.3的原因是什么?是因为内核还是u-boot?升级包将确保您有更多的错误修复和增强的安全性。 –

回答

0

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

相关问题