error: possibly undefined macro: AC_CHECK_FILE in doc/xorg-docs
Dennis Clarke
dclarke at blastwave.org
Mon Aug 26 04:27:31 UTC 2019
While it has been a while since I tried to compile all of Xorg from
sources it seemed like a worth while experiment.
On a debian stable x86_64 system with the usual pile of development pkgs
installed I tried :
styx$
styx$ rm -rf /opt/bw/build/xorg/
styx$ rm -rf /opt/bw/xorg/*
styx$ mkdir -p /opt/bw/build/xorg/util
styx$ cd /opt/bw/build
styx$ git clone git://anongit.freedesktop.org/git/xorg/util/modular
xorg/util/modular
Cloning into 'xorg/util/modular'...
remote: Counting objects: 2716, done.
remote: Compressing objects: 100% (1052/1052), done.
remote: Total 2716 (delta 1776), reused 2528 (delta 1658)
Receiving objects: 100% (2716/2716), 590.72 KiB | 994.00 KiB/s, done.
Resolving deltas: 100% (1776/1776), done.
styx$ cd xorg/
styx$ export
PKG_CONFIG_PATH=/opt/bw/xorg/lib/pkgconfig:/opt/bw/xorg/share/pkgconfig:/opt/bw/lib:/usr/lib/x86_64-linux-gnu/pkgconfig
styx$ export LD_LIBRARY_PATH=/opt/bw/xorg/lib:/opt/bw/lib
styx$ export
PATH=/opt/bw/xorg/bin:/opt/bw/bin:/opt/bw/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
styx$ cd /opt/bw/build/xorg
styx$ ./util/modular/build.sh --clone --autoresume built.modules
/opt/bw/xorg
======================================================================
== Processing: "doc/xorg-docs"
== configuration options:
Cloning into 'doc/xorg-docs'...
remote: Counting objects: 3820, done.
remote: Compressing objects: 100% (1399/1399), done.
remote: Total 3820 (delta 2349), reused 3716 (delta 2279)
Receiving objects: 100% (3820/3820), 14.99 MiB | 4.73 MiB/s, done.
Resolving deltas: 100% (2349/2349), done.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/bw/xorg/share/aclocal -I
/opt/bw/xorg/share/aclocal
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
/opt/bw/xorg/share/aclocal/xorg-macros.m4:1844: XORG_INSTALL is expanded
from...
/opt/bw/xorg/share/aclocal/xorg-macros.m4:1824: XORG_DEFAULT_OPTIONS is
expanded from...
configure.ac:38: the top level
autoreconf: configure.ac: tracing
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
aclocal.m4:2979: XORG_INSTALL is expanded from...
aclocal.m4:2959: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
aclocal.m4:2979: XORG_INSTALL is expanded from...
aclocal.m4:2959: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
configure:11098: error: possibly undefined macro: m4_ifval
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:11102: error: possibly undefined macro: AC_CHECK_FILE
autoreconf: /usr/bin/autoconf failed with exit status: 1
build.sh: "./autogen.sh" failed on doc/xorg-docs
build.sh: error processing: "doc/xorg-docs"
styx$
Am I missing something obvious ?
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
More information about the xorg
mailing list