#20087: Host Python's pyexpat module fails building, causes errors in compiling
other packages
-------------------------+------------------------
Reporter: mystica555 | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
-------------------------+------------------------
Comment (by НКВД):
Hi.
Have you tried adding {{{--with-system-expat=$(STAGING_DIR_HOST)}}} to
{{{HOST_CONFIGURE_ARGS}}} ?
From:
{{{
HOST_CONFIGURE_ARGS+= \
--without-cxx-main \
--without-pymalloc \
--with-threads \
--prefix=$(STAGING_DIR_HOST) \
--with-ensurepip=upgrade \
CONFIG_SITE= \
CFLAGS="$(HOST_CFLAGS)"
}}}
To:
{{{
HOST_CONFIGURE_ARGS+= \
--without-cxx-main \
--without-pymalloc \
--with-threads \
--with-system-expat=$(STAGING_DIR_HOST) \
--prefix=$(STAGING_DIR_HOST) \
--with-ensurepip=upgrade \
CONFIG_SITE= \
CFLAGS="$(HOST_CFLAGS)"
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/20087#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets