Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Problems building perl on AIXby bliako (Monsignor) |
on Mar 08, 2019 at 15:15 UTC ( [id://1231055]=note: print w/replies, xml ) | Need Help?? |
Two things ring alarm in the log you posted: first, the output of sh -x Configure ...
I am not acquainted much with the output of sh -x But I assume that what follows a plus sign is a command executed in current shell and whatever commands are preceded by two-or-more plus signs were executed in sub-shells therein. For example:
whereas,
So, the output you posted has echo AIX in a sub-shell and following sed and tr commands are executed on current shell. But *if* that output
Then echo, sed, tr should have all been preceded by 2 plus signs as they are all part of one single `...`. The second alarm is that $sed is a variable which refers to some sed executable I guess. But it is worth investigating what it actually contains. Also, ./tr is not the same as tr. It probably is another script created on the fly and it is used instead of /usr/bin/tr. So, it is also worth finding out what that ./tr file contains... So, I suggest to add some debugging lines in Configure (sorry if that contradicts the other advice you got about not modifying that file, which is correct but this is special and once you sort things out you will go back to original Configure and discard any perl executable may have been produced). Something like this perhaps (untested):
bw, bliako p.s. Although the log was posted in another node of this post, I chose to create a new comment/answer to avoid clutter.
In Section
Seekers of Perl Wisdom
|
|