2pipes has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to build perl 5.24.3 under AIX 6.1 using the following config
export OBJECT_MODE=64 rm config.sh ./Configure \ -d \ -Dcc=cc_r \ -Dcc='gcc -maix64'\ -Duseshrplib \ -Dusethreads \ -Duse64bitall \ -Dprefix=/opt/freeware/
This failed on libdb.so because Configure couldn't find the lib64 directory, so I set LIBRARY_PATH=/opt/freeware/lib64 and it ran to completion
Then things got weird. make started complaining that various module Makefiles were missing. They were there, but 0 bytes. The first two times this happened I downloaded the offending modules from CPAN and expanded them into the proper build directories. There were a lot of new files, but make didn't complain. When I hit the 3rd 'No Makefile' error I did a search for all the 0 byte Makefiles thinking to get them all off CPAN at one go.
But when I got to ./ext/Devel-Peek I found that there is no such module. Can I assume this is core perl as are the other twelve 0 byte offenders in ./ext?
./ext/Devel-Peek/Makefile.PL ./ext/File-DosGlob/Makefile.PL ./ext/Hash-Util-FieldHash/Makefile.PL ./ext/Opcode/Makefile.PL ./ext/PerlIO-encoding/Makefile.PL ./ext/PerlIO-scalar/Makefile.PL ./ext/PerlIO-via/Makefile.PL ./ext/Sys-Hostname/Makefile.PL ./ext/Tie-Hash-NamedCapture/Makefile.PL ./ext/arybase/Makefile.PL ./ext/attributes/Makefile.PL ./ext/mro/Makefile.PL
So, what's my best course? Start from scratch with a fresh download of the tarball? I admit, I didn't do a checksum before proceeding. Or should I go up to 5.26 or down to 5.22 on the off chance 5.24 really is broken? I'm already in over my head. I know enough perl to get by and do the stuff I need to do and over the years I've built enough software from the generous people who provide their source code that I can usually puzzle my way through. I've grown rusty through RPMs, though.
Your Wisdom would be greatly appreciated. Even some common sense would come in handy 'bout now.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl-5.24.3 build woes
by Anonymous Monk on Apr 07, 2018 at 03:33 UTC | |
by 2pipes (Novice) on Apr 07, 2018 at 05:38 UTC | |
by Anonymous Monk on Apr 07, 2018 at 08:44 UTC | |
by 2pipes (Novice) on Apr 07, 2018 at 19:18 UTC | |
by Tux (Canon) on Apr 08, 2018 at 08:18 UTC |