[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autoconf 2.67 fails to build under MinGW

From: Bob Friesenhahn
Subject: Autoconf 2.67 fails to build under MinGW
Date: Sun, 19 Sep 2010 13:22:44 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

I thought that it would be useful to have working autotools under MinGW (MSYS shell environment) but autoconf 2.67 fails to build. This is with /usr/local/bin/m4 being GNU m4 1.4.15.

Here is everything that happens after configure due to 'make' for a fresh build:

make  all-recursive
make[1]: Entering directory `/home/bfriesen/mingw/autoconf-2.67'
Making all in bin
make[2]: Entering directory `/home/bfriesen/mingw/autoconf-2.67/bin'
rm -f autom4te autom4te.tmp
srcdir=''; \
  test -f ./autom4te.in || srcdir=./; \
  sed -e 's|@address@hidden|/bin/sh|g' -e 's|@address@hidden|/c/Perl/bin/perl|g' 
-e 's|@address@hidden|yes|g' -e 's|@address@hidden|/usr/local/bin|g' -e 
's|@address@hidden|/usr/local/share/autoconf|g' -e 
's|@address@hidden|/usr/local|g' -e 's|@address@hidden|'`echo autoconf | sed 
's,x,x,'`'|g' -e 's|@address@hidden|'`echo autoheader | sed 's,x,x,'`'|g' -e 
's|@address@hidden|'`echo autom4te | sed 's,x,x,'`'|g' -e 
's|@address@hidden|/usr/local/bin/m4|g' -e 's|@address@hidden|--debugfile|g' -e 
's|@address@hidden|--gnu|g' -e 's|@address@hidden|gawk|g' -e 
's|@address@hidden|'`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' 
-e 's|@address@hidden|2.67|g' -e 's|@address@hidden|GNU Autoconf|g' -e 
's|@address@hidden|Generated from autom4te.in; do not edit by hand.|g' 
${srcdir}autom4te.in >autom4te.tmp
chmod +x autom4te.tmp
chmod a-w autom4te.tmp
mv autom4te.tmp autom4te
cd ../lib && make  autom4te.cfg
make[3]: Entering directory `/home/bfriesen/mingw/autoconf-2.67/lib'
rm -f autom4te.cfg autom4te.tmp
sed -e 's|@address@hidden|/bin/sh|g' -e 's|@address@hidden|/c/Perl/bin/perl|g' -e 
's|@address@hidden|/usr/local/bin|g' -e 
's|@address@hidden|/usr/local/share/autoconf|g' -e 
's|@address@hidden|/usr/local|g' -e 's|@address@hidden|'`echo autoconf | sed 
's,x,x,'`'|g' -e 's|@address@hidden|'`echo autoheader | sed 's,x,x,'`'|g' -e 
's|@address@hidden|'`echo autom4te | sed 's,x,x,'`'|g' -e 
's|@address@hidden|/usr/local/bin/m4|g' -e 's|@address@hidden|gawk|g' -e 
's|@address@hidden|2.67|g' -e 's|@address@hidden|GNU Autoconf|g' ./autom4te.in 
chmod a-w autom4te.tmp
mv autom4te.tmp autom4te.cfg
make[3]: Leaving directory `/home/bfriesen/mingw/autoconf-2.67/lib'
cd ../lib/m4sugar && make  version.m4
make[3]: Entering directory `/home/bfriesen/mingw/autoconf-2.67/lib/m4sugar'
:;{ \
  echo '# This file is part of -*- Autoconf -*-.' && \
  echo '# Version of Autoconf.' && \
  echo '# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2007, 2009' && \
  echo '# Free Software Foundation, Inc.' && \
  echo  &&\
  echo 'm4_define([m4_PACKAGE_NAME],      [GNU Autoconf])' && \
  echo 'm4_define([m4_PACKAGE_TARNAME],   [autoconf])' && \
  echo 'm4_define([m4_PACKAGE_VERSION],   [2.67])' && \
  echo 'm4_define([m4_PACKAGE_STRING],    [GNU Autoconf 2.67])' && \
  echo 'm4_define([m4_PACKAGE_BUGREPORT], address@hidden)' && \
  echo 'm4_define([m4_PACKAGE_URL],       [http://www.gnu.org/software/autoconf/])' 
&& \
  echo 'm4_define([m4_PACKAGE_YEAR],      ['`sed 
's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../../ChangeLog`'])'; \
} > version.m4-t
mv version.m4-t version.m4
make[3]: Leaving directory `/home/bfriesen/mingw/autoconf-2.67/lib/m4sugar'
autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg'         
../bin/autom4te -B '..'/lib -B '..'/lib         --language M4sh --cache '' 
--melt ./autoconf.as -o autoconf.in
The system cannot find the path specified.
autom4te: need GNU m4 1.4 or later: /usr/local/bin/m4
make[2]: *** [autoconf.in] Error 1
make[2]: Leaving directory `/home/bfriesen/mingw/autoconf-2.67/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bfriesen/mingw/autoconf-2.67'
make: *** [all] Error 2

Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]