On AIX 7.1, there are two problems: 1) Link errors:
xlc -g -L/home/haible/prefix32/lib -o ginfo dir.o display.o dribble.o echo-area.o filesys.o footnotes.o indices.o info-utils.o info.o infodoc.o infokey.o infomap.o infopath.o m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o tag.o terminal.o tilde.o variables.o window.o doc.o ../gnulib/lib/libgnu.a -lcurses -lintl /home/haible/prefix32/lib/libiconv.a ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. xlc -g -L/home/haible/prefix32/lib -o ginstall-info install-info.o ../gnulib/lib/libgnu.a -lintl ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. They are fixed through the attached patch. $(LIBTHREAD) is empty on most modern platforms - except AIX. 2) A build error: no fallback module for Texinfo::Parser at ../../tp/Texinfo/XSLoader.pm line 242. BEGIN failed--compilation aborted at ../../tp/Texinfo/XS/parsetexi/Parsetexi.pm line 454. Compilation failed in require at ../../tp/Texinfo/Report.pm line 45. BEGIN failed--compilation aborted at ../../tp/Texinfo/Report.pm line 45. Compilation failed in require at ../../tp/Texinfo/Convert/Converter.pm line 31. BEGIN failed--compilation aborted at ../../tp/Texinfo/Convert/Converter.pm line 31. Compilation failed in require at ../tp/texi2any line 100. BEGIN failed--compilation aborted at ../tp/texi2any line 100. make: 1254-004 The error code from the last command is 9. Find attached the log files.
diff --git a/info/Makefile.am b/info/Makefile.am index 4752a11..73c6d25 100644 --- a/info/Makefile.am +++ b/info/Makefile.am @@ -2,7 +2,7 @@ # Makefile.am for texinfo/info. # # Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, -# 2013, 2014, 2015, 2016, 2017 Free Software Foundation, Inc. +# 2013, 2014, 2015, 2016, 2017, 2018, 2019 Free Software Foundation, Inc. # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without @@ -26,7 +26,7 @@ AM_CPPFLAGS = \ -DINFODIR=\"$(infodir)\" \ -DINFODIR2=\"$(datadir)/info\" -LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(TERMLIBS) $(LIBINTL) $(LIBICONV) +LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(TERMLIBS) $(LIBINTL) $(LIBICONV) $(LIBTHREAD) EXTRA_DIST = pcterm.c diff --git a/install-info/Makefile.am b/install-info/Makefile.am index 5384f8b..9bcff71 100644 --- a/install-info/Makefile.am +++ b/install-info/Makefile.am @@ -33,4 +33,4 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/gnulib/lib \ -I$(top_builddir)/gnulib/lib \ -DLOCALEDIR=\"$(localedir)\" -LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(LIBINTL) +LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(LIBINTL) $(LIBTHREAD)
aix71-logs.tar.gz
Description: application/compressed-tar
