[meta-freescale] Mesa configure problem - python-lxml

Michał Ściubidło michal.sciubidlo at gmail.com
Thu Jul 25 17:11:10 PDT 2013


Hi

I don't know if it belongs here but I will try. How to install python 
libxml2 wrapper on wandboard?

I'm trying to build etna_viv mesa but can't configure it using 
meta-toolchain.

Mesa configure error:

checking for python2... python2
checking python2 module: libxml2... no
configure: error: failed to find required module libxml2

Here is my fsl-image-test.bb:

include recipes-core/images/core-image-base.bb
IMAGE_FEATURES += "debug-tweaks"
SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# Add extra image features
EXTRA_IMAGE_FEATURES += " \
     ${SOC_EXTRA_IMAGE_FEATURES} \
     nfs-server \
     tools-debug \
     tools-profile \
     tools-sdk \
     dev-pkgs \
     doc-pkgs \
     package-management \
     ssh-server-openssh \
     tools-testapps \
     x11 "
IMAGE_INSTALL += " \
     packagegroup-fsl-gstreamer \
     packagegroup-fsl-tools-testapps \
     packagegroup-fsl-tools-benchmark \
     cmake \
     git \
     mc \
     valgrind \
     sudo \
     wget \
     nfs-utils \
     emacs \
     eglibc \
     bash \
     libdrm \
     xserver-xorg \
     mesa \
     python-lxml \
     libxml2 \
     libxml-simple-perl \
     mesa \
     libxslt \
     python-compression"
export IMAGE_BASENAME = "fsl-image-test"


When on board "import libmxl2" in python shell can't find library.
After adding python-native and python-lxml-native to IMAGE_INSTALL i 
can't build rootfs. Configuration and log:

Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-13.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "wandboard-dual"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130725"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto       = "(nobranch):31e6eee860b5f9f4ac9ef0889bcff5648de6e3f9"
meta-oe          = "(nobranch):41748a4afc494b714315ba529f138214f80d41b9"
meta-fsl-arm     = "(nobranch):ab2540e10a8b1b4ea422807c3443cce54d1eff5c"
meta-fsl-arm-extra="(nobranch):4fa3141baa8d6bac68c67dab1100e9a7b13e3f2e"
meta-fsl-demos   = "(nobranch):2c63f9ff40e940ce120f005075429ffc06bbface"


Log data follows:
| DEBUG: Executing shell function do_rootfs
...
| Saving cache...
|
| Error: python-native not found in the base feeds (wandboard_dual 
armv7a-vfp-neon armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e 
armv5-vfp armv5 armv4 arm noarch any all).
| ERROR: Function failed: do_rootfs (log file is located at 
/home/mike/wandboard/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/fsl-image-test/1.0-r0/temp/log.do_rootfs.20132)
ERROR: Task 7 
(/home/mike/wandboard/fsl-community-bsp/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-test.bb, 
do_rootfs) failed with exit code '1'

I'm little in the dark...

Regards
Michal



More information about the meta-freescale mailing list