GNU make has some extensions, which make it different from AIX make. gnupg depends on GNU make's behavior to build. If you have installed GNU make, please check GNU make has takes precedence over /usr/bin/make in PATH.
Original Message:
Sent: Thu October 19, 2023 09:16 AM
From: SHAWN LEE
Subject: Openpgp on AIX 7.3 with IBM Open XL C/C++ for AIX 17.1.0 compiler
Hi Choafan, for the reply. I'm able to get past the "cc" check, thanks for your advice. But it requires "GNU make" and also some gnu libraries...
------------------------------
SHAWN LEE
Original Message:
Sent: Tue October 17, 2023 03:39 AM
From: Chaofan Qiu
Subject: Openpgp on AIX 7.3 with IBM Open XL C/C++ for AIX 17.1.0 compiler
Hi Shawn,
Yes, we don't have 'cc' invocation now. Could you try specifying compiler path through 'CC' environment variable? For example, 'CC=/opt/IBM/openxlC/17.1.1/bin/ibm-clang ./configure'.
------------------------------
Chaofan Qiu
Original Message:
Sent: Sun October 15, 2023 09:12 AM
From: SHAWN LEE
Subject: Openpgp on AIX 7.3 with IBM Open XL C/C++ for AIX 17.1.0 compiler
Hi, good day!
I have a customer who runs AIX 7.3 with IBM Open XL C/C++ for AIX 17.1.0 compiler installed.
They need to to install Openpgp GnuPG 2.4.X, but encounter the following errors when installed, it seems to look for a suitable compiler, but the compiler available is IBM Open XL C/C++ for AIX 17.1.0 which doesn't use "cc" anymore:
root@shssappsapp81:/home/pamunixadm2003/gnupg-2.4.3# ./configure
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... powerpc-ibm-aix7.3.1.0
checking host system type... powerpc-ibm-aix7.3.1.0
configure: autobuild project... gnupg
configure: autobuild revision... 2.4.3
configure: autobuild hostname... shssappsapp81
configure: autobuild timestamp... 20231010-143224
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/pamunixadm2003/gnupg-2.4.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
root@shssappsapp81:/home/pamunixadm2003/gnupg-2.4.3# ls -la /opt/IBM/openxlC/17.1.1/bin/
total 354928
drwxr-xr-x 2 root system 4096 Sep 14 23:03 .
drwxr-xr-x 8 root system 4096 May 26 01:10 ..
lrwxrwxrwx 1 root system 15 Sep 14 23:03 .ibm-clang-cpp.orig -> .ibm-clang.orig
-rwxr-xr-x 1 root system 171802657 May 26 01:10 .ibm-clang.orig
-rwxr-xr-x 1 root system 9725506 May 26 01:10 .ibm-llvm-profdata.orig
-rwxr-xr-x 1 root system 3013 May 26 01:10 CreateExportList
-rwxr-xr-x 1 root system 76763 Jun 02 22:23 fixpkg_xlCndi
-rwxr-xr-x 1 root system 386 May 26 01:10 ibm-clang
-rwxr-xr-x 1 root system 432 May 26 01:10 ibm-clang++_r
-rwxr-xr-x 1 root system 404 May 26 01:10 ibm-clang-cpp
-rwxr-xr-x 1 root system 412 May 26 01:10 ibm-clang_r
-rwxr-xr-x 1 root system 386 May 26 01:10 ibm-llvm-profdata
-rwxr-xr-x 1 root system 78078 Jun 02 22:23 xlCndi
Anyone can help to point me to a right direction??
rgds
shawn
------------------------------
Thanks and Best Regards,
Shawn LEE M +65 93828811
Systems Technical Sales E leechs@sg.ibm.com
IBM Certified Architect
------------------------------