1PERLLINUX(1)           Perl Programmers Reference Guide           PERLLINUX(1)
2
3
4

NAME

6       perllinux - Perl version 5 on Linux systems
7

DESCRIPTION

9       This document describes various features of Linux that will affect how
10       Perl version 5 (hereafter just Perl) is compiled and/or runs.
11
12   Deploying Perl on Linux
13       Normally one can install /usr/bin/perl on Linux using your
14       distribution's package manager (e.g: "sudo apt-get install perl", or
15       "sudo dnf install perl"). Note that sometimes one needs to install some
16       extra system packages in order to be able to use CPAN frontends, and
17       that messing with the system's perl is not always recommended. One can
18       use perlbrew <https://perlbrew.pl/> to avoid such issues.
19
20       Otherwise, perl should build fine on Linux using the mainstream
21       compilers GCC and clang, while following the usual instructions.
22
23   Experimental Support for Sun Studio Compilers for Linux OS
24       Sun Microsystems has released a port of their Sun Studio compilers for
25       Linux.  As of May 2019, the last stable release took place on 2017, and
26       one can buy support contracts for them.
27
28       There are some special instructions for building Perl with Sun Studio
29       on Linux.  Following the normal "Configure", you have to run make as
30       follows:
31
32           LDLOADLIBS=-lc make
33
34       "LDLOADLIBS" is an environment variable used by the linker to link
35       "/ext" modules to glibc.  Currently, that environment variable is not
36       getting populated by a combination of "Config" entries and
37       "ExtUtil::MakeMaker".  While there may be a bug somewhere in Perl's
38       configuration or "ExtUtil::MakeMaker" causing the problem, the most
39       likely cause is an incomplete understanding of Sun Studio by this
40       author.  Further investigation is needed to get this working better.
41

AUTHOR

43       Steve Peters <steve@fisharerojo.org>
44
45       Please report any errors, updates, or suggestions to
46       <https://github.com/Perl/perl5/issues>.
47
48
49
50perl v5.36.3                      2023-11-30                      PERLLINUX(1)
Impressum