OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.29.1. Installation of Perl

Prepare Perl for compilation:


sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth

sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth

The meaning of the Configure options:

-des

This is a combination of three options: -d uses defaults for all items; -e ensures completion of all tasks; -s silences non-essential output.

-Uloclibpth amd -Ulocincpth

These entries undefine variables that cause the configuration to search for locally installed components that may exist on the host system.

Build the package:


make

make

Although Perl comes with a test suite, it would be better to wait until it is installed in the next chapter. Only a few of the utilities and libraries need to be installed at this time:


cp -v perl cpan/podlators/scripts/pod2man /tools/bin mkdir -pv /tools/lib/perl5/5.30.0

cp -Rv lib/* /tools/lib/perl5/5.30.0

cp -v perl cpan/podlators/scripts/pod2man /tools/bin mkdir -pv /tools/lib/perl5/5.30.0

cp -Rv lib/* /tools/lib/perl5/5.30.0

Top OS Cloud Computing at OnWorks: