/boot 500 Mb / 22400 Mb /home 19500 Mb swap 21400 Mb /ark 41000 Mb /usr 11700 Mb /usr/share 10200 Mb /var 2400 Mb /tmp 1700 Mb #### $ sudo mkdir -p /rad/perl $ sudo chown -R /rad xiong:developer #### $ ./Configure -Dprefix=/rad/perl -Dusethreads #### Directories to use for library searches? [/usr/local/lib /lib /usr/lib /usr/lib64] #### What optimizer/debugger flag should be used? [-O2] #### Pathname where the public executables will reside? (~name ok) [/rad/perl/bin] #### Pathname where the private library files will reside? (~name ok) [/rad/perl/lib/5.10.1] private #### Pathname for the site-specific library files? (~name ok) [/rad/perl/lib/site_perl/5.10.1] /rad/perl/lib/cpan #### Colon-separated list of additional directories for perl to search? [none] /rad/perl/lib/more #### Do you want to install perl as /usr/bin/perl? [n] #### Where do the main Perl5 manual pages (source) go? (~name ok) [/rad/perl/man/man1] What suffix should be used for the main Perl5 man pages? [1] Where do the perl5 library man pages (source) go? (~name ok) [/rad/perl/man/man3] What suffix should be used for the perl5 library man pages? [3] #### $ make $ make test $ make install #### #!/rad/perl/bin/perl # hello-simple.pl use strict; use warnings; use feature qw(switch say state); say 'Hello, World!'; #### cpan cpan2dist cpanp cpan-run-perl #### #!/rad/perl/bin/perl eval 'exec /rad/perl/bin/perl -S $0 ${1+"$@"}' if $running_under_some_shell; #!/usr/bin/perl #### #!/rad/perl/bin/perl #### > o conf init #### Would you like me to configure as much as possible automatically? no #### Always commit changes to config variables to disk? yes #### Policy on building prerequisites ...? follow Policy on installing 'build_requires' modules ...? yes #### Parameters for the 'perl Makefile.PL' command? LIB=/rad/perl/lib/cpan INSTALLMAN1DIR=/rad/perl/man/man1 INSTALLMAN3DIR=/rad/perl/man/man3 INSTALLSCRIPT=/rad/perl/bin INSTALLBIN=/rad/perl/bin #### Parameters for the 'perl Build.PL' command? --lib=/rad/perl/lib/cpan --installman1dir=/rad/perl/man/man1 --installman3dir=/rad/perl/man/man3 --installscript=/rad/perl/bin --installbin=/rad/perl/bin #### Do you want to turn on colored output? yes #### If no urllist has been chosen yet, would you prefer CPAN.pm to connect to the built-in default sites without asking? (yes/no)? yes #### > s reconfigure #### Section to configure: : 5 Follow prerequisites? : 2 Section to configure: : 6 Makefile.PL flags? : *** #### Section to configure: : 6 Build.PL and Build flags? : $$$ #### Section to configure: : 7