[yocto] 答复: libnetconf recipe configure error

Richard Zhang richard.zhang at pica8.com
Tue Aug 2 17:10:43 PDT 2016


On 2 August 2016 at 08:56, Richard Zhang <richard.zhang at pica8.com<mailto:richard.zhang at pica8.com>> wrote:
checking for xml2-config... yes
ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
checking for xmlDOMWrapReconcileNamespaces in -lxml2... no
checking for xslt-config... yes
ERROR: /usr/bin/xslt-config should not be used, use an alternative such as pkg-config
ERROR: /usr/bin/xslt-config should not be used, use an alternative such as pkg-config

This is the problem.  xml2-config and xslt-config are broken in cross-compile situations, so you need to patch libnetconf's configure.ac<http://configure.ac> to use pkgconfig instead of those scripts.

Ross


Thanks.
Best Regard.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160803/04a65c54/attachment.html>


More information about the yocto mailing list