autoconf
[Top][All Lists]
Advanced

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

Re: bad autom4te call by autoconf ?


From: Andreas.P.Priesnitz
Subject: Re: bad autom4te call by autoconf ?
Date: Mon, 27 Aug 2001 15:52:56 +0200 (MET DST)

Hello!

On 27 Aug 2001, Akim Demaille wrote:
>| >Could I ask you to first perform an in-place build?  Then we'll se.
>| >
>| >Just a plain ./configure && make check.
>| 
>| Well, I had to install, too, as autoconf will look for Autom4te/General.pm in
>| /usr/local/share/autoconf in vain, otherwise. Therefore, I tried:
>
>Hm, no it should not.

Ok, so this is the output of the plain in-place build, without installation:

u49> configure && make check
checking for a BSD compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for expr... /usr/bin/expr
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/local/bin/m4
checking whether m4 supports frozen files... yes
checking for mawk... no
checking for gawk... gawk
checking for perl... /usr/local/bin/perl
checking for a BSD compatible install... config/install-sh -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating config/Makefile
config.status: creating lib/Makefile
config.status: creating lib/Autom4te/Makefile
config.status: creating lib/autoscan/Makefile
config.status: creating lib/m4sugar/Makefile
config.status: creating lib/autoconf/Makefile
config.status: creating lib/autotest/Makefile
config.status: creating bin/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atconfig

You are about to use an experimental version of Autoconf.  Be sure to
read the relevant mailing lists, most importantly <address@hidden>.

Below you will find information on the status of this version of
Autoconf.

* Status

        /*--------------------------.
        | Safe for production use.  |
        `--------------------------*/
No suffix list.
Making check in .
make: Nothing to be done for `check-am'.
Making check in lib
Making check in Autom4te
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/Autom4te'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/Autom4te'
Making check in m4sugar
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/m4sugar'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/m4sugar'
Making check in autoconf
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/autoconf'
/usr/local/bin/m4 --include .                --include ../../lib         
       --include ../../lib --fatal-warning --define divert \
      autoconf.m4 2>error.log | \
  sed 's/#.*//;/^$/d' >process.log
if grep . error.log >/dev/null 2>&1; then \
  echo "ERROR: Processing autoconf.m4 produced errors:" >&2; \
  sed "s,^,autoconf.m4: ," <error.log >&2; \
  echo >&2; \
  exit 1; \
else \
  rm -f error.log; \
fi
if grep . process.log >/dev/null 2>&1; then \
  echo "ERROR: Processing autoconf.m4 produced output:" >&2; \
  sed "s,^,autoconf.m4: ," <process.log >&2; \
  echo >&2; \
  exit 1; \
else \
  rm -f process.log; \
fi
/usr/local/bin/m4 --include .                --include ../../lib         
       --include ../../lib --fatal-warning --freeze-state=autoconf.m4f \
      autoconf.m4 >freeze.log
if grep . freeze.log >/dev/null 2>&1; then \
  echo "ERROR: Freezing /usr/local/lib/autoconf.m4 produced output:"
>&2; \
  sed "s,^,autoconf.m4: ," <freeze.log >&2; \
  echo >&2; \
  exit 1; \
else \
  rm -f freeze.log; \
fi
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/autoconf'
Making check in autotest
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/autotest'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/autotest'
Making check in autoscan
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/autoscan'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib/autoscan'
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/lib'
Making check in bin
rm -f autom4te autom4te.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >autom4te.tmp
chmod +x autom4te.tmp
mv autom4te.tmp autom4te
rm -f autoconf autoconf.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoconf.in >autoconf.tmp
chmod +x autoconf.tmp
mv autoconf.tmp autoconf
rm -f autoheader autoheader.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoheader.in >autoheader.tmp
chmod +x autoheader.tmp
mv autoheader.tmp autoheader
rm -f autoreconf autoreconf.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoreconf.in >autoreconf.tmp
chmod +x autoreconf.tmp
mv autoreconf.tmp autoreconf
rm -f ifnames ifnames.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./ifnames.in >ifnames.tmp
chmod +x ifnames.tmp
mv ifnames.tmp ifnames
rm -f autoscan autoscan.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoscan.in >autoscan.tmp
chmod +x autoscan.tmp
mv autoscan.tmp autoscan
rm -f autoupdate autoupdate.tmp
sed     -e 's,@SHELL\@,/bin/sh,g'       -e
's,@PERL\@,/usr/local/bin/perl,g'       -e
's,@bindir\@,/usr/local/bin,g'  -e
's,@datadir\@,/usr/local/share/autoconf,g'      -e
's,@prefix\@,/usr/local,g'      -e 's,@autoconf-name\@,'`echo autoconf | 
sed 's,x,x,'`',g'       -e 's,@autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g'   -e 's,@autom4te-name\@,'`echo autom4te | sed
's,x,x,'`',g'   -e 's,@M4\@,/usr/local/bin/m4,g'        -e
's,@AWK\@,gawk,g'       -e 's,@VERSION\@,2.52b,g'       -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoupdate.in >autoupdate.tmp
chmod +x autoupdate.tmp
mv autoupdate.tmp autoupdate
Making check in config
make: Nothing to be done for `check'.
Making check in m4
make: Nothing to be done for `check'.
Making check in man
make: Nothing to be done for `check'.
Making check in doc
make: Nothing to be done for `check'.
Making check in tests
make  check-local
make[1]: Entering directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/tests'
autom4te_perllibdir='../lib' ../bin/autom4te \
  -I . -I .. -I ../lib \
  atspecific.m4 suite.at -o testsuite.tmp
autom4te: no such file or directory: -o
make[1]: *** [testsuite] Error 1
make[1]: Leaving directory
`/tmp_mnt/home/cfd1/home/priesnit/autoconf-2.52b/tests'
make: *** [check-am] Error 2
*** Exit 1
Stop.


>Could you try to run by hand the command that autoconf passed to
>autom4te.
I ran:

u49> configure --prefix=$HOME
...
u49> make check
...
u49> make install
...
u49> cd $SRCDIR
u49> autoconf -v
autoconf: running /home/cfd1/home/priesnit/bin//autom4te --verbose --include
/home/cfd1/home/priesnit/share/autoconf --include . --warning syntax,
autoconf/autoconf.m4f    configure.in --output configure
Unknown option: warning
u49> autom4te --verbose --include /home/cfd1/home/priesnit/share/autoconf
--include . --warning syntax, autoconf/autoconf.m4f    configure.in --output 
configure
Unknown option: warning

>And if it failed again, please, send the version of Getopt
>your perl is using.
>
>% perl -e 'use Getopt::Long; print $Getopt::Long::VERSION, "\n";'  
>2.25
2.17

Would perl recognize and use a later version of GNU getopt, if I installed it?
Sorry that I don't really know how to search for the error myself, for not being
familiar with perl at all ...

Thanks!
Andreas





reply via email to

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