export OBJECT_MODE=64 export CC='/usr/bin/gcc -maix64' sh ./Configure -des -Dcc="$CC" -Dprefix=/usr/db/perl/5.24.4.0 (I see you are using the Korn shell. Some ksh's blow up on Configure, mainly on older exotic systems. If yours does, try the Bourne shell instead.) awk: 0602-533 Cannot find or open file ../patchlevel.h. The source line number is 1. Would you like to see the instructions? [n] Locating common programs... Checking compatibility between /usr/bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Checking for cross-compile No targethost for running compiler tests against defined, running locally Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. aix esix4 linux sco_2_3_1 aix_3 fps lynxos sco_2_3_2 aix_4 freebsd midnightbsd sco_2_3_3 altos486 freemint mips sco_2_3_4 amigaos genix mirbsd solaris_2 atheos gnu mpc stellar aux_3 gnukfreebsd ncr_tower sunos_4_0 bitrig gnuknetbsd netbsd sunos_4_1 bsdos greenhills newsos4 super-ux catamount haiku nonstopux svr4 convexos hpux openbsd svr5 cxux i386 opus ti1500 cygwin interix os2 ultrix_4 darwin irix_4 os390 umips dcosx irix_5 os400 unicos dec_osf irix_6 posix-bc unicosmk dos_djgpp irix_6_0 powerux unisysdynix dragonfly irix_6_1 qnx utekv dynix isc riscos uwin dynixptx isc_2 sco vos epix linux-android sco_2_3_0 Which of these apply, if any? [none] Operating system name? [AIX]