[oe] enna: do_configure failed: automake: unknown warning category `cross'

Paul Menzel paulepanter at users.sourceforge.net
Sat Mar 27 22:54:59 UTC 2010


Dear OE folks,


I am trying to write the recipe for Enna [1].

        $ more enna.inc
        HOMEPAGE = "http://${PN}.geexbox.org/"
        SECTION = "x11/multimedia"
        LICENSE = "LGPLv2.1+"
        DEPENDS = "curl dbus eet evas edje ecore edbus elementary emotion"
        DEPENDS += "libmusicbrainz lightmediascanner libxml2 taglib libvalhalla libplayer"
        
        INC_PR = "r1"
        
        SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}"
        
        inherit autotools pkgconfig

Now I am getting the following error message during `configure`.

        […]
        automake: unknown warning category `cross'
        configure.ac:27: installing `./compile'
        configure.ac:7: installing `./config.guess'
        configure.ac:35: required file `./config.rpath' not found
        configure.ac:7: installing `./config.sub'
        configure.ac:11: installing `./install-sh'
        configure.ac:11: installing `./missing'
        src/bin/Makefile.am: installing `./depcomp'
        autoreconf: automake failed with exit status: 1
        FATAL: autoreconf execution failed.

I am using automake 1.10.3 and it looks like I need 1.11.1.

I found this commit [2], but this workaround

        # Needs automake 1.11.x, which isn't safe to use yet in OE
        do_configure() {
               oe_runconf
        }

did not work for me. The error was then that `./configure` was not
found. So `autogen.sh` needs to be run and I just found the following
hint.

        do_configure_prepend() {
               sh autogen.sh
        }

But this fails with the error that C programs cannot be executed.

Any hint is appreciated.


Thanks,

Paul


PS: You need libvalhalla 2.0.0 for which I send a patch a moment ago (PV
= 1.0.0+hg).


[1] http://enna.geexbox.org/
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=a353f4ee7229c686bfc61417cab979ffa1735d55
-------------- next part --------------
DESCRIPTION = "Enna is a media center application based on EFL."
HOMEPAGE = "http://${PN}.geexbox.org/"
SECTION = "x11/multimedia"
LICENSE = "LGPLv2.1+"
DEPENDS = "curl dbus eet evas edje ecore edbus elementary emotion"
DEPENDS += "libmusicbrainz lightmediascanner libxml2 taglib libvalhalla libplayer automake-native-1.11.1"

INC_PR = "r1"

SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}"

inherit autotools pkgconfig

#do_configure_prepend() {
#	sh autogen.sh
#}

# Needs automake 1.11.x, which isn't safe to use yet in OE
#do_configure() {
#	oe_runconf
#}
-------------- next part --------------
require enna.inc
PV = "0.4.0"
PR = "${INC_PR}.0"
PR_append = "+hgr${NOTQUITESRCREV}"

NOTQUITESRCREV = "ebf6faef0136"

S = "${WORKDIR}/${PN}"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100327/52794e56/attachment-0002.sig>


More information about the Openembedded-devel mailing list