ChuckP has asked for the wisdom of the Perl Monks concerning the following question:
I'm having issues compiling Perl 5.20.1 on AIX 7.1 using XL C 11. I've tried the compile directions on perlaix.perldoc.org. It keeps saying it's in 32-bit mode, even thought I've exported the
OBJECT_MODE=64and set the '-q64' in the CFLAGS variable. Here's the error message:
<stdarg.h> found. <varargs.h> found. *** WHOA THERE!!! *** Your C compiler "/usr/vac/bin/c99_r -q32" doesn't seem to support +stdarg or varargs! I'm giving up; maybe you can try again with a different compiler? 1 $ echo $OBJECT_MODE 64 $ history -5 92 ./Configure -Dcc=/usr/vac/bin/c(c|89|99)_r -Duseshrplib -Duset +hreads \ -Duselargefiles -Duse64bitint -Dprefix=/db/sched1/common/perl5 +/perl-5.20.1 \ -Dlocincpth='/usr/vac/include /usr/vacpp/include /usr/include +/usr/include/sys' \ -Dloclibpth='/usr/vac/lib /usr/lib64 /usr/local/lib64 /usr/lib +' ; echo $? => 1
If I append the the '-q64' in quotes after the cc_r, I get the same error meesage with the '-q64 before the '-q32'. I have tried compiling without the locincpth and loclibpath. PLus changing the order of the path entries. I should also mention that I'm trying to install perl in an administrative account and not as root. Any thoughts? Much Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem Compiling Perl 5.20.1 on AIX
by Tux (Canon) on Dec 05, 2014 at 06:56 UTC | |
by ChuckP (Novice) on Dec 05, 2014 at 16:06 UTC | |
by Tux (Canon) on Dec 05, 2014 at 19:27 UTC | |
by ChuckP (Novice) on Dec 08, 2014 at 02:46 UTC | |
|
Re: Problem Compiling Perl 5.20.1 on AIX
by flexvault (Monsignor) on Dec 06, 2014 at 16:42 UTC | |
by ChuckP (Novice) on Jan 09, 2015 at 03:32 UTC |