[oe-issues] [Bug 3196] New: gpephone-image fails on librecord due to problems in Makefile. am and configure.ac
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Mon Oct 22 18:42:09 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=3196
Summary: gpephone-image fails on librecord due to problems in
Makefile.am and configure.ac
Product: Openembedded
Version: Angstrom
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: joshua at willowisp.net
Follow up on this post to the list:
http://projects.linuxtogo.org/pipermail/gpephone-devel/2007-October/000370.html
oe/build_htctornado/tmp/work/armv5te-angstrom-linux-gnueabi/librecord-0.1-r0/librecord-0.1
change Makefile.am to:
---
SUBDIRS = src include po
EXTRA_DIST = librecord.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = librecord.pc
---
(add po as a subdirectory)
change configure.ac to:
---
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(librecord, 0.1, nan.ye at orange-ft.com)
AC_CONFIG_SRCDIR([src/record.c])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_CONFIG_HEADER([config.h])
# Localization
AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
GETTEXT_PACKAGE=$PACKAGE
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
AC_SUBST(GETTEXT_PACKAGE)
ALL_LINGUAS=""
AM_GLIB_GNU_GETTEXT
AC_PROG_INTLTOOL
# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL
PKG_CHECK_MODULES(RECORD, glib-2.0 sqlite3 uuid)
AC_SUBST(RECORD_CFLAGS)
AC_SUBST(RECORD_LIBS)
AC_CONFIG_FILES([
Makefile
include/Makefile
src/Makefile
librecord.pc
po/Makefile.in
])
AC_OUTPUT
---
(add po/Makefile.in to AC_CONFIG_FILES)
This allows the build to continue through a few more tasks, but 'bitbake
librecord' still fails - log attached
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list