in reply to Re: CPAN on AIX 6.1
in thread CPAN on AIX 6.1

Thank you VERY much for this response. I am not really hung up on CPAN itself, just seems that it needs to be built to build other modules. For example: /home/idxsys/install/Config-IniFiles-2.77 # perl Makefile.PL Can't locate Module/Build/Compat.pm in @INC (@INC contains: /usr/opt/perl5/lib/5.8.8/aix-thread-multi /usr/opt/perl5/lib/5.8.8 /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.8 /usr/opt/perl5/lib/site_perl .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. /home/idxsys/install/Config-IniFiles-2.77 # What can I do to get around this. I would prefer to not build custom versions as these are FDA regulated servers and it is VERY difficult to make these types of changes.

Replies are listed 'Best First'.
Re^3: CPAN on AIX 6.1
by Tanktalus (Canon) on Jul 13, 2012 at 14:47 UTC

    "Can't locate Module/Build/Compat.pm in @INC" - when you see things like this, try installing that module. e.g., "cpan -i Module::Build::Compat" (this should install Module::Build).

    Note that newer versions of Perl come with Module::Build already, too :-)

    Also, your custom version of perl would NOT be installed globally. It would only be for your code. And it's the same license as these other modules you're installing anyway, so it should, in theory, not be an issue. Mind you, I feel your pain - took me 2 years to get about 12 modules approved by the lawyers for redistribution, too. But just because it was the Right Thing To Do, I didn't give up the effort :-) I eventually gave them an ultimatum and got approval within a couple months after that. ("Approve these, or we don't ship.")