I have to confess that I got a bit stuck while building a new Perl package (version 5.24.4) on AIX 7.1. I have done this several times before on AIX, Solaris and various Linux distros, but now I have the situation that Configure hangs and I don't know why.

I've been using both, the excellent perl-build module and Configure, executed on the command prompt (ksh and bash). At the end perl-build runs in the same issue in Configure.

I have tried different combinations but this is the most trivial command I've tried

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 i +nstead.) 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 loca +lly 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]

here it hangs, apparently waiting for me hitting the 'return' button. But nothing happens.


In reply to Problems building perl on AIX by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.