Skip to contentSkip to conversation

autotools project won't install

DISCUSSION Alan DuBoff 2 participants 3 messages Dec 4, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Alan DuBoff

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

Unfortunately, this isn't the right mailing list for this. This issue is with use of classes from the metadata, but this list is for the bitbake tool specifically. I'd suggest contacting the angstrom mailing lists, or for specific issues with specific bits of metadata, the appropriate lists for the layers in question.

Signature · 1 line
Christopher Larson
#2 lore raw
Quoted 7 lines · Chris Larson

Unfortunately, this isn't the right mailing list for this. This issue is with use of classes from the metadata, but this list is for the bitbake tool specifically. I'd suggest contacting the angstrom mailing lists, or for specific issues with specific bits of metadata, the appropriate lists for the layers in question.
--
Christopher Larson

Thanks Chris, sorry about that...didn't realize...:-/

--

Regards,
Alan