GNU bug report logs -
#23029
Enable subdir-objects cannot find Po of source with absolute path
Previous Next
To reply to this bug, email your comments to 23029 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#23029
; Package
automake
.
(Wed, 16 Mar 2016 15:36:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hansni Liu <hansni.sc <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Wed, 16 Mar 2016 15:36:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I'm told to enable subdir-objects when upgrading automake. However, if
that's enabled, the Makefile generated does not include the correct path of
the .Plo file if the source is with absolute path.
My autoconf is 2.69, automake is 1.15, libtool is 2.4.6
For example, my configure.ac is
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([test.c])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
LT_INIT([dlopen])
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
And my Makefile.am is:
bin_PROGRAMS = test
test_SOURCES = test.c /home/hansni/tmp/test_automake/lib.c
Now after making a build directory in the top source, running configure,
the Po is at
/home/hansni/tmp/test_automake/build/home/hansni/tmp/test_automake/.deps/lib.Po
However, in Makefile, it tries the path:
include /home/hansni/tmp/test_automake/$(DEPDIR)/lib.Po
It seems that the Po is created inside the build directory, however,
Makefile tries to find it in the original absolute path.
B.R.
Hansni
[Message part 2 (text/html, inline)]
This bug report was last modified 9 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.