Original Message:
Sent: Mon June 03, 2024 09:04 PM
From: 孝典 祢津
Subject: How to manually install Perl's CPAN module
Thanks for your response. I'll take a look.
------------------------------
Takanori Nezu
Original Message:
Sent: Mon June 03, 2024 08:58 AM
From: Ayappan P
Subject: How to manually install Perl's CPAN module
1) Almost all standard modules from CPAN used to come with Makefile.PL. Not sure what are those modules in your case.
2) You need C compiler if the perl module has XS/C code. "perl -V" will show the compiler which will be used by perl. AIX base perl (/usr/bin/perl) uses xlc compiler whereas Toolbox perl (/opt/freeware/bin/perl) uses gcc compiler.
------------------------------
Ayappan P
Original Message:
Sent: Mon June 03, 2024 05:28 AM
From: 孝典 祢津
Subject: How to manually install Perl's CPAN module
Hi teams,
With the renewal of the AIX system, we have introduced the Perl module.
Although we have installed it based on the AIXToolkit module, there were some modules that were missing, so we are considering manual installation of additional CPAN modules.
(The Perl version introduced by AIXToolkit is 5.34.1.) )
Since this environment is not connected to the Internet, it is assumed that it will be downloaded from the CPAN site and installed manually offline.
■ Flow of introduction
(1) Unzip the file downloaded from the CPAN site
(2) Create a Makefile with perl Makefile.pl
(3) Execute the make command
(4) Preview the installation with make test
(5) Install with make install
The flow of introduction is assumed to be the above, but please check some unclear points.
- Question 1: In step (2), the Makefile.pl file does not exist in the current environment, do I need to download and install it from the CPAN site? (Please tell me the procedure in that case.) )
・Question 2: When executing the make command in step (3), is it necessary to install a separate build tool such as XLC as a prerequisite on the target server?
(Perl's Build.pl module does not exist in the current environment.) )
Thank you.
------------------------------
Takanori Nezu
------------------------------