我正在尝试使用 Midori 0.5.2 浏览器(网络信息亭图像)编译 Yocto Pocky linux,我得到下一个错误(在解决了很多以前的错误之后):
...
| 检查 x11:1.6.3
| 检查标头 X11/extensions/scrnsaver.h :是
| 检查库 Xss:是
| 检查 gtk+-2.0 >= 2.16.0 : 2.24.28
| 检查 webkit-1.0 >= 1.1.17:在 pkg-config 搜索路径中找不到包 webkit-1.0。
| 也许你应该添加包含 `webkit-1.0.pc' 的目录
| 到 PKG_CONFIG_PATH 环境变量
| 找不到包“webkit-1.0”
| /home/jdavid/workspace/Yocto_k4/fsl-release-bsp/kiosk-build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/midori/0.5.2-r0/midori-0.5.2/wscript :190: 错误:配置失败(参见'/home/jdavid/workspace/Yocto_k4/fsl-release-bsp/kiosk-build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/midori/0.5. 2-r0/midori-0.5.2/_build/config.log')
| 警告:从 shell 命令退出代码 2。
| 错误:函数失败:do_configure(日志文件位于 /home/jdavid/workspace/Yocto_k4/fsl-release-bsp/kiosk-build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/midori/0.5 .2-r0/temp/log.do_configure.20685)
错误:任务 1768 (/home/jdavid/workspace/Yocto_k4/fsl-release-bsp/sources/meta-web-kiosk/recipes-browser/midori/midori_0.5.2.bb, do_configure) 失败,退出代码为 '1'。 ..
PKG_CONFIG_PATH 变量设置正确,包括包含“webkit-1.0.pc”文件的目录。
我已安装所有必需的库和依赖项,这些库和依赖项已作为解决方案找到但不适用于我:
$ sudo apt-get install libunique-dev libnotify libgtk2.0-dev libwebkit-dev libxml2-dev libsoup2.4-dev libsqlite3-dev valac libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-common-dev libwebkit-dev libwebkit1.1-cil libwebkit-cil-dev libzeitgeist-1.0-1 libzeitgeist-dev
$ pkg-config —modversion webkit-1.0
我还执行了我在一篇文章中看到的命令:
$ cd $HOME/workspace/Yocto_k4/fsl-release-bsp/kiosk-build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/midori/0.5.2-r0/midori-0.5.2/
$ ./waf configure $ ./waf build $ sudo ./waf install
并且工作正常,但编译图像继续失败。
bitbake 命令是下一个:
$ bitbake core-image-web-kiosk
额外信息:
- 操作系统:Ubuntu 14.04。
- 设备:用于智能设备的 imx6dlsabre
bblayers.conf:
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}" BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= ""
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-yocto \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
\
${BSPDIR}/sources/meta-fsl-arm \
${BSPDIR}/sources/meta-fsl-arm-extra \
${BSPDIR}/sources/meta-fsl-demos \ "
##Freescale Yocto Project Release layer
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "
BBLAYERS += " ${BSPDIR}/sources/meta-browser "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-ruby "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-xfce "
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "
BBLAYERS += " ${BSPDIR}/sources/meta-webkit "
BBLAYERS += " ${BSPDIR}/sources/meta-web-kiosk "
本地配置文件:
MACHINE ??= 'imx6dlsabresd'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
DISTRO_FEATURES_append = " opengl x11"
IMAGE_INSTALL_append = " kernel-modules webkitgtk-bin"
PREFERRED_VERSION_webkitgtk = "2.8.5"
BB_NUMBER_THREADS = '2'
PARALLEL_MAKE = '-j 2'
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
谁能帮我解决这个错误?谢谢。