[Poppler-bugs] [Bug 87297] New: autoconf build error concerning undefined macros in configure.ac on ubuntu14.10

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 13 17:40:51 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87297

            Bug ID: 87297
           Summary: autoconf build error concerning undefined macros in
                    configure.ac on ubuntu14.10
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: calebtillman at gmail.com

Ubuntu 14.04

$ autoconf

configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:15: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:37: error: possibly undefined macro: AC_DEFINE
configure.ac:72: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:102: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:111: error: possibly undefined macro: AC_DEFINE_DIR
configure.ac:118: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:133: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:699: error: possibly undefined macro: AM_ICONV

------------------------

The fix is found at: https://bbs.archlinux.org/viewtopic.php?pid=1258673

$ sudo pacman -S pkg-config xorg-server-devel libtool automake
$ libtoolize --force

Consider adding AC_CONFIG_MACRO_DIR([m4]) to configure.ac
and re-run libtoolize --force.

$ vim configure.ac
$ libtoolize --force
$ aclocal
$ autoheader
$ automake --force-missing --add-missing
$ autoconf

I don't know how to include this in the build script.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141214/79524c1c/attachment.html>


More information about the Poppler-bugs mailing list