Correction, I had a typo in the ./configure command line.  Instead of:
./configure --host=i686-pc-linux-gnu -target-arm-angstrom-linux-gnueabi

It should read:
./configure --host=i686-pc-linux-gnu --target=arm-angstrom-linux-gnueabi

Thanks,
Bryan

-----Original Message-----
From: angstrom-distro-devel-boun...@linuxtogo.org 
[mailto:angstrom-distro-devel-boun...@linuxtogo.org] On Behalf Of Bryan Evenson
Sent: Monday, April 02, 2012 9:16 AM
To: angstrom-distro-devel@linuxtogo.org
Subject: [Angstrom-devel] Problems using autotools for new recipe

I feel I am very close to getting my new Bitbake recipe working with Angstrom, 
but I am running into issues with autotools working with Bitbake.  I know I 
must have something misconfigured, but I don't know what it could be.  For 
reference, here is the output of my log.do_configure:

+ do_configure
+ autotools_do_configure
+ case ih3-main-app in
+ find 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1 
-name configure.in -o -name configure.ac
+ read fn
++ dirname 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/ih3-main-app-0.0.1/configure.ac
+ rm -f 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/ih3-main-app-0.0.1/configure
+ read fn
+ '[' -e 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/configure.in
 -o -e 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/configure.ac
 ']'
+ '[' -e 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/configure
 ']'
+ oenote 'nothing to configure'
+ echo NOTE: 'nothing to configure'
NOTE: nothing to configure

My Bitbake recipe is pretty minimal:

DESCRIPTION = "App Name"
AUTHOR = "Author"
PR = "r1"
SRC_URI = "file:///path/to/tarball/${PN}-${PV}.tar.gz"
DEPENDS = "virtual/kernel"

S = "${WORKDIR}"

inherit autotools

do_install () {
  install -d ${D}${bindir}/
  install -m 0755 ${S}/${TARGET} ${D}${bindir}/
}

FILES_${PN} = "${bindir}/${TARGET}"

It looks like autotools is expecting to find 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/configure.ac,
 but I don't have one at that level; all of my working files are one level 
deeper at 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/ih3-main-app-0.0.1/.
  I can't figure out how to tell autotools where configure.ac really lives.  
Any ideas?

For reference, I was able to build my application by hand by executing the 
following set of commands from the command line:

cd 
/media/sda3/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/ih3-main-app-0.0.1-r1/ih3-main-app-0.0.1
touch NEWS README AUTHORS ChangeLog
autoscan
autoheader
aclocal
automake -add-missing -copy
autoreconf
./configure --host=i686-pc-linux-gnu -target-arm-angstrom-linux-gnueabi
make

So I can utilize Autotools to build my application, it just isn't working from 
the recipe.  What am I doing wrong?

Thanks,
Bryan
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to