[Buildroot] [PATCH 01/11 v4] package/python-lxml: new package
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Jan 18 19:26:34 UTC 2015
Yegor, All,
On 2015-01-18 20:14 +0100, Yegor Yefremov spake thusly:
> On Sun, Jan 18, 2015 at 7:03 PM, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> > 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 at free.fr> wrote:
> >> > The lxml XML toolkit is a Pythonic binding for the C libraries libxml2
> >> > and libxslt.
> >> Trying to build lxml as normal package and get following error:
> >
> > You mean, as a target package?
> >
> > It can not work as-is, because I only declared the host variant.
> > You'd have to add the target variant if you want the target package.
>
> I've created needed files like Config.in etc.
OK, I guessed you did, but was trying the obvious... ;-)
[--SNIP--]
> >> compilation terminated.
> >
> > Well, I just tried, and it builds fine, even when I remove the libxml2
> > development files from my host:
[--SNIP--]
> >
> > I don't know what would break for the target package. Maybe it includes
> > unsafe paths (-I and/or -L) ?
>
> Have you also installed libxslt-dev on your PC?
No, I do not have libxslt development files installed on the host.
> After I've done this,
> I could cross-compile lxml, but it is not very "legal" approach :-)
Smells like unclean include paths to me. I'll investigate further on the
target-side package
Adding the target variant can come in a later patch, no? And that should
not impact the host variant from being comitted as-is, would it?
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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list