[yocto] libnetconf recipe configure error

Richard Zhang richard.zhang at pica8.com
Tue Aug 2 00:56:53 PDT 2016


Hi all


I write a libnetconf recipe BB file to handle this package.

Like this:

DESCRIPTION = "libnetconf is a NETCONF library."
HOMEPAGE = "https://github.com/CESNET/libnetconf"

SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=22c218798908f95216326c4df42637b5"

DEPENDS += "libssh libxml2 libxslt openssl "

SRC_URI = "git://github.com/CESNET/libnetconf.git;procotol=https"
SRCREV="d4585969d71b7d7dec181955a6753b171b4a8424"

S = "${WORKDIR}/git"

inherit autotools

####################END##################################

The problem is libxslt. The libnetconf depends on it. Although I have put libxslt into DEPENDS, the 'configure' of libnetconf can't finish.
I find all libxslt content was built, locate at sysroot like '/usr/lib/...'  and '/use/include/libxslt/...'

Is there something wrong of my BB file or libxslt NOT build correctly?

Btw. The libxml2 is very fine.


Tail of the configure log file:


checking whether to build static libraries... no
checking for ELF visibility... yes
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
checking for xsltApplyStylesheet in -lxslt... no
configure: error: Missing libxslt library
NOTE: The following config.log files may provide further information.
WARNING: exit code 1 from a shell command.
NOTE: /mnt/c1/git/poky/build-toaster-5/tmp/work/i586-poky-linux/libnetconf/0.10-r0/build/config.log
ERROR: configure failed
ERROR: Function failed: do_configure (log file is located at /mnt/c1/git/poky/build-toaster-5/tmp/work/i586-poky-linux/libnetconf/0.10-r0/temp/log.do_configure.27216)


Full file is attached.



Thanks.

Richard Zhang


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160802/2d6be41d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_configure.27216
Type: application/octet-stream
Size: 11079 bytes
Desc: log.do_configure.27216
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160802/2d6be41d/attachment.obj>


More information about the yocto mailing list