Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/11 v4] package/python-lxml: new package
Date: Sun, 18 Jan 2015 18:51:01 +0100	[thread overview]
Message-ID: <20150118175101.GB16593@free.fr> (raw)
In-Reply-To: <CAGm1_ksf4gvkx5A4PjxDax=ZQvewETuQL=O5=BmZ8h=UrNrKYg@mail.gmail.com>

Yegor, All,

On 2015-01-18 18:27 +0100, Yegor Yefremov spake thusly:
> On Sun, Jan 18, 2015 at 1:11 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> > The lxml XML toolkit is a Pythonic binding for the C libraries libxml2
> > and libxslt.
[--SNIP--]
> > +$(eval $(host-python-package))
> 
> Trying to build lxml as normal package and get following error:
> 
> running build_ext
> building 'lxml.etree' extension
> creating build/temp.linux-x86_64-2.7
> creating build/temp.linux-x86_64-2.7/src
> creating build/temp.linux-x86_64-2.7/src/lxml
> /home/user/Documents/versioned/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes -fPIC
> -I/home/user/Documents/versioned/buildroot/output/build/python-lxml-3.4.1/src/lxml/includes
> -I/home/user/Documents/versioned/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/python2.7
> -c src/lxml/lxml.etree.c -o
> build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
> In file included from src/lxml/lxml.etree.c:239:0:
> /home/user/Documents/versioned/buildroot/output/build/python-lxml-3.4.1/src/lxml/includes/etree_defs.h:14:31:
> fatal error: libxml/xmlversion.h: No such file or directory
>  #include "libxml/xmlversion.h"
>                                ^
> compilation terminated.
> 
> What should I pass to setup.py? Should I pass include path to
> include/libxml2? How does it work for the host-package?

Oh.. Good question. I just checked, and I do have the libxml2 development
files installed on my distro. I'll respin a build here with libxml2-dev
uninstalled, see if it still works, and report back.

Thanks for spotting that.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-01-18 17:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-18 12:11 [Buildroot] [PATCH 0/11 v4] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx-2) Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 01/11 v4] package/python-lxml: new package Yann E. MORIN
2015-01-18 17:27   ` Yegor Yefremov
2015-01-18 17:51     ` Yann E. MORIN [this message]
2015-01-18 18:03     ` Yann E. MORIN
2015-01-18 19:14       ` Yegor Yefremov
2015-01-18 19:26         ` Yann E. MORIN
2015-01-18 19:57           ` Yegor Yefremov
2015-01-18 12:11 ` [Buildroot] [PATCH 02/11 v4] package/khrplatform-registry: " Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 03/11 v4] package/openkode-registry: " Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 04/11 v4] package/opengl-registry: " Yann E. MORIN
2015-01-18 22:24   ` Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 05/11 v4] package/openmax-registry: " Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 06/11 v4] package/nvidia-driver: add NVidia's OpenGL binary blob Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 07/11 v4] package/nvidia-driver: build the kernel module Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 08/11 v4] package/nvidia-tegra23-binaries: new package Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 09/11 v4] package.nvidia-tegra23-binaries: add gstreamer plugins Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 10/11 v4] package/nvidia-tegra23-binaries: provides JPEG Yann E. MORIN
2015-01-18 12:11 ` [Buildroot] [PATCH 11/11 v4] package/nvidia-tegra23-codecs: new package Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150118175101.GB16593@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox