The Perl package contains the Practical Extraction and Report Language.
Approximate build time: 2.9 SBU Required disk space: 143 MB |
Official download location for Perl (5.8.3):
http://www.perl.com/
For its installation Perl depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed.
Prepare Perl for compilation:
./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" |
If you want more control over the way Perl sets itself up to be built, you can run the interactive Configure script instead and modify the way Perl is built. If you think you can live with the (sensible) defaults Perl auto-detects, then just use the command listed above.
The meaning of the configure option:
-Dpager="/bin/less -isR": This corrects an error in the perldoc code with the invocation of the less program.
Compile the package:
make |
This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, you first have to create a basic /etc/hosts file, needed by a couple of tests to resolve the name localhost:
echo "127.0.0.1 localhost $(hostname)" > /etc/hosts |
Now run the tests, if you wish:
make test |
And install the package:
make install |
Installed programs: a2p, c2ph, dprofpp, enc2xs, find2perl, h2ph, h2xs, libnetcfg, perl, perl5.8.3 (link to perl), perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link to c2ph), s2p, splain and xsubpp
Installed libraries: (too many to name)
a2p translates awk to perl.
c2ph dumps C structures as generated from "cc -g -S" stabs.
dprofpp displays perl profile data.
en2cxs builds a Perl extension for the Encode module, from either Unicode Character Mappings or Tcl Encoding Files.
find2perl translates find commands to perl.
h2ph converts .h C header files to .ph Perl header files.
h2xs converts .h C header files to Perl extensions.
libnetcfg can be used to configure the libnet.
perl combines some of the best features of C, sed, awk and sh into a single swiss-army language.
perlbug is used to generate bug reports about Perl or the modules that come with it, and mail them.
perlcc generates executables from Perl programs.
perldoc displays a piece of documentation in pod format that is embedded in the perl installation tree or in a perl script.
perlivp is the Perl Installation Verification Procedure. It can be used to verify that Perl and its libraries have been installed correctly.
piconv is a Perl version of the character encoding converter iconv.
pl2pm is a rough tool for converting Perl4 .pl files to Perl5 .pm modules.
pod2html converts files from pod format to HTML format.
pod2latex converts files from pod format to LaTeX format.
pod2man converts pod data to formatted *roff input.
pod2text converts pod data to formatted ASCII text.
pod2usage prints usage messages from embedded pod docs in files.
podchecker checks the syntax of pod format documentation files.
podselect displays selected sections of pod documentation.
psed is a Perl version of the stream editor sed.
pstruct dumps C structures as generated from "cc -g -S" stabs.
s2p translates sed to perl.
splain is used to force verbose warning diagnostics in perl.
xsubpp converts Perl XS code into C code.