cannot build libgpg-error-1.36 on AIX
Bruno Haible
bruno at clisp.org
Mon Jan 6 12:11:42 CET 2020
Hi,
I'd like to test gsasl on AIX. But gsasl requires libgcrypt, and libgcrypt
requires libgpg-error, and the latest libgpg-error [1] fails to build
on AIX 7.2. Here is the output for a 32-bit mode build with xlc:
===============================================================================
/bin/sh ../libtool --tag=CC --mode=link xlc -qthreaded -qtls -g -L/home/haible/prefix32/lib -o gen-posix-lock-obj gen-posix-lock-obj.o
../libtool[1568]: preserve_args+= --tag CC: not found
../libtool[124]: libtool_args+= -qthreaded: not found
../libtool[766]: compile_command+= -qthreaded: not found
../libtool[767]: finalize_command+= -qthreaded: not found
../libtool[768]: compiler_flags+= -qthreaded: not found
../libtool[124]: libtool_args+= -qtls: not found
../libtool[766]: compile_command+= -qtls: not found
../libtool[767]: finalize_command+= -qtls: not found
../libtool[768]: compiler_flags+= -qtls: not found
../libtool[124]: libtool_args+= -g: not found
../libtool[902]: compile_command+= -g: not found
../libtool[903]: finalize_command+= -g: not found
../libtool[124]: libtool_args+= -L/home/haible/prefix32/lib: not found
../libtool[484]: deplibs+= -L/home/haible/prefix32/lib: not found
../libtool[487]: lib_search_path+= /home/haible/prefix32/lib: not found
../libtool[124]: libtool_args+= -o: not found
../libtool[902]: compile_command+= -o: not found
../libtool[903]: finalize_command+= -o: not found
../libtool[124]: libtool_args+= gen-posix-lock-obj: not found
../libtool[130]: compile_command+= @OUTPUT@: not found
../libtool[131]: finalize_command+= @OUTPUT@: not found
../libtool[124]: libtool_args+= gen-posix-lock-obj.o: not found
../libtool[780]: objs+= gen-posix-lock-obj.o: not found
../libtool[902]: compile_command+= gen-posix-lock-obj.o: not found
../libtool[903]: finalize_command+= gen-posix-lock-obj.o: not found
../libtool[3689]: compile_command+= : not found
../libtool[3690]: finalize_command+= : not found
libtool: link: xlc
/opt/IBM/xlc/13.1.3/bin/.orig/xlc: 1501-294 (S) No input file specified. Please use -qhelp for more information.
make: 1254-004 The error code from the last command is 249.
Stop.
make: 1254-004 The error code from the last command is 1.
===============================================================================
The output for a 64-bit build with xlc and 32-bit and 64-bit builds with gcc
look similar.
Most likely this is caused by the fact that libgpg-error 1.36 include libtool
version 2.4.2. The newest libtool version is 2.4.6, and AFAIK it supports
AIX fine.
Bruno
[1] https://www.gnupg.org/download/index.html
More information about the Gnupg-devel
mailing list