summaryrefslogtreecommitdiff
path: root/README.linux
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2019-05-22 13:27:32 +0300
committerKarl Williamson <khw@cpan.org>2020-03-19 10:36:53 -0600
commit9ffb844176f21e9b4627ffc83b3903bf5ac73dd8 (patch)
tree17e56e67f70e0f80d971284e463d932b3aac92b9 /README.linux
parent4fe9356b2507e805e4951a5a6c8060d7fe0a6d9b (diff)
downloadperl-9ffb844176f21e9b4627ffc83b3903bf5ac73dd8.tar.gz
Correct some grammar in README.linux and update it
Fix GH #17007 (cherry picked from commit b9677ee9a1dd1f5d79c5ab3e2e788eea65c20253) Signed-off-by: Nicolas R <atoomic@cpan.org>
Diffstat (limited to 'README.linux')
-rw-r--r--README.linux23
1 files changed, 17 insertions, 6 deletions
diff --git a/README.linux b/README.linux
index ab9e2d5f5c..4e8fd69f5a 100644
--- a/README.linux
+++ b/README.linux
@@ -11,19 +11,30 @@ perllinux - Perl version 5 on Linux systems
This document describes various features of Linux that will affect how Perl
version 5 (hereafter just Perl) is compiled and/or runs.
+=head2 Deploying Perl on Linux
+
+Normally one can install F</usr/bin/perl> on Linux using your distribution's
+package manager (e.g: C<sudo apt-get install perl>, or
+C<sudo dnf install perl>). Note that sometimes one needs to install some
+extra system packages in order to be able to use CPAN frontends, and that
+messing with the system's perl is not always recommended. One can use
+L<perlbrew|https://perlbrew.pl/> to avoid such issues.
+
+Otherwise, perl should build fine on Linux using the mainstream compilers
+GCC and clang, while following the usual instructions.
+
=head2 Experimental Support for Sun Studio Compilers for Linux OS
Sun Microsystems has released a port of their Sun Studio compilers for
-Linux. As of November 2005, only an alpha version has been released.
-Until a release of these compilers is made, support for compiling Perl with
-these compiler experimental.
+Linux. As of May 2019, the last stable release took place on 2017, and one can
+buy support contracts for them.
-Also, some special instructions for building Perl with Sun Studio on Linux.
-Following the normal C<Configure>, you have to run make as follows:
+There are some special instructions for building Perl with Sun Studio on
+Linux. Following the normal C<Configure>, you have to run make as follows:
LDLOADLIBS=-lc make
-C<LDLOADLIBS> is an environment variable used by the linker to link modules
+C<LDLOADLIBS> is an environment variable used by the linker to link
C</ext> modules to glibc. Currently, that environment variable is not getting
populated by a combination of C<Config> entries and C<ExtUtil::MakeMaker>.
While there may be a bug somewhere in Perl's configuration or