[bitbake-devel] autotools project won't install

Alan DuBoff aland at SoftOrchestra.com
Tue Dec 4 01:40:06 UTC 2012


I created a recipe for an autotools project I'm working on.

Seems that it is able to fetch the sources, configure, and compile, but it 
fails to install.

The package normally installs to /usr/local/bin

In order to create the recipe I tried several things, but all seem to fail 
during the do_install.

Seems I should be able to just have the SRC_URI in the recipe along with 
"inherit autotools" and all the functionality of autotools will be taken 
care of. However, that isn't the case.

Would this mean my autotools files are somehow incorrect?

This program compiles fine for both native and arm7 (using a BeagleBone 
for development).

For native x86:

configure
make
make install

for arm:

configure --host=arm-angstrom-linux-gnueabi
make
make install

However, my recipe breaks. My recipe is below. Most everything is 
commented out, which should work with an autotools program.

Any hints on why this doesn't work?

--

Regards,
Alan

DESCRIPTION = "Fiber Locator Server for Vivax-Metrotech"
LICENSE = "GPLv3+"
SECTION = "console/network"
LIC_FILES_CHKSUM = 
"file:///home/aland/src/vxmt/FLS/COPYING;md5=d32239bcb673463ab874e80d47fae504"
PR = "r2"
SRC_URI = "file:///home/aland/src/vxmt/FLS/"
# DEPENDS = ""

S = "${WORKDIR}"

#       do_configure () {
#         ./configure 
--prefix=/home/aland/src/angstrom/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone 
--host=arm-angstrom-linux-gnueabi
#       }
#
#       do_compile () {
#       # 
DESTDIR=/home/aland/src/angstrom/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/FLS/
#         make -C 
/home/aland/src/angstrom/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/FLS/
#       #  oe_runmake
#       }
#
#       do_install () {
# 
#DESTDIR=/home/aland/src/angstrom/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/FLS/ 
oe_runmake install
#       # make install
#           install -d ${D}/usr/local/bin
#           install -m 0755 OrcaTX.out ${D}/usr/local/bin
#       # install -m 0644  ${WORKDIR}
#       # oe_runmake 'DESTDIR=${D}' install
#       # oe_runmake install DESTDIR=${D}
#       }

FILES_${PN} = "/usr/local/bin/OrcaTX.out"

inherit autotools





More information about the bitbake-devel mailing list