<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Building weston fails with configure.ac:15: error: possibly undefined macro: AC_SUBST"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103684">103684</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Building weston fails with configure.ac:15: error: possibly undefined macro: AC_SUBST
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dyle71@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>#!/bin/hi *
I was following instructions on <a href="https://wayland.freedesktop.org/building.html">https://wayland.freedesktop.org/building.html</a>
on a fresh new plain Debian 9 installment.
I also took a peek at <a href="https://wayland.freedesktop.org/ubuntu16.04.html">https://wayland.freedesktop.org/ubuntu16.04.html</a> to get
inspired.
However, right at the first step autoconf fails to me with:
$ ./autogen.sh --prefix=$WLD
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/dyle/install/share/aclocal --force -I m4
${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
configure.ac:15: error: possibly undefined macro: AC_SUBST
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:102: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:110: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:117: error: possibly undefined macro: AC_SEARCH_LIBS
autoreconf: /usr/bin/autoconf failed with exit status: 1
I'm using this environment:
export WLD=$HOME/install
export LD_LIBRARY_PATH=$WLD/lib
export PKG_CONFIG_PATH=$WLD/lib/pkgconfig:$WLD/share/pkgconfig
export PATH=$WLD/bin:$PATH
export ACLOCAL_PATH=$WLD/share/aclocal
export ACLOCAL="aclocal -I $ACLOCAL_PATH"
With a 'mkdir -p $WLD/share/aclocal'
This is my current setup:
$ git branch -v
* master 2420056 wayland-server: document WL_HIDE_DEPRECATED
$ dpkg --list | grep -E 'autotool|libtool|autoconf'
ii autoconf 2.69-10 all
automatic configure script builder
ii autotools-dev 20161112.1 all
Update infrastructure for config.{guess,sub} files
ii libltdl-dev:amd64 2.4.6-2 amd64
System independent dlopen wrapper for GNU libtool
ii libltdl7:amd64 2.4.6-2 amd64
System independent dlopen wrapper for GNU libtool
ii libtool 2.4.6-2 all
Generic library support script
... besides the usual suspects: build-essentials, sed, gawk, ...
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.2 (stretch)
Release: 9.2
Codename: stretch
The Debian is installed fresh anew from the shelf. No WM or DE currently
installed or running.
I refrain to hack configure.ac myself. I think it just needs a nudge somewhere,
it must be just a tiny little thingie - but I don't know where and what to
tweak.
Using "m4_pattern_allow" seems wrong to me, though.
Should I drop the ACLOCAL exports?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>