Re: [yocto] libxml2 error

2013-12-19 Thread Burton, Ross
Please don't take conversations off the list, so that other can
help/learn.  If your mailer doesn't automatically include
yocto@yoctoproject.org when replying, please add it.

On 19 December 2013 07:16, wuteng wu wuten...@gmail.com wrote:
 After changed all those without-python to with-python, i try to build
 the Yocto again, but i get error:

 | In file included from
 /home/teng/poky/build-atmel/tmp/work/cortexa9hf-vfp-poky-linux-gnueabi/libxml2/2.9.1-r0/libxml2-2.9.1/python/libxml.c:28:0:
 |
 /home/teng/poky/build-atmel/tmp/work/cortexa9hf-vfp-poky-linux-gnueabi/libxml2/2.9.1-r0/libxml2-2.9.1/python/libxml_wrap.h:108:5:
 error: unknown type name 'xmlCatalogPtr'
 |  xmlCatalogPtr obj;
 |  ^
 |
 /home/teng/poky/build-atmel/tmp/work/cortexa9hf-vfp-poky-linux-gnueabi/libxml2/2.9.1-r0/libxml2-2.9.1/python/libxml_wrap.h:254:37:
 error: unknown type name 'xmlCatalogPtr'
 |  PyObject * libxml_xmlCatalogPtrWrap(xmlCatalogPtr obj);

I suggest you approach the libxml2 maintainers about this compile
error.  There's a mailing list and IRC channel listed on their web
site.

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libxml2 error

2013-12-18 Thread Burton, Ross
On 18 December 2013 07:50, wuteng wu wuten...@gmail.com wrote:
 I built the Yocto 1.5 project for my SAMA5D34-EK board, i add the libxml2 by
 IMAGE_INSTALL_append =  libxml2, i got the image and programmed it into
 NAND Flash of the board, but when i type python -c import libxml2 from the
 hyper Terminal , it gave out the message: Traceback (most recent call
 last): File , line 1, in ImportError: No module named libxml2

 I can find libxml2.so.2.9 under the usr/lib dir, i'm wondering where does
 the error comes from, could anyone help me to solve the problem ? Thx.

Our libxml2 is built without Python, you'll need to remove the
--disable-python options from the recipe.

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libxml2 error

2013-12-18 Thread Burton, Ross
Please don't take conversations off the list, so that others can help/learn.

On 18 December 2013 14:22, wuteng wu wuten...@gmail.com wrote:
 I'm newbie to Yocto, could u tell me more details?
 I found some info under the dir:
 /home/teng/poky/meta/recipes-core/libxml/libxml2.inc as below:

 EXTRA_OECONF = --without-python --without-debug --without-legacy
 --without-catalog --without-docbook --with-c14n --without-lzma
 --with-fexceptions
 EXTRA_OECONF_class-native = --with-python=${STAGING_BINDIR}/python
 --without-legacy --with-catalog --without-docbook --with-c14n
 --without-lzma
 EXTRA_OECONF_class-nativesdk = --with-python=${STAGING_BINDIR}/python
 --without-legacy --with-catalog --without-docbook --with-c14n
 --without-lzma
 EXTRA_OECONF_linuxstdbase = --without-python --with-debug --with-legacy
 --with-catalog --with-docbook --with-c14n --without-lzma

 Is the --without-python option that i need to modify?

Yes, apologies I got the option name wrong when writing the mail.

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] libxml2 error

2013-12-17 Thread wuteng wu
Hi,

I built the Yocto 1.5 project for my SAMA5D34-EK board, i add the libxml2
by IMAGE_INSTALL_append =  libxml2, i got the image and programmed it
into NAND Flash of the board, but when i type *python -c import libxml2 *from
the hyper Terminal , it gave out the message: **

*Traceback (most recent call last): File , line 1, in ImportError: No
module named libxml2*
 I can find libxml2.so.2.9 under the usr/lib dir, i'm wondering where does
the error comes from, could anyone help me to solve the problem ? Thx.
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto