[yocto] Segmentation Fault autotools to compile nagios-plugins

Cleiton Bueno cleitonrbueno at gmail.com
Wed Feb 4 12:39:13 PST 2015


When trying to compile is giving errors with other had no problems.

Some log:

ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.
Rerun configure task after fixing this. The path was
'/home/bueno/yocto/my_projAlt/tmp/work/i586-poky-linux/nagios-plugins/2.0.3-r0/build'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /home/bueno/yocto/my_projAlt
/tmp/work/i586-poky-linux/nagios-plugins/2.0.3-r0/temp/log.do_configure.5134

....
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
            --with-apt-get-command: /home/bueno/yocto/my_projAlt
/tmp/sysroots/x86_64-linux/usr/bin/apt-get
              --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
               --with-ping-command: /bin/ping -n -U -w %d -c %d %s
                       --with-ipv6: yes
                      --with-mysql: /home/bueno/yocto/my_projAlt
/tmp/sysroots/qemux86/usr/bin/crossscripts/mysql_config
                    --with-openssl: yes
                     --with-gnutls: no
               --enable-extra-opts: yes
                       --with-perl: /usr/bin/perl
             --enable-perl-modules: yes
                     --with-cgiurl: /nagios/cgi-bin
               --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
                   --enable-libtap: no
DEBUG: Shell function do_configure finished
DEBUG: Executing python function do_qa_configure
NOTE: Checking autotools environment for common misconfiguration
ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/bueno/yocto/
my_projAlt/tmp/work/i586-poky-linux/nagios-plugins/2.0.3-r0/build'
DEBUG: Python function do_qa_configure finished
ERROR: Function failed: do_qa_configure





My recipe, copy the other ok:


SUMMARY = "Nagios Plugins Basic"
DESCRIPTION = "Plugins base para consultas SNMP e configuracao para
comunicacao com aplicacao Nagios"
HOMEPAGE = "http://www.nagios-plugins.org"

SECTION = "console/tools"

DEPENDS = "autoconf-native automake-native libtool-native gettext-native"

PR = "r0"
inherit autotools gettext


LICENSE = "GPLv2+ | GPLv3"
LIC_FILES_CHKSUM =
"file://COPYING;beginline=1;endline=6;md5=8c8999290a607d01cccc37beed8cb0b4"

S = "${WORKDIR}/${PN}-${PV}"



SRC_URI = "http://nagios-plugins.org/download/${PN}-${PV}.tar.gz"
SRC_URI[md5sum] = "6755765bab88b506181268ef7982595e"
SRC_URI[sha256sum] =
"8f0021442dce0138f0285ca22960b870662e28ae8973d49d439463588aada04a"



FILES_${PN} += "/usr/local/nagios "


EXTRA_OECONF = " \
    --prefix=/usr/local/nagios \
    --without-radius \
    --without-ldap \
    --without-world-permissions \

"






-- 

*Att,Cleiton Bueno*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150204/ad29a03e/attachment.html>


More information about the yocto mailing list