On 22/12/2023 03:22, Sevan Janiyan wrote:
Same test failures on OS X 10.11.
automake was included in OS X until 10.7 where it was removed.
If it's not detected, the tests are skipped. It was only going back to
10.4 that I attempted to use a new version of automake with autoconf
testing, but it looks like test #41 fails given an up to date version of
automake on OS X 10.4, 10.6, 10.11.
Went back to test 10.3 & 10.2 using the 2.72 release archive.
10.3 built fine using newer m4 as with others.
Managed to build a current version of m4 on 10.2.8 and use that
(couldn't run the test suite as couldn't build, but anyway), autoconf
got most of the through the build and failed due to File::Temp not being
available. OS X 10.3.9 has Perl 5.8.1-RC3, OS X 10.2.8 has Perl 5.6.0.
mv -f lib/autom4te.cfg-t lib/autom4te.cfg
autom4te_perllibdir='.'/lib AUTOM4TE_CFG='lib/autom4te.cfg'
bin/autom4te -B ''lib -B '.'/lib --language=M4sh
./tests/wrapper.as -o tests/wrapper.in
Can't locate File/Temp.pm in @INC (@INC contains: ./lib
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Library/Perl /Network/Library/Perl/darwin
/Network/Library/Perl /Network/Library/Perl .) at
lib/Autom4te/General.pm line 44.
BEGIN failed--compilation aborted at lib/Autom4te/General.pm line 44.
Compilation failed in require at bin/autom4te line 47.
BEGIN failed--compilation aborted at bin/autom4te line 47.
make[1]: *** [tests/wrapper.in] Error 2
make: *** [all] Error 2
I attempted to install File::Temp separately on OS X 10.2.8 but that
highlighted missing Perl modules File::Temp expected to installed as its
dependencies.
I couldn't update Perl to the current release, failed very early in the
build.
So it looks like for autoconf 2.72 on OS X, things are good from 10.3
(Panther) to 10.15 and beyond. Before 10.3 you'll need to resolve Perl
module dependencies or get something newer than v5.6.0 built. Have
touched 10.0 & 10.1, I imagine more undiscovered fun lies there.
Sevan
Sevan