Re: texinfo-7.2.90 on AIX

Bruno Haible via Bug reports for the GNU Texinfo documentation system <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Organization GNU
Message-ID <21833324.0c2gjJ1VT2@nimes>
Gavin Smith wrote:
> Could you please provide the error messages from when you tried it without
> PERL_EXT_CC set?  Did it fail due to a non-existent compiler, or for another
> reason?

If PERL_EXT_CC isn't set, it apparently uses $CC instead. I get the same error:

--------------------------------------------------------------------------------
gmake[4]: Entering directory '/home/haible/texinfo-7.2.90/build-64-gcc/tta/C'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -maix64 -DHAVE_CONFIG_H -I. -I../../../tta/C  -I../../../tta/C/main -I../../../tta/C -DDATADIR=\"/home/haible/prefix64/share\" -DSYSCONFDIR=\"/home/haible/prefix64/etc\" -I../../../tta/gnulib/lib -I../gnulib/lib -I/home/haible/prefix64/include -Wall -D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES   -g -O2 -MT main/libperlcall_utils_la-xs_utils.lo -MD -MP -MF main/.deps/libperlcall_utils_la-xs_utils.Tpo -c -o main/libperlcall_utils_la-xs_utils.lo `test -f 'main/xs_utils.c' || echo '../../../tta/C/'`main/xs_utils.c
libtool: compile:  gcc -maix64 -DHAVE_CONFIG_H -I. -I../../../tta/C -I../../../tta/C/main -I../../../tta/C -DDATADIR=\"/home/haible/prefix64/share\" -DSYSCONFDIR=\"/home/haible/prefix64/etc\" -I../../../tta/gnulib/lib -I../gnulib/lib -I/home/haible/prefix64/include -Wall -D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -g -O2 -MT main/libperlcall_utils_la-xs_utils.lo -MD -MP -MF main/.deps/libperlcall_utils_la-xs_utils.Tpo -c ../../../tta/C/main/xs_utils.c  -fPIC -DPIC -o main/.libs/libperlcall_utils_la-xs_utils.o
gcc: error: unrecognized command line option '-qmaxmem=-1'
gcc: error: unrecognized command line option '-qnoansialias'
gcc: error: unrecognized command line option '-qlanglvl=extc99'
gcc: error: unrecognized command line option '-q32'
gmake[4]: *** [Makefile:3600: main/libperlcall_utils_la-xs_utils.lo] Error 1
gmake[4]: Leaving directory '/home/haible/texinfo-7.2.90/build-64-gcc/tta/C'
--------------------------------------------------------------------------------

> It would also be helpful to see the output from the configure test for whether
> XS modules work.

This configure test produced the answer "no", because it attempted to use the
'xlc_r' compiler for this task:

--------------------------------------------------------------------------------
checking whether we can build Perl extension (XS) modules... 
	rm -f  TestXS.c
	rm -rf .libs _libs
	rm -f  TestXS.la
rm -f ./so_locations
	rm -f *.o
	rm -f *.lo
Target "clean" is up to date.
	/bin/sh '/home/haible/texinfo-7.2.90/tta/perl/CheckXS/build-aux/missing' xsubpp -typemap /usr/opt/perl5/lib/5.28.1/ExtUtils/typemap ../../../../tta/perl/CheckXS/TestXS.xs > TestXS.xsc && mv TestXS.xsc TestXS.c
	/bin/sh ./libtool  --tag=CC   --mode=compile xlc_r -DPACKAGE_NAME=\"GNU\ Texinfo\" -DPACKAGE_TARNAME=\"texinfo\" -DPACKAGE_VERSION=\"7.2.90\" -DPACKAGE_STRING=\"GNU\ Texinfo\ 7.2.90\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"https://www.gnu.org/software/texinfo/\" -DPACKAGE=\"texinfo\" -DVERSION=\"7.2.90\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../../tta/perl/CheckXS  -DXS_VERSION=\"7.2.90\" -I/usr/opt/perl5/lib/5.28.1/aix-thread-multi/CORE  -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES    -
 MT TestXS_la-TestXS.lo -MD -MP -MF .deps/TestXS_la-TestXS.Tpo -c -o TestXS_la-TestXS.lo `test -f 'TestXS.c' || echo '../../../../tta/perl/CheckXS/'`TestXS.c
libtool: compile:  xlc_r "-DPACKAGE_NAME=\"GNU Texinfo\"" -DPACKAGE_TARNAME=\"texinfo\" -DPACKAGE_VERSION=\"7.2.90\" "-DPACKAGE_STRING=\"GNU Texinfo 7.2.90\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"https://www.gnu.org/software/texinfo/\" -DPACKAGE=\"texinfo\" -DVERSION=\"7.2.90\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../../tta/perl/CheckXS -DXS_VERSION=\"7.2.90\" -I/usr/opt/perl5/lib/5.28.1/aix-thread-multi/CORE -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -MT TestXS_la-TestXS.lo -MD -MP 
 -MF .deps/TestXS_la-TestXS.Tpo -c TestXS.c  -fPIC -DPIC -o .libs/TestXS_la-TestXS.o
xlc_r: 1501-208 (S) command option D is missing a subargument
make: The error code from the last command is 1.


Stop.
checking whether we can build Perl extension (XS) modules... no
--------------------------------------------------------------------------------

Find attached the log files.

Bruno
configure.log.gz (application/gzip, 48 KB) - not displayed
tta-config.log.gz (application/gzip, 34.7 KB) - not displayed
make.log.gz (application/gzip, 27.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.