2017-08-01 193 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或內核版本。

相關問題