in reply to Re: Problem Compiling Perl 5.20.1 on AIX
in thread Problem Compiling Perl 5.20.1 on AIX
Thanks for the help!! Sory about the confusion on the regex, but it was to show that I've used several xlc aliases (c89_r, c99_r,cc_r, etc) and that I got the same results each time. I copied and pasted your example and got the following error:
List of earlier versions to include in @INC? [none] <malloc/malloc.h> NOT found. <malloc.h> NOT found. Checking to see how big your pointers are... cc: 1501-228 (W) input file undefined not found (I can't seem to compile the test program. Guessing...) What is the size of a pointer (in bytes)? [4] *** You have chosen a maximally 64-bit build, *** but your pointers are only 4 bytes wide. *** Please rerun Configure without -Duse64bitall. *** Since you have quads, you could possibly try with -Duse64bitint. *** Cannot continue, aborting.
Where do I set the size of the pointers? Also, do I need to set a env var like SHLIB_PATH? So Configure can find the malloc.h? I set the env vars as follows:
$ export OBJECT_MODE=64 $ export CC=/usr/vac/bin/c99_r
This is why I switched to using the '-Duse64bitint' flag. This is my first time I've ever used the xlc compiler and the docs from ibm seem to be incomplete. At a previous job, I compiled perl 5.12 and 5.14 with gcc on linux and only had to try it 2 to 3 times tops on the perl 5.12. I saved the env in make_opts.inc config file. Unfortunately, this an IBM shop and they won't let me have gcc, gawk, gtar, etc. I appreciate your help! Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem Compiling Perl 5.20.1 on AIX
by Tux (Canon) on Dec 05, 2014 at 19:27 UTC | |
by ChuckP (Novice) on Dec 08, 2014 at 02:46 UTC |